Закрыт

Implement a 2 phase distributed commit protocol and use controlled and randomly injected failures to study how the 2PC protocol handles node crashes.

Project :

Implement a 2-phase distributed commit (2PC) protocol and use controlled and randomly injected failures to study how the 2PC protocol handles node crashes. Assume one coordinator and at least three participants in the 2PC protocol. Similar to the

previous projects, we use multiple processes to emulate multiple nodes. Vote requests and

responses should be carried out using communications. Each node (both the coordinator and

the participants) devises a time-out mechanism when no response is received and transits to

either the abort or commit state. Design a controlled failure test to evaluate whether the

implemented 2PC protocol leads to consistent states across the coordinator and participants.

For simplicity, you can assume that only one node fails in the controlled test. Evaluate different

possibilities of failures (e.g., coordinator fails before or after sending vote-commit). To emulate a

failure, you can impose a much longer delay at a failed node than the time-out period used by

other healthy nodes. Node print their states before termination. Verify all nodes converge to the

same state regardless of the failure.

Furthermore, evaluate the 2PC protocol by randomly injecting failures to any nodes (e.g., a node

may be delayed emulating a failure with a probability at any point during execution). Verify the

terminal state to ensure consistency.

Навыки: Java, Программирование на C++, Mac OS, Архитектура ПО

Показать больше: 2 phase flow, All other text on the homepage can be lorum ipsum, focus is on the design. We want 2 different variations, please use one sloga, when to use controlled impedance, nam con son 2 phase 2, scott connection 3 phase to 2 phase conversion, cisco ise 2.1 distributed deployment, cisco ise 2.3 distributed deployment, instalasi listrik 2 phase, 2 phase stepper motor driver circuit, 2 phase stepper motor, vogel ipr 2 phase, cisco ise 2.4 distributed deployment, 3 phase to 2 phase conversion methods, 2 phase simplex method, blender 2.8 distributed rendering, effective use of information systems case study, gaur ganga 2, phase 1, sector 4, vaishali, ghaziabad, uttar pradesh, orange 400 ppr 2-phase incremental optical rotary encoder, orange 100 ppr 2 phase incremental optical rotary encoder, 2-phase brushless dc motor

О работодателе:
( 112 отзыв(-а, -ов) ) FAISALABAD, Pakistan

ID проекта: #32187091