Show thread history

OceanSlim

4w ago

I'm busy implementing user sync for grain. I'm almost to the negentropy part. When a new user writes a note to the relay, I fetch their kind10002 and assemble their outboxes. Now I need to fetch all their notes and use negentropy to sort and store it. That sound like the right flow to you?

See translation

0
0
0
0
0


Do you have thoughts?

Login to leave a comment


Replies

npub1gcxzt

@npub1gcxzt

4w ago

I would keep sync running in the background from time to time as opposed to when users post a note. Other than that, it looks great.

See translation

0

0
0
0
0

OceanSlim

@OceanSlim

4w ago

Of course. There will be a sync on an interval the user can configure. That was always planned. But I wanted to trigger a sync for a new user on first post too.

See translation

0

0
0
0
0