Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
db:redis [2014/07/31 18:15] alfred [First steps] |
db:redis [2020/05/09 09:25] (actual) |
||
|---|---|---|---|
| Línea 7: | Línea 7: | ||
| $ cd <created folder> | $ cd <created folder> | ||
| $ make | $ make | ||
| + | $ make install | ||
| </code> | </code> | ||
| ==== Execute ==== | ==== Execute ==== | ||
| Línea 181: | Línea 182: | ||
| >>> p.subscribe(**{'my-channel': my_handler}) | >>> p.subscribe(**{'my-channel': my_handler}) | ||
| </code> | </code> | ||
| - | If your application is not interested in the (sometimes noisy) subscribe/unsubscribe confirmation messages, you can ignore them by passing ignore_subscribe_messages=True to r.pubsub(). | + | If your application is not interested in the (sometimes noisy) subscribe/unsubscribe confirmation messages, you can ignore them by passing ''ignore_subscribe_messages=True'' to r.pubsub(). |
| ==== Notes ==== | ==== Notes ==== | ||
| * redis-py can be used together with ''Redis Sentinel'' to discover Redis nodes. | * redis-py can be used together with ''Redis Sentinel'' to discover Redis nodes. | ||
| ===== Notes ===== | ===== Notes ===== | ||
| + | * A good GUI: [[http://redisdesktop.com/]] | ||