Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 13
Generated: 01:12:41
Hello good people of Nostr. Is anyone here working with / is curious about CouchBD for Nostr Relays? β€œIt’s a great fit for the space given its set of features and strengths. It can store millions+ events and query them almost instantly, and it has the replication system available with which you can spin up entire clusters of syncronized relays” My friend nostr:npub1v7rkjwwt95lrxwl5rdf942jk4s4uj3an6zk7ej33vl8havktgd8svx887m has been working on this & hopes to connect with others who are keen on the topic. Please share so they may find each other. Thank you πŸ™
2025-03-04 21:13:02 from 1 relay(s) 5 replies ↓
Login to reply

Replies (13)

nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s nostr:npub18lzls4f6h46n43revlzvg6x06z8geww7uudhncfdttdtypduqnfsagugm3 nostr:npub1kuy0wwf0tzzqvgfv8zpw0vaupkds3430jhapwrgfjyn7ecnhpe0qj9kdj8 nostr:npub1j8y6tcdfw3q3f3h794s6un0gyc5742s0k5h5s2yqj0r70cpklqeqjavrvg nostr:npub1qny3tkh0acurzla8x3zy4nhrjz5zd8l9sy9jys09umwng00manysew95gx nostr:npub1lunaq893u4hmtpvqxpk8hfmtkqmm7ggutdtnc4hyuux2skr4ttcqr827lj nostr:npub1h50pnxqw9jg7dhr906fvy4mze2yzawf895jhnc3p7qmljdugm6gsrurqev nostr:npub18ams6ewn5aj2n3wt2qawzglx9mr4nzksxhvrdc4gzrecw7n5tvjqctp424 maybe you know about this?
2025-03-04 21:16:12 from 1 relay(s) ↑ Parent Reply
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.
2025-03-05 08:27:26 from 1 relay(s) ↑ Parent Reply
I defer to this post I wrote in 2015 about CouchDB: nostr:naddr1qqyrswrpvdsnsc3nqyghwumn8ghj7enfv96x5ctx9e3k7mgzyqalp33lewf5vdq847t6te0wvnags0gs0mu72kz8938tn24wlfze6qcyqqq823car67ph But I don't think CouchDB is good for anything anymore since they got rid of the concept of couchapps instead of fixing it, then turned it into a boring and slow MongoDB copy.
2025-03-05 10:32:19 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
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.
2025-03-05 11:25:36 from 1 relay(s) ↑ Parent Reply