Populating and using memcached
填充并使用 memcached
Advanced memcached client commands.
高级memcached客户机命令。
We use memcached to alleviate database load.
我们利用memcached来减轻数据库的负担。
Table 1. memcached modifying command parameters.
表1 .memcached修改命令参数。
To start memcached, execute the command in Listing 3
要启动memcached,执行清单3中的命令
Download memcached: a distributed memory caching system.
下载memcached:一种分布式内存缓存系统。
Let's build, install, and deploy memcached on Debian Linux.
让我们在Debian Linux上构建、安装和部署memcached。
Unlike XCache, you must modify your code to integrate memcached.
不同于XCache,您必须修改代码才能集成memcached。
The interface to memcached is provided over a network connection.
对memcached的接口是通过网络连接提供的。
If XCache and XDebug are turbochargers, memcached is a jet engine.
如果XCache和XDebug是涡轮增压器,那么memcached就是喷气发动机。
The two advanced commands you can use with memcached are gets and cas.
可以在memcached 中使用的两个高级命令是gets和cas。
The delete command is used to remove any existing values in memcached.
delete命令用于删除memcached中的任何现有值。
You will connect to the memcached server using a simple Telnet client.
您将使用一个简单的telnet客户机连接到memcached服务器。
To reiterate, memcached is a cache of information and not the only source.
再次重申,memcached是信息的缓存但并非惟一的数据源。
Another recent refinement added queue persistence via a memcached cluster.
另一个最新的改良通过一个memcached集群增加队列持久性。
A statically generated homepage is a very good thing and memcached is awesome.
静态生成的首页是件好东西,memcached是件了不起的东西。
It is powered by memcached, a popular distributed memory-object caching system.
它受流行的分布式内存对象缓存系统memcached支持。
The memcached server is just a cache storing values against keys over a network.
memcached服务器只是网络上针对一些键存储值的一个缓存。
Table 1 defines the parameters for and usage of the memcached modifying commands.
表1定义了memcached修改命令的参数和用法。
Many Linux distributions offer a memcached package; check your package repository.
很多Linux发行版都提供了memcached包;请查看包存储库。
The Memcache daemon, called memcached, is a high-performance distributed object cache.
名为memcached的Memcache守护程序是一种高性能的分布式对象缓存。
When using memcached, you change the application logic slightly to accommodate the cache.
在使用memcached时,为配合这个缓存,可对应用程序的逻辑进行稍许修改。
Probably the most common misuse of memcached is to use it as a data store, not as a cache.
最常见的memcached误用就是把它用作一个数据存储,而不是一个缓存。
I encourage you to install your own instance of memcached and start playing around with it.
我鼓励您安装自己的memcached实例并开始尝试使用它。
With those steps complete, you should have a working copy of memcached installed and ready for use.
完成这些步骤之后,您应该安装了一个memcached工作副本,并且可以使用它了。
You can run memcached on one or more servers, and the contents of the cache are duplicated among all nodes.
您可以在一台或多台服务器上运行memcached,并且将在所有节点之间复制缓存的内容。
An important consideration with memcached is how you organize and name the data you store within the cache.
memcached另一个需要重点考虑的因素是如何组织和命名存储在缓存内的这些数据。
You can see in both examples the same basic structure: set the memcached server, then assign or set the value.
在两个例子中可以看到相同的基本结构:设置memcached服务器,然后分配或设置值。
If you choose to leverage memcached as your caching solution, I am sure you will see just how effective it is.
如果您选择使用memcached作为缓存解决方案,那么我敢保证您可以看到它的效率如何。
Once the memcached server becomes available again, your application should automatically try to store the data.
一旦memcached服务器恢复可用,应用程序就应该自动尝试存储数据。
应用推荐