Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A bug was discovered in Canvas where the website crashes if 2 or more students are writing a discussion post at the same time. It's

A bug was discovered in Canvas where the website crashes if 2 or more students are writing a discussion post at the same time. It's the weekend and Canvas support is unavailable. The entire class needs to submit a discussion post but the system keeps crashing. Use your creativity and implement a system that ensures only one student is writing a discussion post at any given time. Describe in detail which tools, communication methods, and safeguards are used to ensure the following:

Guarantee mutual exclusion: Only one student may be writing in canvas at any given time.

Prevent lockout: A student not attempting to write a post must not prevent other students from writing a post.

Prevent starvation: A student must not be able to repeatedly come back and edit their post while other students are waiting to write.

Prevent deadlock: Multiple students trying to write a post at the same time must not block each other indefinitely.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

1. Ask students to include a rationale for their selections.

Answered: 1 week ago