Four browsers display an earlier message saying that a workshop has five seats available. The booking server's authoritative record initially also contains five available seats. It processes the four requests in the table's order, completing each decision and stored update before starting the next request.
For every request, the server accepts the entire requested group only if enough seats remain. It then subtracts that group's size. Otherwise, it rejects the request without booking any seats. A rejection leaves the stored seat count unchanged. There are no cancellations or other requests.
Enter exactly accept or reject for each decision, and the exact integer number of seats remaining immediately afterward.
Unlock full course notes by signing up
Find the limiting service resource
A catalogue server has six independent processing workers. Each worker handles one request at a time and requires exactly 25 ms25\ \text{ms}25 ms of processing per request. Every completed request produces one 16.0 kB16.0\ \text{kB}16.0 kB response. The server's outgoing link has a usable response-data budget of 2.40 MB/s2.40\ \text{MB/s}2.40 MB/s.
Processing and response transfer can overlap for different requests, and workers are released before transfer begins. Ignore request traffic, additional message overhead, and all other resource limits. Use decimal units: 1 kB=10001\ \text{kB}=10001 kB=1000 bytes and 1 MB=1061\ \text{MB}=10^61 MB=106 bytes.
Calculate the processing-only capacity ceiling, the outgoing-link capacity ceiling, and the joint capacity ceiling. Give all three in requests per second, to the nearest whole request per second. These are ideal upper bounds, not guarantees of short waiting times.
Measure the traffic saved by server selection
A stock-monitoring application has 80 clients. During one hour, each client refreshes exactly 15 times. Every refresh uses one 150-byte request and one response containing 250 bytes of additional message information plus its records. Each encoded record occupies 500 bytes.
In the current design, the server returns all 120 records on every refresh, and the client selects the 12 matching records to display. In a proposed design, the server performs the selection and returns only those same 12 matching records. Request size and additional response information remain unchanged.
Count application traffic as the combined request and response bytes across all clients. Ignore connection setup, lower-level network information, retries, and caching. Use 1 MB=106 bytes1\ \text{MB}=10^6\ \text{bytes}1 MB=106 bytes.
Reason about a missing response and a retry
A purchasing application sends a request to create an order but receives no response before its configured waiting limit. The connection could have failed before delivering the request or after the server saved the order; no further evidence is available. The server creates and saves a new order for each delivered request, without checking whether it repeats an earlier request.
Which conclusions are justified? Select all that apply.