Alright nostr devs. If you were making a relay implementation, would you go with MongoDB or Postgress and why? #asknostr #dev #go #database #mongoDB #postgress

Reply to this note

Please Login to reply.

Discussion

Sqlite. It scales way better than people give it credit for, it has nearly 100% code coverage in tests and doesn't require an external process running.

Damn... This is the one I actually have experience with too... But I wanted to branch out and use something a little more feature rich with a bigger community. Will consider sqlite still though. Thank for your response!

I am also considering this problem 😅. It is hard to find a database for nostr.

Maybe I will choose PG. I think PG maybe more reliable.

Damus used to run SQLite and Postgres but it can’t handle large loads. strfry is the only design that scales, which is why nostrdb is based on it.