Giter Site home page Giter Site logo

waleedahmed05 / bank-management-erlang Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11 KB

Project on Bank & customer transactions processing | COMP6411

License: MIT License

Erlang 100.00%
concurrency concurrent-programming erlang management-system parrallel-computing

bank-management-erlang's Introduction

Concurrent-Customer-Bank-Loan-Managment-System-ERlang

This is a short project to demonstrate the power of ERLang concurrency.
Project- COMP6411 - Comparative Study of Programming Languages @ Concordia University, Montreal.

Introduction

This project goal is to use ERLang language to utilize user defined concurrency.
Project has two text file, one for customers and other for Banks. Program will read all customers/Banks and create a separate process for each customer/Bank.
Each customer can request a loan of maximum $50 to any random Bank. A bank can accept or reject customer loan request based on it's loan budget. Since, every customer and all banks will be running on their on process, their will be no blocking call.

Requirements or Prerequisites

Download Erlang/OTP.
Download and install any editor Notepad++ or Visual_Studio_Code
Set ERlang Path variable.

Input files.

customer.txt / "c1.txt" files contains all list of customer who wants to request loan.
bank.txt / "b1.txt" files contains all list of banks.

How to run Project?

Download project, and make sure bank.txt , customer.txt, bank.erl, customer.erl & money.erl are in same directory.
compile money.erl , bank.erl & customer.erl file to create beam file.

erlc money.erl
erlc bank.erl
erlc customer.erl

Once, all three beam files created, run this command to execute project.

erl -noshell -run money start customer_file_name.txt bank_file_name.txt -s init stop

bank-management-erlang's People

Contributors

waleedahmed05 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.