Re:Database mocks are just not worth it
by LtWorf on Tuesday December 31, 2024 @07:46AM
(#42558375)
Not large documents, but documents where the most common operation is to add a number to a list of numbers.
[ Parent
| on HN ]
Yeah that's a bad idea. You should instead just create a doc for each number. Each time you add a number the entire list needs copied to disk and to each secondary, so the cost grows quickly with each write.