A Centralized Multi-User Concurrent Bank Account Manager (Multithreading, Synchronization, Mutex)
Автор: Dayuan Tan
Загружено: 2021-11-10
Просмотров: 332
Описание:
The system has two important components:
Bank Server: The server program that services online requests for account manipulations and maintains all customer records correctly.
Clients: Customers are clients of the bank server and use its services to update bank accounts. The operations that can be performed on an account are: withdrawl of an amount from an account and deposit of an amount into an account. Additionally, the bank server can have it's own service that periodically deposits an interest amount to each account based on some fixed rate.
Full requirement file is here: http://lass.cs.umass.edu/~shenoy/cour...
My implementation includes five phases:
1. Phase 1 (Version 1): Socket programming (without multithreads).
2. Phase 2 (Version 2): Add multithreads on Phase 1.
3. Phase 3 (Version 3): Add mutex (lock) on each account at server side Phase 2. (Add account initialization functions first.)
4. Phase 4 (Version 4): Add other necessary operation functions. Complete.
Write a gen_transactions_file.cpp file to generate high volume transactions.
read transactions
withdraw / deposit
5.Phase 5 (Version 5): Tailor for scalability.
Remove client ternimate input request
Add bash script to launch multiple ./client parallelly
Count time for each transaction
Conduct experiments for scalability
Github: https://github.com/DayuanTan/Distribu...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: