-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace cherrypy
by something new
#2180
Comments
i would vote for using uvicorn for server, fastapi for api (which is built ontop of starlette, and uses pydantic for validation) but web framework+api side, there is prob a bit of things we could optimize within sab code as you noted. |
@thezoggy You mentioned the Will take a look at |
I recently picked this up, so far has been a good read: |
After implementing, double check errors like: #2267. |
@jcfp any chance I can interest you in this? 😊 You know how to handle big impact projects like replacing the Sorter! We can also consider dropping functionality (like supporting both http and https simultaneously on different ports, as an example) if they turn out too complicating. It seems cherrypy is really not maintained anymore. |
I'll take a look |
wow, cheroot finally pulled in that ssl pr. hopefully new cherrpy soon |
Hopefully, although I still want to rip it out as soon as possible. It's close to abandonware, although Cheetah is probably worse.. |
cherrypy
has not really been updated since 2019.I was looking into replacing it with
starlette
anduvicorn
, which use Python's async framework.It would require a major rewrite of all interface code, so it might not be worth it.
In the end we do not care that much about thousands of concurrent transactions and mostly SABnzbd's own code is the bottleneck.
The text was updated successfully, but these errors were encountered: