What is Nostr?
Stuart Bowman
npub1lun…27lj
2024-04-15 15:48:43
in reply to nevent1q…tw2c

Stuart Bowman on Nostr: Are you using ‘sqlite3’ or ‘better-sqlite3’? If you enable write ahead ...

Are you using ‘sqlite3’ or ‘better-sqlite3’?

If you enable write ahead logging better-sqlite3 is about an order of magnitude faster.

I’ve also heard that Bun’s built in bindings are even faster than better-sqlite3 but I haven’t tested it myself
Author Public Key
npub1lunaq893u4hmtpvqxpk8hfmtkqmm7ggutdtnc4hyuux2skr4ttcqr827lj