Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:redis [2018/09/19 23:17] billdozor [General] |
linux_wiki:redis [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 112: | Line 112: | ||
**File Sync** | **File Sync** | ||
* Configure how often memory flushes to disk< | * Configure how often memory flushes to disk< | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Client: Install ====== | ||
+ | |||
+ | Install the Python Redis client< | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Client: Configure ====== | ||
+ | |||
+ | Import the Redis module and connect to the Redis server< | ||
+ | |||
+ | redis_db.keys() | ||
+ | |||
+ | redis_db = redis.StrictRedis(host=" | ||
+ | |||
+ | \\ | ||
+ | **Example Client Use** | ||
+ | * String | ||
+ | * List | ||
+ | * Hash | ||
---- | ---- | ||