You are here: unclear on memcached ? « PHP Programming Language « IT news, forums, messages
unclear on memcached ?

Posted by surfivor on 03/16/07 00:59

I understand that memcached can store objects on different servers
using hashing, and I've seen typical things such as storing query
results.

Say at line 100 in module 'A', I want to render some content so I
check the memcache. If previously I had rendered this from this same
line of code and it's in the cache, then I use that. However, what if
module B changed one of the records on the database and that was in
the cache ? It must be up to me to have a scheme worked out that I
will delete the object from the cache that is referenced from module A
because I changed the database.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация