Can't we move on from JS for the backend? It is a brittle and confusing langugage. Author of JS the good parts: <a href="https://www.youtube.com/watch?v=lc5Np9OqDHU">https://www.youtube.com/watch?v=lc5Np9OqDHU</a>
I don't think deciding a stack is that much of a headache, API gateway like APISIX for rate limit, caching with redis, future proof sharding with tenant id & YY, MM, DD columns & lookup thereof, deployment to cloud providers such that queues,dbs, serverless functionality is never vendor locked, that's the hard part