Databases
Bug Report
Comments pushed into one MongoDB document until it hit the 16 MB limit
Our most popular product page stopped accepting comments with a BSONObjectTooLarge error. Long before that, every page view had been loading megabytes of comments nobody scrolled to. Why unbounded arrays fail twice, and how the bucket pattern and a separate collection fixed both problems.