memcached vs tugela

2,926 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,926
On SlideShare
0
From Embeds
0
Number of Embeds
1,061
Actions
Shares
0
Downloads
41
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

memcached vs tugela

  1. 1. Memcache : because your database will thank you http://netuality.ro
  2. 2. Spot the resemblance
  3. 3. Memcache stays quot;betweenquot; app servers and db - dumb/fast server, client quot;as smart as neededquot; image © blogs.sun.com
  4. 4. Plan for success = no panic image © www.jangro.com
  5. 5. 3 implementations: - quot;originalquot; memcached by Danga danga.com/memcached/ - tugela memcache (bdb, Wikipedia) http://tinyurl.com/26jx5e - memcachedb (bdb, replicated, student project on Google Code, unstable) - lots of contributions (Facebook, LastFM)
  6. 6. Memcached vs Tugela - quot;normalquot; conditions, enough memory - negligible overhead
  7. 7. Memcached vs Tugela - on a memory-constrained server - 100/1000 simultaneous threads (stackless Python) - ... and yet Tugela massively kicks ass
  8. 8. Tugela gotchas - “no expiry policy management” = NO PURGING, ITEMS DO EXPIRE - but project not maintained any more. Forks welcomed by the author (Domas Mituzas). PHP programmer ? - use UDP and consistent hashing implementation from PECL, truly rocks memcache.hash_strategy = consistent

×