Hi David, also try PgBouncer or PgPool for db connection pooling.
Arek On 03/11/14 14:27, David Unric wrote: > Hello, > > hope I'm not alone who fights with higher response times of deployed > Satchmo application. > Current Satchmo-tip running on pro hosting with recent mod-wsgi, > memcached on top of recent nginx. Django is of 1.4.10 version, > psycopg2 2.5.2 for connection to Postgresql. > > I've already investigated most of response time (> 95%) is spent in > database queries, so there is the bottleneck. I've further discovered > views code of Satchmo is relatively ok but templates tags and filters > are painfully suboptimal, like `base_price', `discount_price', `sale'. > Or some of model's path retrieval methods which instead of working > with model attributes do invoke urlresolvers. > > I'm asking if there is some fork of Sacthmo with some of mentioned > optimization already done. I can push some of my code fixes and > enhancements in return. > > Any hints ? > > Thanks. > -- > You received this message because you are subscribed to the Google > Groups "Satchmo users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/satchmo-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Satchmo users" 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 http://groups.google.com/group/satchmo-users. For more options, visit https://groups.google.com/d/optout.
