Regarding Memcache deepest level

2017-07-22 Thread Awanish kumar gupta
Hi team, Currently I am working in Amazon as a SDE. I want to know memcache at deepest level as much as I can. I found this link (https://www.adayinthelifeof.nl/2011/02/06/memcache-internals/) but it was not at that much deep as I want. I want to know how it stored key-value, like: simple hashi

Re: Regarding Memcache deepest level

2017-07-22 Thread dormando
I thought there were people who worked on memcached at amazon? Can you ask them? If you want to truly understand it you'll have to go through the sources, unfortunately. In the github repo there're some files in doc/ that give high level context to how the LRU works and so forth. There's some hig

Re: Regarding Memcache deepest level

2017-07-30 Thread Awanish kumar gupta
Ok, I will ask to them but one basic question that have is "Since memcache is distributed cache system, It try to get data from other server, So isn't time to get data from other server's RAM will be more than to read from current server's hard-disk". I know there is no data on current server's har

Re: Regarding Memcache deepest level

2017-07-30 Thread dormando
Depends on the drive and how often you're accessing the data. You can fetch keys from a memcached server by the millions per second. no disk device can do that yet. You can also write faster without wearing out the device. and, fundamentally, the point of it being over the network is to avoid hav