The database stuff was solved today. The bigger job, happening as we speak and hopefully finishing in a week or two, is ripping out all the WebSocket stuff and replacing it with simple HTTP. No more crazy updating feeds and weird buggy vote numbers, on top of the performance stuff.
The hot_rank query was basically hitting the server like a truck. You can read more about it in this github issue, but basically calculating the hot rank in the database has been moved to rust.
EDIT: For clarity, the database issue was solved a bit ago, but today it was released as a Lemmy version which this server (sh.itjust.works) is now on.