kapil verma

Results 28 comments of kapil verma

See [erdtool.com](erdtool.com) (currently on pause) .. uses code in this lib

1. `messageListener` is hooked here - https://github.com/kapv89/yjs-scalable-ws-backend/blob/main/src/setupWSConnection.ts#L50 ... specifically on websocket message ... `applyAwarenessUpdate` in the redis channel subscriber triggers this - https://github.com/kapv89/yjs-scalable-ws-backend/blob/main/src/setupWSConnection.ts#L50 ... no infinite loop here. 2. Even...

Interesting .. would you be willing to hop on a call sometime? @sbavoma .. what sort of load were you putting on the system with those 10 clients?

Hey .. very heavy load at work .. will try to look into this coming week. And no .. no load testing done by me ..

@junoriosity ... @sbalikondwar on discord was doing some load testing on code from this repo for their company ... don't know where they reached, but if they are using code...

They were doing some load testing stuff and were observing increasing memory .. u gave suggestion might be because of undo-log, and might clear up after connections close .. didn't...

Hey ... The awareness issue is sorted ... It's a bit late night for me right now, tomorrow will share with you the test code where the resolution of awareness...

Hey .. https://github.com/kapv89/yjs-scalable-ws-backend-test ... this is the repo for inspecting sync of awareness across 2 separate processes. You can take a look at it, meanwhile let me get to your...

Added something to provide better performance of persistence of updates by applying eventual-consistency ... copying that code from my private project and pushing that too ... basically no transactions and...

@junoriosity just updated the code and changed peristence logic to not use transactions and use redis queues for better persistence performance using eventual-consistency, and for better behaviour of client when...