nidhi2402 / banking-syatem Goto Github PK
View Code? Open in Web Editor NEWReplicated Reliable banking system is the system based on all the accounts of the bank are replicated on three servers.
Replicated Reliable banking system is the system based on all the accounts of the bank are replicated on three servers.
Run coordinator first eg: python coordinator.py 8888 Then run servers eg: python server.py localhost:8888 8003 server3 server3.log it will create a log named server3.log in the same directory the port numbers should be different for all 3 servers logs should be named different as well eg server1 : python server.py localhost:8888 8001 server1 server1.log server2 : python server.py localhost:8888 8002 server2 server2.log server3 : python server.py localhost:8888 8003 server3 server3.log then run any number of clients and use menu to make queries eg: python client.py localhost:8888 client to check resync open log on any server and remove some lines eg: 1 101 40 2 101 10 3 101 10 4 101 20 5 101 30 6 103 40 7 103 40 8 103 40 9 103 40 10 101 30 to 1 101 40 2 101 10 3 101 10 4 101 20 it is important to keep a blank line at the end of the log or it wont work properly eg '''1 101 40 2 101 10 3 101 10 4 101 20 5 101 30 6 103 40 7 103 40 8 103 40 9 103 40 10 101 30 ''' save log after changing and on the same server terminal press Ctrl+C Then reload the log it should be updated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.