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.
8 freelances font une offre moyenne de 146 $ pour ce travail
Hello, I've complete MS Software Engineering. I've 5-Year experience in Core Python development. My Core Skills are Machine Learning and AI - Deep Learning - Tensorflow - Pytorch - OpenCV - Deep Learning - Data Analy Plus
Hi there, I am a talented python dev, and I suppose I can handle this task successfully. Please let me know more details, and Please give me your chance. I look forward to hearing from you. Plus
Hello, I read your description in detail. I have experiences at web security and can help you. I am very excited on your project, and I am ready to start work immediately. I have skills: python and Django framework Plus
Hi, there! How are you? I'm very interesting your project. I have more than 7 years of backend development experience. In recent years, I built 25+ website using the Python Frameworks and tools - Django, Flask, redis, Plus
5 STAR RATING + 100% PROJECTS COMPLETED!! Hello! I’ve viewed & understood this project & it needs the focus of experts who are working on complex projects. I am one of those! I am a Ph.D Scholar & I have won internati Plus
HhI I am experienced in and I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your replyyy
Hi There...! Note : I give you 25% off on my all services. So grabs this special limite discount offer. Let’s get to the Project. I came to know that your Looking a developer which have rich knowledge about python Plus
Hi, Greetings from Zuhair Muhammad. I'm interested in doing your work so finally would like to start work now. ' I'm ready for an interview and feel free if you have any queries and contact me anytime 24*7 will be avai Plus