DIS Project – Blackjack Membership and job distribution –R 陳冠宇 client, game process –R 凌宇 server, game UI –R 謝昇穎 DB communicate
Introduction assign servers (primary and backup) login system group membership (create or join) start poker game –leader election to decide a coordinator –a round game –one by one logout system exit
Fault tolerant About architecture –DB use primary and backup –Server primary and backup for one node or group –scalable the server can be assigned About game process –allows pure player crash or disconnect, game continue –if coordinator crash, the game over
Key issue Group consistency –card view –player state Error detection –disconnect detect –how often Our solution –Java RMI : event driven –Multithread