Hello Java Software Architects, Designers and Developers, it's your time now!!!!!
Hello everyone, i had come across some requirements to be implemented as a Java application by one of the known person. Immediately i thought that i could post it in my blog to let you know about it and your perspective about the design and solution. It would be great if you could provide your thoughts and solutions for the same. It provides great interactive session which automatically lead to emerge great solutions. I hope all Solution architects, Designers and Developers will pay heed to my post and provide efficient solutions.
Below are the requirements.
- You can not use ready-made solutions (Redis, Memcached and so on)
The storage must allow:
-- to set the value of the key,
-- to read the value of the key,
-- to delete the key,
-- and also to get a list of all keys that have values.
Preferably:
- The storage must support several simultaneous connections.
- The ability to send several commands through one connection (for example, without reconnection, request a list of all the keys and the value of each).
Besides the server, also need to implement 2 clients (web and cli), which allow sending all commands to the storage (set/read/delete the key, get a list of all the keys).
If the server implements the sending of several commands in one connection, then the client must support it.
Hope i get a good response. Have a great day!
Below are the requirements.
Requirements
Implement a network-accessible in-memory key-value storage (server). "In-memory" means that all data (key-value pairs) should be stored in memory and disappeared when the storage is restarted.- You can not use ready-made solutions (Redis, Memcached and so on)
The storage must allow:
-- to set the value of the key,
-- to read the value of the key,
-- to delete the key,
-- and also to get a list of all keys that have values.
Preferably:
- The storage must support several simultaneous connections.
- The ability to send several commands through one connection (for example, without reconnection, request a list of all the keys and the value of each).
Besides the server, also need to implement 2 clients (web and cli), which allow sending all commands to the storage (set/read/delete the key, get a list of all the keys).
If the server implements the sending of several commands in one connection, then the client must support it.
Hope i get a good response. Have a great day!
Comments
Post a Comment