01_ acquaintance redis

1, redis and mysql

mysql is a software that helps developers on a machine's hard drive to operate.

redis is a software that helps developers of memory for a machine operator

 

Car home, if the hard disk hung up, the page also visit a month

Keywords:

Cache, redis priority to acquire, if the database is not

 

installation:

  -redis software

   -  yum install redis

     redis-server /etc/redis.conf

 

   - source code, compile, execute

 

/src/redis-server redis.conf

 

 

 

 

 

 

Configuration

 

 

 

 

 

 

 

 

  - python module is connected to redis

 

 

 

 

 

 

 

 

2, based on the operation redis python

 

 

 

ex = 5 timeout

 

 

 

 connection pool

 100 threads link redis

 

 

10 operations, each connection operation, is closed,

 

 

 

 

 

 

 

The question is

 

 Modified

 

 

Made singleton

 

 

 

 

Other operations

 

 

 

 

 

io multiplexing

Socket for detecting whether a change occurs

 

 

 

 

 

salt

 

redis Features

 

Guess you like

Origin www.cnblogs.com/venicid/p/11929341.html