简体   繁体   English

Django Mysql连接池

[英]Django Mysql Connection Pooling

What is the best way to establish connection pooling for MySQL connections in Django..? 在Django中为MySQL连接建立连接池的最佳方法是什么?

I have read a couple of blogs like SQLAlchemy 我读过几个像SQLAlchemy的博客

Can anyone suggest standard practices for the same.. I am running a B2C application on django and the number of simultaneous requests may hit 10000.. 谁能建议相同的标准做法。.我在Django上运行B2C应用程序,同时请求的数量可能达到10000。

So for anyone still visiting this an unsatisfied with Django built in connection pooling (which has zero configuration and in all honesty I'm not too sure works), this project although years old since its last commit still works! 因此,对于仍然访问此库但对Django内置连接池不满意(配置为零,老实说我不太确定)的人,该项目尽管自上次提交以来已有多年历史,但仍然可行!

https://github.com/djangonauts/djorm-ext-pool https://github.com/djangonauts/djorm-ext-pool

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM