Build a TCP key-value server in C++ supporting SET, GET and DEL.
Unlock detailed company stats for this questionUpgrade
Build a TCP key-value server in C++ that maintains an in-memory store and supports SET, GET and DEL commands, returning an appropriate error for invalid commands.
Example commands: SET user:32 alvida; GET user:32; DEL user:32. SET stores the value, GET retrieves it, DEL deletes the key.
Follow-ups: introduce a proxy between the client and the server that forwards requests and responses transparently; then replace the single backend server with multiple backend servers behind a load balancer that distributes requests among them.
Expect follow-ups like
- Introduce a proxy between the client and the server that forwards requests and responses transparently.
- Replace the single backend server with multiple backend servers and implement a load balancer that distributes requests among them.
Community answers
No answers contributed by the community yet.
Related questions
Build a key-value store supporting add, update and delete operations.Build a TCP chat server.Related courses

Course

