Another round of speculative-execution vulnerabilities
Another round of speculative-execution vulnerabilities
Posted Aug 9, 2023 13:59 UTC (Wed) by yodermk (subscriber, #3803)In reply to: Another round of speculative-execution vulnerabilities by butlerm
Parent article: Another round of speculative-execution vulnerabilities
Yep, I often imagine a world where a large web application is written in Rust and runs as a single process on a single, vertically-scaled server. This bucks the "everything is a microservice" trend in a big way. But think of the benefits -- nearly every request could be served from in-memory in a single process. No Redis, no reaching out to other services for most things. Only requests that needed to result in durable, committed storage would have a slight delay. Besides that, operationally it would be dirt simple.
Main drawback is upgrades would require at least a bit of downtime. But, done right, it would be quite brief. The in-process caches would need to warm, though. The other drawback is the absolute need to be sure that no part of the system can crash under any circumstances. But Rust goes a long way in helping you there.
I'm learning Axum (a backend framework for Rust) and hope to be able to implement something like this someday.
