Tutorial: Todo-List Application — Bottle 0.12.13 documentation
Running Bottle with a different server
March 2, 2017 at 9:09:38 PM GMT+1
As said above, the standard server is perfectly suitable for development, personal use or a small group of people only using your application based on Bottle. For larger tasks, the standard server may become a bottleneck, as it is single-threaded, thus it can only serve one request at a time.
But Bottle has already various adapters to multi-threaded servers on board, which perform better on higher load. Bottle supports Cherrypy, Fapws3, Flup and Paste.
If you want to run for example Bottle with the Paste server, use the following code:
from bottle import PasteServer
This works exactly the same way with FlupServer, CherryPyServer and FapwsServer.