3 ms·
It looks like a nice design! I'd love to hear a bit more about what it offers over Django/Flask/FastAPI though! The examples look very similar to Fast API and
by benrutter 2y ago
It looks like a nice design! I'd love to hear a bit more about what it offers over Django/Flask/FastAPI though!
The examples look very similar to Fast API and the requests per second comparisons make Robyn look very speedy![0]
I'm sure the developer has more of a vision than just "faster fast api" though - would love to hear more!
[0] https://github.com/sparckles/robyn https://github.com/sparckles/robyn
- vednig 2y agoEspecially over Flask and Django, Robyn additionally offers integrated websocket support along with many existing features like templating, logging etc.[1] Developer has been working on this project for a few years now, here is the updated roadmap, shared by the developer and maintainer of the project.[2] [1] https://robyn.tech/documentation/en https://robyn.tech/documentation/en [2] https://github.com/sparckles/Robyn/issues/1001 https://github.com/sparckles/Robyn/issues/1001
- eterps 2y agoSo it's intended to be a "faster fast api"?
- vednig 2y agoit's much faster for development and prototyping to production, because: - doesn't require any external ASGI in Prod - has in-built CORS - Rust runtime in my opinion
- odie5533 2y ago- FastAPI doesn't require any external ASGI in prod either ever since they added the fastapi cli. - FastAPI has built-in CORS. Has for years. I don't remember it ever not having. I don't see how Robyn is faster for development and prototyping.
- solarkraft 2y agoSince I do not program in Rust, I do not see how it brings any advantage for development.
- 7bit 2y agoYou can't compare this to Django at all.
- polotics 2y agowould be nice to know from the author how this compares to granian
- vednig 2y agoBased on the [1] one of the obvious places where Robyn comes at top is in terms of latency of Websockets and OpenAPI Docs generation. I've tagged the author for a detailed response. [1] https://github.com/emmett-framework/granian https://github.com/emmett-framework/granian
- gi0baro-dev 2y agoGranian maintainer here. Can't speak for Robyn author, but in my opinion it's not a valid comparison. The only thing Granian and Robyn have in common is the usage of Rust and PyO3, but that would be like comparing two projects using Cython. Granian is just a server, and as such it is comparable to projects like uvicorn, Daphne, hypercorn, gunicorn, uwsgi. It can be used to run any WSGI or ASGI application out there. Robyn is a web framework, and thus it does a lot more than Granian, and as such it can be compared to other async first web frameworks, like starlette, litestar, sanic, quart, Emmett, blacksheep. If we're talking about performance then.. well it's still Python running the app code. There's no way to escape that. If we're talking about features, ergonomics, etc. then again, Granian is just a server, so there's not so much to talk about :)
- the__alchemist 2y agoIt looks similar in concept to Flask and Fast API (Likely with a speed advantage), and duplicating their features it feasible. It is not comparable to Django.