How we nearly crashed our Matrix server; what we did wrong and how we're fixing it.