I too looked at the infrastructure list and wondered.
While I know many people are saying don't look at the cloud costs, when I look at those numbers it makes me think of CAPEX vs OPEX trades, and the OPEX here is non-trivial, but potentially a variable offset by some labor costs. I think some of this is being driven by a dated tech stack and technical debt.
Now, I am not one to trivialize the work that may need to go into getting this efficient, but I think you are right, we should consider investing into modernization of the stack.
Considering Java and JVM power some of the highest performance server and HFT on the planet. Tell me about the language or ecosystem that give you 90% cost savings?
Fine, please do rewrite this in the language of your choice and use postgress/mysql as DB and lets see if it can handle the HN traffic which is not really that huge. Waiting for the Show HN post.
I don't use Lichess. If I did, I would have donated. But after knowing that they throw money down the sink like this, I would be hesitant.