You are building a Restaurant Reservation System where clien…
You are building a Restaurant Reservation System where clients can: Make a reservation (date, time, party size, customer name) Cancel a reservation by reservation ID Check availability for a given date and time List all reservations for a customer Design a JSON-based protocol for “Make reservation” and “Cancel reservation” operations. Use the structured style we practiced (explicit fields, clear request/response design). Your design must include: A clear structure to distinguish different request types The request format for both operations A success response format for both An error response format Additionally: Explain how a client can reliably distinguish between successful and failed responses List at least three distinct error cases (one for each request) and show how each would be represented in your protocol
Read DetailsYou implemented communication using JSON, Protocol Buffers (…
You implemented communication using JSON, Protocol Buffers (.proto), and gRPC. Compare these approaches. Describe one key difference in how communication is handled Explain one advantage of each approach Give one concrete scenario where you would prefer one over the others
Read DetailsYou are designing a protocol for a Task Assignment System. C…
You are designing a protocol for a Task Assignment System. Clients should be able to: Create a task with a description and priority (LOW, MEDIUM, HIGH) Assign a task by ID to a team member Add person to team by name List all team members Design a JSON-based protocol for the operations “create task” and “assign task”. Use the structured style we practiced (explicit fields, clear request/response design). Your design must include: A clear structure to distinguish different request types The request format for both operations A success response format An error response format Additionally: Explain how a client can reliably distinguish between successful and failed responses List at least three distinct error cases (at least one for each request) and show how each would be represented in your protocol
Read DetailsYou deployed your server to AWS on port 8080. The server is…
You deployed your server to AWS on port 8080. The server is running, but your local client can’t connect. You verified: Server is running (gradle runNode shows no errors) Server is listening on port 8080 You’re using the correct AWS public IP What are the most likely issues and how do you find out what it is and how to fix it?
Read Details