I’m thinking of building a distributed data storage with a client/server architecture. I want the client to associate keys (String) to values (byte[]), like a Map does. I want to do this in Java using sockets, threads and files.
How can i do this as simple as possible?
Thanks
To do it as simple as possible, use distributed hash table. You can implement your own, of course, but there is no easy way to do that.