Avatar
Couch Architect
67876939cb2d3e333bf41b525aaa56ac2bc947b3d0adecca3167cf7eb2cb434f
Helping Developers, Agile Teams, and Tech Startups build database systems that deliver performance, scalability and Peace of Mind™

Phasing out couchapps was a bummer indeed, it was what originally got me excited about CouchDB. But regarding querying and performance, they have come a long way, the MongoDB-like queries are as fast as the views and allow you to do things that are indeed cumbersome with views. In my attempt at a NOSTR relay storage, I'm not touching views at all at the moment, it's only these Mango queries.

I find the views API helpful when you want to use the reducer functionality to easily sum/average millions of records.

Recently they added a built-in full-text search engine which is really nice to have to avoid external dependencies.

khatru looks quite interesting, I'll have a look maybe I can plug in the database as an option in there and start contributing to it instead of building a separate relay. Thanks for the pointer!

I will surely reach out to you when it's ready to test. At the moment I'm reconsidering the choice for a JavaScript backend... While I like the JS-only stack solutions, I can see people in the space here are more inclined towards more safety oriented tools like Go or Rust, so I'm looking into rebuilding it using Go.

MongoDB is built by a for-profit company, while CouchDB is under the Apache Software Foundation. What I like about CouchDB is the rock solid Erlang foundation (never crashed, never lost data), the full HTTP API and the built-in (fully open source) replication protocol

Hi everyone! I'm looking to help out in the relay space, I think this CouchDB tool I've been heavily using can bring something new. I'll explore further with this and hopefully show some progress and reach out to the community then. I'm currently looking into ways of dealing with spam as this seems to be a current pain point.

In the evolving landscape of NOSTR relays, spam prevention is an increasingly pressing issue.

By utilizing CouchDB’s strengths we can explore creative ways to detect, throttle, and mitigate spam while maintaining the open, permissionless nature of NOSTR.

#nostr #couchdb #relays #antispam

Discover how Apache CouchDB’s multi-master replication, deterministic revision hashes, and web-native API make it a compelling choice for running a decentralized NOSTR relay.

https://coucharchitects.com/about/evaluating-couchdb-as-a-database-for-a-nostr-relay

#nostr #couchdb #relays #buildstr