Page MenuHomePhabricator

Fix startup delay in Realtime API
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT


Steps to replicate the issue:

  • Query /v2/articles stream endpoint in realtime API

What happens?:
It takes about 2 to 5 seconds to start the streaming.

What should have happened instead?:
It should not take more than 1 second to start the streaming.

Other information:
This probably happens because we are always providing ROWTIME > %s in the ksqldb query, that means that ksqldb needs to do OffsetForTimes query every time. Let's see if removing this for the queries that do not include since parameter will help first.

Event Timeline

HShaikh triaged this task as Medium priority.Mar 1 2023, 3:40 PM
Tim.abdullin changed the task status from Open to In Progress.Mar 2 2023, 12:17 PM
Tim.abdullin claimed this task.
Tim.abdullin set the point value for this task to 3.Mar 6 2023, 8:23 AM
Tim.abdullin set Final Story Points to 3.