Joe Cusick
2017-11-15 20:19:54 UTC
We are having a problem upgrading bottle from 0.10 to 0.12 it is taking a
very long time to load.
We have built a rest based data server that we have kept adding to over
that last three years and it now has over 6000 routes defined in it. Using
bottle 0.10 or 0.11 it takes about 26 seconds to load, but using bottle
0.12.13 (the debian stretch default) its taking 149 seconds to load, so
long in fact that apache is timing out with a 504 before it can respond.
Most of our endpoints we use the bottle.route method to setup the route
like this:
bottle.route(urlbase, method='GET', callback=functionname)
after loading all the routes we call
application = bottle.default_app()
in our apache.wsgi module, in developer mode we will also call bottle.run()
passing in host, port and reloader=True) and the result is the same.
Any help would be appreciated as my manager is getting very impatient for
this upgrade to be finished.
Thanks
Joe Cusick.
--
very long time to load.
We have built a rest based data server that we have kept adding to over
that last three years and it now has over 6000 routes defined in it. Using
bottle 0.10 or 0.11 it takes about 26 seconds to load, but using bottle
0.12.13 (the debian stretch default) its taking 149 seconds to load, so
long in fact that apache is timing out with a 504 before it can respond.
Most of our endpoints we use the bottle.route method to setup the route
like this:
bottle.route(urlbase, method='GET', callback=functionname)
after loading all the routes we call
application = bottle.default_app()
in our apache.wsgi module, in developer mode we will also call bottle.run()
passing in host, port and reloader=True) and the result is the same.
Any help would be appreciated as my manager is getting very impatient for
this upgrade to be finished.
Thanks
Joe Cusick.
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.