|
|
|
|
|
by leetrout
2524 days ago
|
|
That’s pretty neat! I’ve used Redis in the past for lightweight pub/sub and zeromq for IPC before we had adopted Python 3 (and I left that job before then). I hated juggling threads and queues before that and then having to run Redis just to run your program was a pain. The syntax looks similar enough to both of those to get started quickly and easily. I’ve been writing Go so much I don’t know how much this is “needed” in Python but the examples using context managers ring the “it’s Pythonic” bell. |
|