I can however confirm I did move the relay from my test environment and didn’t move the data, and there was some downtime

Reply to this note

Please Login to reply.

Discussion

also I am considering using a good amount of the realy code, which looks good, just with a different event store and some other changes

will contribute back those changes if possible

one thing you may want to do is separate the actual DB logic and what I call the index provider

that basically allows you to swap the query planner and index generation logic, and allows making search very easy (tokenize => save as individual index entries)

index changes become easy too, as all you need to do is reindex all events in place, with no interruptions, and after that’s done enable the new indexes

I can literally do that in a one liner with realy, pull the events as JSONL from one relay and direct the stdout from that over to the import endpoint of the other relay, with zero downtime

i've not actually tried that, but i use curl routinely to pull and push events over the http-basic auth protected admin endpoint i built in a couple months ago

bragging aside tho, my relay doesn't handle 30k numbered events at all haha