Oracle 5.0 Reference Manual page 1411

Table of Contents

Advertisement

$ memcached -I 5m
If an object is larger than the maximum object size, you must manually split it.
simple: you give it a key and some data, it tries to cache it in RAM. If you try to store more than the
default maximum size, the value is just truncated for speed reasons.
16.6.5.3: Is it true
memcached
than with db-write-intensive applications?
Yes.
plays no role in database writes, it is a method of caching data already read from the
memcached
database in RAM.
16.6.5.4: Is there any overhead in not using persistent connections? If persistent is always
recommended, what are the downsides (for example, locking up)?
If you don't use persistent connections when communicating with memcached, there will be a
small increase in the latency of opening the connection each time. The effect is comparable to use
nonpersistent connections with MySQL.
In general, the chance of locking or other issues with persistent connections is minimal, because there
is very little locking within memcached. If there is a problem, eventually your request will time out and
return no result, so your application will need to load from MySQL again.
16.6.5.5: How is an event such as a crash of one of the
client?
memcached
There is no automatic handling of this. If your client fails to get a response from a server, code a
fallback mechanism to load the data from the MySQL database.
The client APIs all provide the ability to add and remove
application you notice that
the list of servers, and keys will automatically be redistributed to another
If retaining the cache content on all your servers is important, make sure you use an API that supports
a consistent hashing algorithm. For more information, see
Distribution
Types".
16.6.5.6: What is a recommended hardware configuration for a memcached server?
has a very low processing overhead. All that is required is spare physical RAM capacity.
memcached
A
server does not require a dedicated machine. If you have web, application, or database
memcached
servers that have spare RAM capacity, then use them with memcached.
To build and deploy a dedicated
one or more Gigabit Ethernet interfaces.
16.6.5.7: Is memcached more effective for video and audio as opposed to textual read/writes?
works equally well for all kinds of data. To memcached, any value you store is just a
memcached
stream of data. Remember, though, that the maximum size of an object you can store in
is 1MB, but can be configured to be larger by using the
modifying the source in versions before 1.4.2. If you plan on using
content, you will probably want to increase the maximum object size. Also remember that
is a solution for caching information for reading. It shouldn't be used for writes, except when updating
the information in the cache.
16.6.5.8: Can
memcached
There are ports and interfaces for many languages and environments. ASPX relies on an underlying
language such as C# or VisualBasic, and if you are using ASP.NET then there is a C#
library. For more information, see https://sourceforge.net/projects/memcacheddotnet/.
16.6.5.9: How expensive is it to establish a memcache connection? Should those connections
be pooled?
memcached
will be much more effective with db-read-intensive applications
server is no longer responding, you can remove the server from
memcached
server, use a relatively low-power CPU, lots of RAM, and
memcached
work with ASPX?
1391
FAQ
servers handled by the
memcached
instances on the fly. If within your
memcached
memcached
Section 15.6.2.4,
option in
-I
memcached
memcached
is very
memcached
server in the list.
"memcached
Hashing/
memcached
1.4.2 and later, or by
with audio and video
memcached
memcached

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents