Hi ,

I am working on getting the requirements for starting a new project ,using 
pyramid framework. My project needs to work with both a SQL database(Mostly 
probably MYSql) and Cassandra. I am currently at a stage where I am 
deciding on the Cassandra connection issues. One of the issue that came 
across is the same connection used in multiple fork issue, where multiple 
forks of uWSGI using the same cassandra connection from the main scope and 
timing out. The solution is to use @post_fork() decorator, 

So, My question is , what is the best practice ? is it good to enable 
lazy-apps, which is by default or disable lazy-apps. Will this also affect 
SQAlchemy DB sessions ?. What are the cons and pros of the enabling and 
disabling lazy-apps from pyramid perspective. Will forking  effect any 
other services, that we use for a basic website, like payment system, email 
services etc...

Srikanth Bemineni


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to