-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Drogon 2.0 #682
Comments
Just want to share some frustrations I have.
And my wish-list:
I'm looking into getting HTTP/2 and coroutines support. But not sure if I can make it happen (coro shouldn't be an issue). I'll try to contribute as much as I can. Thanks. |
nlohmann/json definately. Query- cannot brotli complelely replace zlib? |
@sardar01 Brotli doesn't work under all conditions. Ex: most browsers won't accept brotli over plan HTTP. And gz is good fallback for old browsers. |
On a side note according to 'caniuse' : ideally you'd want to serve modern client with static brotli with a tls1.3 0RTT resumable session, and as fallback for older clients use static/dynamic gzip with at minimum tls1.2 but this depends mostly on your desired level of security / performace and if for you that small % of old clients is your main target audience or your so big that even a small percentage means loads of clients... |
A good testing framework and suite would be great. If you want to catch the big fish, you might as well advertise it as safe and reliable too.
Why not use Crypto++? It's a much more popular choice when it comes to C++ crypto |
I don't know exactly what Another interesting thing to explore performance wise is using As far as crypto libraries go, I don't really see much reason to switch from OpenSSL. It is likely one of the most tested and proven crypto libraries in the world, and I'm not sure the [1] https://github.com/simdjson/simdjson |
Would a change to uring be made in Trantor rather than Drogon? |
Yes, I believe so, although I don't know all the technical details of the relationship between them to say it's exclusively a change in |
We should also discuss about API changes before the first public release of the next major version, because we will be able to introduce API-breaking changes. I created a placeholder ticket for now. |
Add real security, I have plans to use dragon for it's speed for a start up company but it doesn't have good security. Would be nice if "Baton" can be added since it is the best Cipher Suite library in C++ and Dragon will benefit from this. Thanks. |
We won’t add our own security implementation as we don’t have the possibility of audits, but better integration of a third-party dependency is a good idea, thanks. |
That is what I really intended to say, you are right that it doesn't make sense to actually implement security from scratch. Dragon is really interesting, I see it's future as an enterprise ready web server. It's benchmarks is always on the top. |
请问是否可以在app().run();时就创建controller对象而不是在收到第一个请求时,这样方便将初始化代码直接放在控制器类的构造函数中 |
@mwx2006 , the PR #888 is for this requirement, please check it. thanks. |
For others, translation: Could we have very controller spawn upon Are there down sides of eagerly creating controllers instead of lazily? If you can, add a test to make sure controllers won't get added automatically if auto registering is disabled. |
I’m for creating all controllers in the beginning, and adding a lazy controllers option to get back the previous behavior if desired. |
I can’t think of any other downsides, and I think these are perfectly fine compromises for server-side applications. |
Should hiredis be replaced with redis-plus-plus? |
@an-tao , Drogon v2 will add asio's support only the boost libraries version or also support the standalone version? |
It uses the standalone version as the networking library. |
I think it should escape HTML from parameters (#1793). |
2.0 名字也建议换成 2024 官方的 Loong drogon 之前的翻译有问题 类似于会飞的蜥蜴 |
谢谢你的建议,不过Drogon是角色名字不是物种名字(dragon),请参考readme的说明。 |
Please add support to HTTP/2 (server and client), for 5G development it's necessary. |
@rafapcarvalho HTTP/2 client is in progress. I am just busy to push it forward it right now |
This is the place for general discussion regarding the development of Drogon 2.0. The upcoming version will introduce breaking changes, but there’s also the opportunity to improve on existing APIs.
Until development of version 2.0 reaches a more mature state, all feature requests and discussions should be part of this issue.
The text was updated successfully, but these errors were encountered: