You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
[ x ] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
Is your feature request related to a problem? Please describe.
Every time a user makes an update, an update is sent to the server. As a result, a large number of database writes occur, which can put significant strain on the server and database.
When central server is written in serverless environment, db writes becomes costly due to the high volume of write operations.
Describe the solution you'd like
I would like to add a throttling option for updates.
Additional context
I customized y-websocket in my project, and it works well. Below is the code I added to y-websocket:
@dmonad
Actually.
I might not be in common situation.
Since I set up yjs server in AWS Lambda functions, I cant throttle in the server side due to their stateless nature.
In this case we have to implement throttling on the client side.
I realized that if this is not common situation we do not have to implement this feature in y-websocket.
Checklist
[ x] Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
[ x ] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
Is your feature request related to a problem? Please describe.
Every time a user makes an update, an update is sent to the server. As a result, a large number of database writes occur, which can put significant strain on the server and database.
When central server is written in serverless environment, db writes becomes costly due to the high volume of write operations.
Describe the solution you'd like
I would like to add a throttling option for updates.
Additional context
I customized y-websocket in my project, and it works well. Below is the code I added to y-websocket:
The text was updated successfully, but these errors were encountered: