Just learning. I threw together a little CRUD API in Rocket the other day.
Now I’m playing around with Diesel. I don’t love the intermediate New types, coming from EF Core. Is that because Rust ~~~~doesn’t really have constructors?
reverse proxy using tokio and hyper, there are few things to figure out on high traffic sites, it doesn't work as well compared to nginx after a certain threshold.
Yeah, I'm looking at it, will probably rewrite the logic using Pingora.
or maybe I did something wrong. Not sure if its something using the hyper legacy client, that has connection pooling, maybe there's something there to improve.
or maybe the use of RwLock to share the config struct is reaching some limits.
Will try using parking_lot to see if anything changes.
That's too bad, I was thinking of replacing our nginx proxy with Rust. We need a little logic, so we currently have nginx -> gateway service -> microservice, and I was hoping to drop nginx. Maybe I still can, but it sounds like there would be some tradeoffs.
A general purpose memory allocator although this is really much a work in progress i think there are some good opportunities for otimization in a memory allocator for rust.
For example Rust gives you the size of memory region to free, which means the allocator does not have to track that.
Made a discord soundboard bot. Some simple text channel commands get the bot to join whatever voice channel you're in and get the bot to display available sounds as buttons in the text channel. It actually works really well and sounds great.
My friends and I just wanted a bigger soundboard without having to pay for it.