Our great sponsors
-
You can have a type that is Send/Sync that internally utilizes thread locals. I went all out for performance when I wrote redis-swapplex, and if you look at the source code for this you can see some design patterns around how to do this sort of thing. With this, I utilized thread locals to implement arc_swap::cache::Cache by making my trait force the implementation to define the LocalKey so that this could be derivable on foreign types to support multiple database usage. You could use this same design pattern to make the actual type that goes in your extension Send/Sync
-
I actually implemented something superficially similar to my PyQt signals-and-slots, parallel, off-main-thread thumbnail loading for an actix-web project that's sort of like miniserve, but for image galleries.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Related posts
- Fastest Way to Serve Large Files
- crates.io now has more than 100,000 crates!
- When using Wireguard to VPN into my home network, I cannot access local sites with their hostnames (despite the "dig" command" showing the correct addresses) but can access them fine when using the sites' IP addresses.
- Miniserve – a CLI tool to serve files and dirs over HTTP
- How do i create a basic nginx server to access a folder locally?