about to land the new metadata table in #nostrdb

https://github.com/damus-io/nostrdb/pull/91

when ingesting notes into the database, it will automatically count:

- direct replies

- thread replies (total number of replies in a thread)

- individual reaction counts

- total reaction counts

- number of quote reposts

- total zap sats

all stored in a compact format in nostrdb that is fast to update.

this should greatly simplify the frontend code in damus android, ios, and notecrumbs. people thought you would need a caching server to have reliable note stats like this, but not anymore! the local relays are getting smarter.

will try to get this into all of our clients asap, thanks for your patience ✌

Reply to this note

Please Login to reply.

Discussion

Nós vamos colocar um PostgreSQL em cada continente, manter a replicação, e vender rasp a preços muito, muito baixos, já prefingurados.

Nice!

But isn't this exactly the definition of a caching server?

nostrdb is not a server, not sure what you mean

Sorry, I was thinking of a caching * DB *, which is missing 99.99% of Nostr apps, with obvious problems of performance and stability, which even think they can do without it.

Especially on web clients, the scenery on caching is terrible indeed. I stopped using anything other that nosotros, one of the few that does caching right.

Não sou dev, o Jumble não faz cache né? Não sabia que o nosotros fazia. Significa que ao abrir o nosotros, o feed não fica pulando até atualizar tudo?

Sim. Não pulando, mas fazendo animacaozinha irritante por 666s, até pintar algo útil. Nosotros abre com o que ja sabia. QUANDO fica pronto o fetch no background, o botao de atualizar a feed com mais posts aparece. Mocada em geral é muito paciente com computador, acha lentidao uma feature/granted. Dev em geral tem dor de barriga com qualquer espera. Pensa, eu uso essa bosta entre pausas no meu trabalho. Se for ter que esperar a porra abrir desse tanto toda vez, ou minha família nao come ou nao uso nostr.

Sim, temos que convencer o nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl adicionar cache no feed. Esses dias tive um problema de começar a escrever uma nota, minimizar o Jumble, depois voltar para o Jumble, e do nada reiniciou o feed, fazendo eu perder a nota que eu estava escrevendo e a posição do feed. Não consegui mais encontrar a nota para poder responder.

Opa, massa seu empenho com Jumble! Mas ainda não volto não. Progressive web app é contra minha religião, Amethyst e Primal pra mim no celular. E nosotros na veia ainda, apesar do Cesar de férias faz um tempo :)

Haha, eu tento te convencer mas acho que não adianta nenhum argumento mais, rs. Vi que nada vai te fazer mudar de idéia, haha. Mas saiba que suas demandas foram resolvidas.

Já que não consegui te convencer do Jumble, experimenta pelo menos a nostr:npub1cm3rpgj7457yjuqnvdalxaauakqu0ndkpkyp5cldkyutpz4xszpsmk96wt, pois vi que vc usa o endereço lightning da Strike aqui no Nostr, rs.

Tenho blitz instalada, mas ainda nenhum incentivo pra ser minha padrão. Mercado de wallets muito bebê ainda. Strike entrega bem.

Tenho traduzido a Blitz para o Português e o dev deles é bem ativo e detalhista. Além disso gosto da Blitz ser baseada na Spark.

Vou revisar seu PR esse fds, tava ocupado com a wotathon 🤣

Good stuff man.

Absolutely legendary 🙏 this work is under-appreciated.

just getting started. WoT table next!