Changes between Version 1 and Version 2 of Ticket #7639, comment 6
- Timestamp:
- Jul 2, 2014, 1:56:41 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7639, comment 6
v1 v2 3 3 In a multiprocess environment, typically such as httpd '''prefork''' mode, each forked process has its own cache object, which means the memory consumption of locmem is '''size(cache_object) * num_of_processes_forked'''. Also, in order for each process to be able to hit cache with a found value, it will first have to '''"warm"''' every cache object in each process by ''cache.set()'', consequently, hit rates is also compromised, slightly. 4 4 5 Aside from those, locmem could be a good choice for a small project that wants some level of caching with simplicity.5 Aside from those, locmem could be a good choice for a small project that wants some level of caching with simplicity. 6 6 7 7 Still, the doc should have an additional note on this, or a link to this ticket.