Developing a memcached Application-opracowanie

Nasza ocena:

3
Wyświetleń: 287
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Developing a memcached Application-opracowanie - strona 1

Fragment notatki:

Developing a memcached Application
A number of language interfaces let applications store and retrieve information with memcached
servers. You can write memcached applications in popular languages such as Perl, PHP, Python,
Ruby, C, and Java.
Data stored into a memcached server is referred to by a single string (the key), with storage into the
cache and retrieval from the cache using the key as the reference. The cache therefore operates
like a large associative array or hash table. It is not possible to structure or otherwise organize the
information stored in the cache. To emulate database notions such as multiple tables or composite
key values, you must use encode the extra information into the strings used as keys. For example, to
store or look up the address corresponding to a specific latitude and longitude, you might turn those
two numeric values into a single comma-separated string to use as a key.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz