Cherrypy : Do I really need to put it behind a fro

2019-02-23 02:27发布

I've been working on a python web app using cherrypy and read it'd be more "robust" to use it as a backend, so I gave it a try.

Shortly put, running some benchmarks on a page doing some database operations and serving static & dynamic content has shown that plain cherrypy was twice as fast than nginx and memcached, and about half faster than lighttpd. I heard the latter had memory leak issues, so refrained from using it. And yes, both nginx and lighttpd were configured to serve the static content.

I didn't want to try out apache since I'll be deploying it on a relatively "small" VPS.

So, considering that :

  • I wont' be deploying it on a distributed system for a while, is it safe to use cherrypy on its own ?
  • And when I will deploy it on a such system, which frontend performs the best ?

1条回答
姐就是有狂的资本
2楼-- · 2019-02-23 02:40

Yes; it's safe to use CherryPy on its own.

查看更多
登录 后发表回答