Software & Infra Engineer. Perfectionist. Overengineering and designing pet projects for large scale. Who said todo lists and link shorteners don't need scale?
@PatrickToulme Does not sound convincing bro, to keep it safe I have to use some secondary google account to try gemini which itself causes ban because of account’s age and activity. No way getting my main account involved on this.
@xIrissy@grok A few factors for you to conclude on your own
Land & Natural resources
Population & Leaders
That makes you independent on decision making
Technology & Trade routes help you be able to gather others around you which makes you superpower
3. Parse less and reuse it.
Read only the fields you need, once, and share the result through the whole request. It's faster, and stricter about malformed input than decoding the whole body again and again.
3 mature (controversial) architecture choices for high-load systems
1. Refuse requests to serve faster.
A queue past capacity turns every request slow. A fast "overloaded, retry in 1 s" keeps the accepted ones fast, and clients back off.
2. Don't close connections under overload.
A closed connection comes back as a new TCP handshake, TLS handshake and DNS lookup for every retry. Keeping it open costs a few KB of memory