Question

I am putting together a REST service that can do the following:

  1. Accept incoming files as part of a PUT request. The files can be as much as a few gigs in size.

  2. Handle authentication.

I started my code with bottle and it was pretty compact to use but someone pointed me to cherry. I am still new to python web frameworks so would like to know people's opinions.

Was it helpful?

Solution

well, you can do RESTful webservices with any framework you like. I do have a small preference over bottle.py, because I like the plugins and routes as decorator model... And btw, you can put cherry in a bottle :-) (sorry for the joke)

But what's important given your constraints is that you do not use a wsgi backend to serve your files, as current wsgi implementation is a terrible bottleneck for concurrency, but instead choose another backend.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top