Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Memcached


  
  Distributed Caching with Memcached | Linux Journal
The trick to Memcached is that for a given key, it needs to pick the same Memcached node consistently to handle that key, all while spreading out storage (keys) evenly across all nodes.
The first layer is implemented in the client library; it decides which Memcached server to send the request to by hashing the key onto a list of virtual buckets, each one representing a Memcached server.
Memcached's big claim is that it's faster than a database, which may well be true.
www.linuxjournal.com /article/7451   (3525 words)

  
 Memcached - Wikipedia, the free encyclopedia
memcached is open source and released under a BSD license.
Memcached lacks authentication and security features, meaning it should only be used on servers with a firewall set up appropriately.
An alternative approach would be to invalidate the cache with the memcached delete function, so that subsequent fetches result in a cache miss.
en.wikipedia.org /wiki/Memcached   (471 words)

  
 Memcahed :: a shot at documenting the super cool cache
Memcached represents the user with a dictionary interface but instead of a one way hash function it represents a two way hash.
In Memcached the classes are decided on the size of the object.
As the cache is filled in initially, memcached allocates chunks of 1Mb of memory to a class whenever it needs to store a new item.
semanticvoid.com /pages/memcached.html   (998 words)

  
 MySQL Performance Blog » APC or Memcached
MemcacheD is relatively slow but distributed and so you do not waste memory by caching same item in a few places, it is also faster to warmup as you need only one access to bring item into the cache, not access for each of web servers.
Memcached is good for caching things which take large amount of space combined and which you only need to fetch few per page.
You’d develop a wrapper class for the memcached api that allows you to define in which mode the cache should operate for a fetch/insert.
www.mysqlperformanceblog.com /2006/09/27/apc-or-memcached   (1228 words)

  
 AnnoCPAN - Cache::Memcached   (Site not responding. Last check: 2007-10-14)
This is the Perl API for memcached, a distributed memory cache daemon.
You may prefer, for example, to keep all of a given user's objects on the same memcache server, so you could use the user's unique id as the hash value.
These keys are the values passed to the 'stats' command issued to the memcached server(s), except for 'self' which is internal to the $memd object.
www.annocpan.org /~BRADFITZ/Cache-Memcached-1.14/Memcached.pm   (757 words)

  
 Implementing memcached API into Drupal Core? | drupal.org   (Site not responding. Last check: 2007-10-14)
Memcached seems very easy to setup and has a server and client available for both *nix and Win32 making it very accessible.
There might be still issues with how applicable a memcached solution is for Drupal users using shared hosting services that do not offer a memcached server, but with the VPS options becoming more affordable all the time there are alternative hosting solutions.
The performance gains offered by memcached should be especially relevant for small~medium sites that due to budgets (or lack of them) are restricted to using a single VPS for the webserver and MySQL.
drupal.org /node/63783   (2811 words)

  
 gmane.comp.web.cache.memcached
For example, this behaviour is present when memcache is using 80 MB out of a maximum quota of 256.
We are using version 1.2.0 of memcached, and this is the command line used for starting the daemon: /usr/bin/memcached -d -p 11211 -l 10.1.2.3 -m 256 -c 1024 -u nobody I have made a small test program that exposes this behaviour, it is attached below.
Note that this only happens when the webserver daemons are actively using the cache, when we run the script with another memcached instance that has no other clients, the keys persist in the cache as expected.
blog.gmane.org /gmane.comp.web.cache.memcached   (1135 words)

  
 PHP: Memcache Functions - Manual
Memcache module provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications.
The constructor takes an array of arrays, with each inner array representing a server, with a 'server' (string) attribute that is the IP addres or host name of the memcached server, and a 'port' (int) attribute that is the port number on which memcached is running on the server.
All of the existing memcached API functions are implemented except getStats() and getVersion(), which are server-specific.
www.php.net /memcache   (682 words)

  
 Memcached startup files for Red Hat (RHEL) - Dev411: The Code Wiki   (Site not responding. Last check: 2007-10-14)
Memcached is a distributed memory cache server originally desiged for LiveJournal.
Memcached is open source and available on the Danga site (http://www.danga.com/memcached/).
# # chkconfig: - 80 12 # description: memcached is a high-performance, distributed memory # object caching system, generic in nature, but # intended for use in speeding up dynamic web # applications by alleviating database load.
www.dev411.com /wiki/Memcached_startup_files_for_Red_Hat_(RHEL)   (321 words)

  
 Hermes Memcached Virtual Appliance - VMTN Virtual Appliances   (Site not responding. Last check: 2007-10-14)
The default memcache daemon's parameters are printed in a message on the screen after startup.
Memcached has only a few command line parameters that are passed to it.
You will need to use a memcached client from one of your applications to interact with the memcached daemon (to check if something is in the cache and to put things into the cache).
www.vmware.com /vmtn/appliances/directory/384   (750 words)

  
 Initial build of Win32 memcached available... (CTOForADay.com)
memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
The reason memcached doesnt respond to socket events seems to be a problem with libevent.
There are still some problems with the memcache part of it that are preventing a successful transaction.
www.ctoforaday.com /archives/000039.html   (933 words)

  
 Debian -- libmemcache0
memcached optimizes specific high-load serving applications that are designed to take advantage of its versatile no-locking memory access system.
Danga Interactive developed memcached to enhance the speed of LiveJournal.com, a site which was already doing 20 million+ dynamic page views per day for 1 million users with a bunch of webservers and a bunch of database servers.
memcached dropped the database load to almost nothing, yielding faster page load times for users, better resource utilization, and faster access to the databases on a memcache miss.
packages.debian.org /unstable/libs/libmemcache0   (225 words)

  
 memcached Basics for Rails | Ruby on Rails for Newbies   (Site not responding. Last check: 2007-10-14)
Memcached is a lightweight server process that stakes out a fixed amount of memory and makes it available as a quick access object cache.
Memcached is only useful for a dedicated server or a VPS that has sufficient memory available.
Memcached is only going to be useful for your db queries when displaying that same dataset mulitple times.
nubyonrails.com /articles/2006/08/17/memcached-basics-for-rails   (1482 words)

  
 Not enough random bytes available | Adding Memcached Support to TurboStan   (Site not responding. Last check: 2007-10-14)
In order to support both the internal dictionary cache or the memcache, I created a new class that provides the memcache API for a dictionary and allows you to select one mode or the other.
Anyway, subjective performance was actually marginally slower, but the point of memcached isn't performance but rather scalability (a different thing altogether athough confused by some).
And besides, cache coherence is what I was really after (I have methods for destroying cache entries, but in a cluster only one backend would receive the instruction to destroy a cache entry, leaving the other instances with outdated objects in their caches).
blog.develix.com /frog/user/cliff/article/2006-08-30/38   (474 words)

  
 Cache::Memcached - client library for memcached
That is, if you set namespace to ``app1:'' and later do a set of ``foo'' to ``bar'', memcached is actually seeing you set ``app1:foo'' to ``bar''.
Runs the memcached ``flush_all'' command on all configured hosts, emptying all their caches.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
cpan.uwinnipeg.ca /htdocs/Cache-Memcached/Cache/Memcached.html   (879 words)

  
 Linux Magazine - Features | LAMP Post | Optimizing PHP, Part One
Available under the BSD license, memcached was originally written by Brad Fitzpatrick for LiveJournal and is available for download from http://www.danga.com/memcached/.
Before installing memcached, download and install libevent (the latest version is available from http://www.monkey.org/~provos/libevent/) with the usual./configure&&make&&make install sequence.
This starts memcached as a daemon (–d) on the IP address and port specified with –l and –p, respectively, running as the user nobody (–u), allocating 32 MB for object storage (–m).
www.linux-mag.com /content/view/2586   (753 words)

  
 memcached for Win32
The win32 version of memcached can be run both as a NT Service or from the command line.
memcached and it's icon artwork are owned by Danga Interactive.
The Win32 port of memcached is not supported by the official memcached team and it should not yet be used in production environments.
jehiah.cz /projects/memcached-win32   (249 words)

  
 IDEA: Hierarchy of caches for high performance AND high capacity memcached
Memcached does an amazing job as it is but there's always room for improvement.
The third component in the is a distributed memcached daemon which uses Berkeley DB (or another type of persistent hashtable) for storage instead of the normal slab allocator.
Since memcached is amazingly fast this really hasn't shown up in any of my benchmarks but this would really hinder a disk-backed memcached.
www.feedblog.org /2006/10/idea_hierarchy_.html   (1391 words)

  
 LinuxForSuits — Unusual Suspects
Listening on a network socket and utilizing very simple parameters to instrument memory allocation, memcached maintains an in-memory dictionary of keys that is dynamically populated with values.
However, memcached can store any bytes that can be used interoperability; one cache client implemented in Java can access and read a cached XML document stored by another client written in Perl, Python or PHP.
In other words, tools like Memcached and Spread are part of a larger conversation, and a larger set of relationships, than a corporate customer like Technorati would get from a commercial vendor.
www.searls.com /linuxforsuits/lfs-dec04_unusual_suspects.html   (2141 words)

  
 FreshPorts -- databases/memcached
Apply performance patch to memcached to reduce latency when a response is being sent over two packets.
Please to be reading the 20040314 entry in /usr/ports/CHANGES regarding importing of ports into the tree that require the use of GNU autotools.
Add memcached: a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
www.freshports.org /databases/memcached   (441 words)

  
 Python Cheese Shop : memcached 1.34   (Site not responding. Last check: 2007-10-14)
This is a fork of the Danga memcached module for Python.
Memcached is a high-performance daemon which can run on multiple systems and cache database queries and other data to improve performance.
This is a fork of the code written by the folks at Danga (the authors of memcached).
cheeseshop.python.org /pypi/memcached   (135 words)

  
 Real Life, beta version
The charts drawn by these templates are based on data extracted by the execution of memcached client scripts.
In my opinion, there is a simple way, which consists in installing a memcached client on all the memcached servers, then extracting the statistical values using a script.
The memcached statistics will be displayed in the same order, but only their values not their names.
jroller.com /page/aspinei?entry=monitoring_memcached_with_cacti   (524 words)

  
 Fastest languages for memcached
The application will be mostly working with memcached, so, that was the focus of my tests.
The original client for memcached was written in Perl by the folks at Danga Interactive.
According to a post on the memcached list, the Perl client is being rewritten.
dealnews.com /developers/memcached.html   (786 words)

  
 memcached-client: a php client for danga's memcached server
memcached-client-php is a (the?) PHP client that connects to memcached servers.
It makes use of (p)fsockopen, and performs its reads and writes using the standard fgets, fread, and fwrite.
It also provides a run_command method that will pass any command back to the memcached server and return the output from the command in an array of strings.
phpca.cytherianage.net /memcached   (173 words)

  
 Riding Rails: Caching models with memcached
And from what I’ve read about memcached, it’s the sort of thing you want to run on every server along with your database and http daemon.
This is actually two levels of caching as well – a local in-ruby-process cache, and a memcached cache.
I’d like to just use the memcached one at some point, as it’s supposed to be wicked fast anyways.
weblog.rubyonrails.org /2006/1/20/caching-models-with-memcached   (654 words)

  
 memcached: a distributed memory object caching system
Because a 32-bit process can only address 4GB of virtual memory (usually significantly less, depending on your operating system), if you have a 32-bit server with 4-64GB of memory using PAE you can just run multiple processes on the machine, each using 2 or 3GB of memory.
If the memcache returns an undefined object, then go to the database, get what you're looking for, and put it in the memcache:
In fact, it's recommended you run both web nodes (which are typically memory-lite and CPU-hungry) and memcached processes (which are memory-hungry and CPU-lite) on the same machines.
www.danga.com /memcached   (1062 words)

  
 MemCached in Ruby on Rails   (Site not responding. Last check: 2007-10-14)
Rails can use memcache to store cache fragments and also as a session store.
The memcached server, when running under OS X 10.3 and 10.4 (all releases), due to the fubared OS X implementation of kqueue, needs to be patched and recompiled and also needs to be started in a special way, otherwise the response time will be 200 ms for each query.
Same thing with memcached – but you must remember to patch it correctly.
wiki.rubyonrails.com /rails/pages/MemCached   (266 words)

  
 gmane.comp.web.cache.memcached
This would allow secure local-server installation of memcached on multi-user servers.
Patch included for perl client and the memcached daemon itself, others should be similarly easy to implement.
Patch > included for perl client and the memcached daemon itself, others should > be similarly easy to implement.
comments.gmane.org /gmane.comp.web.cache.memcached/1658   (292 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.