description Drogon Overview
Drogon is a C++ framework focused on high-performance backend development particularly suited for web applications. It’s notable for its asynchronous capabilities and support for deploying complex systems like large language models. Drogon is primarily used by developers creating scalable and efficient web services, especially those requiring rapid processing and concurrency.
help Drogon FAQ
Does Drogon block one thread for every incoming HTTP request?
No. Drogon uses a non-blocking, event-driven architecture and can process asynchronous handlers without dedicating a thread to each connection.
Can Drogon expose both REST endpoints and WebSocket connections?
Yes. Drogon supports ordinary HTTP controllers, REST-style routes, filters, and WebSocket controllers within the same C++ framework.
Does Drogon include database access, or does it need a separate ORM?
Drogon includes asynchronous database clients and an ORM layer. It supports commonly used databases including PostgreSQL, MySQL, and SQLite, depending on how the application is built and configured.
How does Drogon differ from Crow for a C++ web service?
Crow is known for a lightweight, Flask-like API, while Drogon includes a broader application stack with controllers, filters, sessions, an ORM, and command-line project tooling. Drogon is therefore often considered when a service needs more than minimal HTTP routing.
explore Explore More
Similar to Drogon
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.