4 ms·
Based! Django/Rails in a god tier language! my suggestions: - async-trait should be stabilized now, so you shouldn't need the macro anymore - Add opentelemet
by unjkyivbnp 2y ago
Based! Django/Rails in a god tier language!
my suggestions:
- async-trait should be stabilized now, so you shouldn't need the macro anymore
- Add opentelemetry integration so we get metrics and tracing out of the box
- use jemalloc for linux targets
Good work! Keep it up!
- levkk 2y agoThank you! I tried to use standard async traits, but they don't support dynamic dispatch [1] which Rwf uses extensively. I'll be adding opentelemetry tags to functions (from the `tracing` crate). jemalloc can be added to the binary apps that use Rwf, we don't need to add it as a dep to the lib. Cheers! [1] https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html#should-i-still-use-the-async_trait-macro https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-trait...
- sedatk 2y ago> use jemalloc for linux targets Why is that? Or, why isn't it required for other targets?
- levkk 2y agojemalloc (as opposed to GNU libc and LLVM) sometimes performs better. [1] [1] https://jemalloc.net/ https://jemalloc.net/
- deleted 2y ago[deleted]