Hopefully that helps! As I mentioned, the startup process will likely get some optimizations in coming releases.
To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.
Setting the core connections per host significantly increased the connection time to ~200ms.
I will investigate on setting up a connection pool for the driver so the connection will be persistent. This isn't implemented within the current python-driver right? Do you have any tips? I was think about using SqlAlchemy and writing a custom connection pool on it.
To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.
Perhaps I did not understand your suggestion about pre-fork; I thought that it was not safe to safe instances of Cluster and Session across different processes.
We are prepared to switch to Gunicorn if necessary/easier. But I'm a little confused because Gunicorn stated it's using 'pre-fork worker model' but it's not safe and we need 'post-fork'?So without boundary of software choice, what do you think is the best setup in this use case. Or did you suggest to use Gunicorn with:
To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.