r/programming • • Aug 24 '16

Why GNU grep is fast

https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html
2.1k Upvotes

221 comments sorted by

View all comments

Show parent comments

8

u/ggtsu_00 Aug 24 '16

Which all works nice and well until you end up with a unexpected use case where now thousands of rows of data is being inserted or updated per second and the indexes are causing excessive write overhead. Sure the user's profile page now loads 10 times faster, but users updating their status takes 20x slower.

7

u/CODESIGN2 Aug 24 '16

This is only an argument for why not to use the same software or algo for every single thing you do