Currently using y-websocket and looking to use y-redis for scalability reasons. I’ve noticed there isn’t much documentation on it and didn’t find much of an answer after searching around. I’ve got it initialised like the default leveldb setup but I’m still confused where I would use the persistence logic and which functions to call. I’ve noticed the y-redis module has a class named persistanceDoc and I’ve used to RedisPersistance to initialise it.
Any help would be good. Thanks.