Hacker News new | ask | show | jobs
by ncruces 47 days ago
One of the things people seem to forget is that SQLite itself polls every millisecond or so to grab a lock.

So yes, don't use this in a mobile device, or a server if you want to let the CPU enter a low power state.

Otherwise, a single thread doing this in an otherwise idle server, doesn't seem that terrible. And if it's not idle, inotify won't help you (need to query what changed afterwards).

1 comments

Appreciated your input on the original thread as well. Maybe I should note this recommendation in the docs or something.