Arseny Kovalchuk
BAN USERThe first thing that comes into my mind, divide the object (actually an array of bytes) into the parts by 1MB modulo. You'll get say N parts. Than create the memcache keys like _objectKey_Npart_Ntotal_ and put to the memcache each part of the array with the appropriate key. Also you need to create another level of abstraction (get and set methods) around memcache and encapsulate the logic above inside it
- Arseny Kovalchuk October 13, 2016Sorry, this is also my post ), it just was delayed to appear and I posted another next comment below, but I've signed in.
- Arseny Kovalchuk October 13, 2016If I can assume that the "time server" can be customizible, I'd extent it to be an observer. When a server (listener) wants to sync a time, when it loads, it tries to register itself on the time server. Time server responds with the time and the next timestamp of the syncronization (optional). So the time server holds the list of the servers that want to sync the time and periodically sends time sync requests to the list of servers (can be done in parallel). If the time server doesn't receive response from a server (unreachable server) it removes the server from the list. And the next time the broken server starts, it will register itself again on the time server.
- Arseny Kovalchuk October 13, 2016
RepClariceWright, abc at 8x8
I am a passionate and dedicated travel agent whose mission is to turn travel dreams into reality. I am crazy ...
RepEllaWilliams, Analyst at A9
I am a perceptive systems analyst adept at designing innovative IT solutions and enhancing existing systems with new features. I ...
RepDorothySanders, Accountant at Amazon
Hello, I am an Engineering manager. I love my work. I also love to read news articles related to the ...
RepMixMaster, abc at A9
I am mixmaster , a compassionate and dedicated Addictions Nurse with a deep understanding of the intricate challenges associated with addiction ...
It will be more robust if we store the meta information by the original key
should return the meta information = N parts. Than you request each part by _objectOne_Npart_Ntotal (actually Ntotal not neccessary if we store metainformation by the original key) and combine that and return from the wrapped implementation
- Arseny Kovalchuk October 13, 2016