Brian "Krow" Aker (krow) wrote,
Brian "Krow" Aker
krow

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.
pastedGraphic.tiff

Subscribe
  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments