Global Feed Post Login
Replying to Avatar jb55

nostrdb is now much faster than strfry when processing duplicate incoming events. strfry will fully parse and validate an event before checking if it exists in the local DB. nostrdb will:

1. Check if the ID exists in the database without fully parsing the event

2. Only validate the event if we don’t have it in the database yet.

Processing 4GB of duplicate contact lists now takes 200ms instead of 6 seconds on an old laptop.

This matters a lot on mobile devices where we don’t want to burn battery when we don’t need to nostr:note1rq2tgyezyxj7tsgydmd9vvcgmm8luuylgjuxtm9sm8y2e347rsjshgx7gh

ee
Nate Levin 2y ago

Fantastic work. Insane performance

Reply to this note

Please Login to reply.

Discussion

No replies yet.