Hi, we’re considering aerospike for a few projects but all our servers use gevent.
Are there any plans to make the Python client work with gevent? We did some basic tests and it /looks/ like the API is always synchronous and wouldn’t be compatible with gevent, but I figured it’d be good to have someone more expert confirm it.
We’re looking for either explicit gevent support (or compatibility if gevent monkeypatching is used) or an asynchronous API we could use to build it ourselves.
Currently, the python library is fully synchronous. We currently do not have plans to make it asynchronous capable. You are welcome to develop an asynchronous Python client, and we may be able provide some assistance if needed.
If I were to do it, I would use the Ruby or Go clients (links below) as reference on how to interface with the server.
For what it’s worth, we wanted to use Aerospike for a need at our company but the lack of a gevent-compatible python driver is holding us back and forcing us to use Mongodb instead We’d work on the client ourselves but deadlines… grumble grumble.
Async clients are a work in progress, but there is none such for Python, via gevent or otherwise. It’s something we’ve been discussing, but part of the alleged benefit of open source is other people having open access to make their own client - not much luck so far with that approach . When we get to it I’ll ping you.