Changeset 85
- Timestamp:
- 08/08/03 23:48:35 (5 years ago)
- Files:
-
- trunk/website/index.bml (modified) (1 diff)
- trunk/website/memcached.look (modified) (1 diff)
- trunk/website/news.bml (modified) (2 diffs)
- trunk/website/users.bml (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/website/index.bml
r62 r85 38 38 <p>Regardless of what database you use (MS-SQL, Oracle, Postgres, MysQL-InnoDB, etc..), there's a lot of overhead in implementing <a href="http://www.wikipedia.org/wiki/ACID">ACID</a> properties in a RDBMS, especially when disks are involved, which means queries are going to block. For databases that aren't ACID-compliant (like MySQL-MyISAM), that overhead doesn't exist, but reading threads block on the writing threads.</p> 39 39 <p><?memd?> never blocks. See the "Is memcached fast?" question below.</p> 40 41 <?h1 What about shared memory? h1?> 42 43 <p>The first thing people generally do is cache things within their 44 web processes. But this means your cache is duplicated multiple 45 times, once for each mod_perl/PHP/etc thread. This is a waste of 46 memory and you'll get low cache hit rates. If you're using a 47 multi-threaded language or a shared memory API (IPC::Shareable, etc), 48 you can have a global cache for all threads, but it's per-machine. It doesn't scale to multiple machines. 49 Once you have 20 webservers, those 20 independent caches start to look 50 just as silly as when you had 20 threads with their own caches on a 51 single box. (plus, shared memory is typically laden with limitations)</p> 52 53 <p>The <?memd?> server and clients work together to implement one 54 global cache across as many machines as you have. In fact, it's 55 recommended you run both web nodes (which are typically memory-lite 56 and CPU-hungry) and memcached processes (which are memory-hungry and 57 CPU-lite) on the same machines. This way you'll save network 58 ports.</p> 40 59 41 60 <?h1 What about MySQL 4.x query caching? h1?> trunk/website/memcached.look
r27 r85 13 13 <?link download.bml|Download link?> 14 14 <?link apis.bml|Client APIs link?> 15 <?link users.bml|Users link?> 15 16 <?link http://lists.danga.com/mailman/listinfo/memcached|Mailing List link?> 16 17 </div> trunk/website/news.bml
r79 r85 4 4 5 5 <?h1 News h1?> 6 7 <p><b>2003-08-08:</b> We now have <a href="apis.bml">Python support</a>.</p> 6 8 7 9 <p><b>2003-07-29:</b> Version 1.1.8 <a href="download.bml">released</a>. … … 11 13 href="download.bml">released</a>. Many great changes.</p> 12 14 13 <p><b>2003-06-16:</b> PHP supportnow included.</p>15 <p><b>2003-06-16:</b> <a href="apis.bml">PHP support</a> now included.</p> 14 16 15 17 <p><b>2003-06-15:</b> Autoconf support added in <a
