89576

89576



Using MySQL and memcachedwith Python

The Python memcachemodule interfaces to memcachedservers, and is written in pure Python (that is,

without using one of the C APls). You can download and install a copy from Python Memcached.

To install, download the package and then run the Python installer:

python setup.py install running install running bdist_egg running egg_info

creating python_memcached.egg-info

removing 'build/bdist.Iinux-x86_64/egg’ (and everything under it)

Processing python_memcached-l.43-py2.4.egg

creating /usr/lib64/python2.4/site-packages/python_memcached-l.43-py2.4.egg Extracting python_memcached-l.43-py2.4.egg to /usr/lib64/python2.4/site-packages

Adding python-memcached 1.43 to ea3y-install.pth file

Installed /usr/lib64/python2.4/site-packages/python_memcached-l.43-

py2.4.egg

Processing dependencies for python-memcached==l.43

Finished processing dependencies for python-memcached==l.43

Once installed, the memcachemodule provides a class-based interface to your

memcachedservers.

When you storę Python data structures as memcacheditems, they are automatically serialized (turned

into string values) using the Python cPickleor piekle modules.

To create a newmemcacheinterface, import the memcachemodule and create a new instance of the

memcache.ClientcIass. For example, if the memcacheddaemon is running on localhost using the default port



Wyszukiwarka

Podobne podstrony:
Using MySQL and memcached with Ruby There are a number of different modules for interfacing to memca
Using MySQL with memcached memcachedis a simple, highly scalable key-based cache that Stores data an
Using MySQL Proxy There are a number of different ways to use MySQL Proxy. At the most basie level,
43918 The Knitters Bible7 BERET This prctty beret is knitted in three sizes to fit a child and a sm
tely and in a very short tims to cover the subjects which belong to a separate subject. Ws have in o
Real Poynting vector Because of its importance this vector ExH is called the Poynting Vector and is
Dual variable power supply project using LM317 and LM337(1) AC in Fuse Transformer   &nbs
The Knitters Bible9 This shimmering cvcning bag is knitted in lurcx and for added glitz liny bronzc
00214 5151d685820d3809856989a212338cd 216 Baxley Introduction The usual assumption underlying stati
usage in New Zealand. A less detailed overview of the NZ table of radio spectrum allocations is give
wheel Wheel construction Outside edge of wheel has a "crown" to it. Wheel is wider in the
Internals and Portability: •    Written in C and C++. •    Tested with
THE SHOPPER BAG If your shopping bag is looking in need of some TLC, give it a new lease of life wit
another can be identified at the zonę of maximal plastic deformations. It is exactly in this zonę wh
Preface The present periodical „ Excerpta Yeterinaria Lublin ” is published in order to acąuaint the
INTRODUCTION The current issue of “National Security Studies” is smaller in size than previously, si
should havc rcturned to Manihiki by now, ZK1BM closcd down on 21 April and is now in ZL. UAIXL/UAI i

więcej podobnych podstron