flask-socketio / elasticsearch (in the context of)

237 Views Asked by At

I was wondering if anyone had actually used the official python elastic search ES client in the context of flask-socketio (with either eventlet / gevent + the monkey patches)?

The official python ES client is multi-thread safe, but that is not too much help in a single threaded async environment like flask-scoketio (+eventlet/gevent).

Would setting up an pool like eventlet has for db connections (eventlet/db_pool) be the way to go here?

Thanks -

0

There are 0 best solutions below