简体   繁体   English

如何在Cherrypy中同时处理来自客户端的多个ajax

[英]How to process multiple ajax from client in cherrypy simultaneously

When I send out multiple ajax requests from the client, it seems that the requests are handled in sequential manner by cherrypy and when one requests take more time, it blocks other requests also. 当我从客户端发出多个ajax请求时,这些请求似乎由cherrypy按顺序处理,并且当一个请求花费更多时间时,它也会阻止其他请求。

Is there a way to achieve parallel processing using cherrypy 有没有办法使用cherrypy实现并行处理

My guess is that is something related to session locking . 我的猜测是与会话锁定有关

Are you using the cherrypy.tools.sessions ? 您在使用cherrypy.tools.sessions吗?

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

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