I am putting together a REST service that can do the following:
Accept incoming files as part of a PUT request. The files can be as much as a few gigs in size.
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.
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.