Brian "Krow" Aker (krow) wrote, 2009-05-13 15:40:00 Brian "Krow" Aker krow 2009-05-13 15:40:00 Previous Share Flag Next Memcached, Speaking of Performance... I've been looking at the cost recently of fetches for libmemcached, and seeing if there was anything I could do to increase performance.What did I find? Half the cost currently is in the snprintf() sitting at the protocol sender.Half!Good news about this?If you are using the new binary protocol with Memcached this goes away completely :)snprintf() sucks. Subscribe Post Date, To The Future … Still not watching Breaking Bad... Subject says it all. Blip Blip Post a new comment Error Comments allowed for friends only Anonymous comments are disabled in this journal ramblerID We will log you in after post We will log you in after post We will log you in after post We will log you in after post We will log you in after post Anonymously switch ramblerID LiveJournal Facebook Twitter OpenId Google MailRu VKontakte Anonymously default userpic Your reply will be screened Your IP address will be recorded Post a new comment Preview comment Help 4 comments Post a new comment 4 comments
I've been looking at the cost recently of fetches for libmemcached, and seeing if there was anything I could do to increase performance.What did I find? Half the cost currently is in the snprintf() sitting at the protocol sender.Half!Good news about this?If you are using the new binary protocol with Memcached this goes away completely :)snprintf() sucks.