I build a application using the python driver, and want the database connection persistent.
The discussion in a previous
mail is very interesting, where it is suggested to use gunicorn to keep the cassandra session alive and reuse it. But from the
four-simple-rule blog post, it is recommended that, only one connection should be used per cluster per application.
Does it mean that I should not use more than one pre-fork worker in gunicorn?
In that case, what is the benefit of gunicorn over multiprocessing module?
Chuan