Yeah, those 502's are timeouts.
I'm a bit apprehensive about pushing any changes at the moment since so many people are online and things are likely to get much worse before they get better. At least right now posting is possible even if a bit insufferable due to timeouts.
I'll keep investigating in the meanwhile and plan to push changes later tonight (after the Guild's peak hours) until further notice.
I'm eager to fix this issue. What makes it hard is that I don't have much visibility into issue.
For example, I just realized the database I'm using doesn't keep a log of slow queries by default, so I'd have to reconfigure it and reboot it, yet I'm not sure long that downtime is. Is it 10 seconds, 10 minutes, or 30 minutes?