Closed tiblu closed 5 years ago
After code review , @ilmartyrk found that Citizen OS API does the sync with revision number, which causes the Etherpad (EP) API to fall into expensive revision fetch and apply logic. We're changing it to call it without revision, which falls into much cheaper logic on the Etherpad side.
/home
still uses the full document text tho, but if that is a bit out of sync, that's not a big deal. ep_webhook
debounce parameter thus syncing with a bigger interval. While the read-only views will be a bit out of date, it goes a long way in terms of performance gains.@ilmartyrk Discovered that our EP to Citizen OS DB sync does call to Etherpad API with revision number, which makes EP to fall into expensive logic. @ilmartyrk Changed it to use API without revision numbers, which is ALOT cheaper.
Closing this issue, but we do need to have a discussion on the future - https://github.com/citizenos/citizenos-api/issues/131#issuecomment-481720616
Legally reviewed, no impact.
Closing this issue, but we do need to have a discussion on the future - #131 (comment)
Apparently, this got fixed with Etherpad 1.8. So no longer an issue for the future. Issue fully closed and done.
Related issues: