Skip to main content
Rewrite the question
Source Link
Michael
  • 147
  • 5

Assuming I have a paginated api endpoint:

GET /api/meetings

My client is consuming this api endpoint and displays it in an infinite scroll that underneath gets page by page as the user scrolls down.

Now I want to add real time capabilities to the api. New meetings can come in and also existing activitiesmeetings can change (for example, a meeting got canceled).

Ideally, I want the UI for anything I pulled so far to change if something in the meeting has changed.

Is this something that is possible to pull off in a performant way ? What changes (high level of course) do you think needs to be done to handle this ?

Thanks.

Assuming I have a paginated api endpoint:

GET /api/meetings

My client is consuming this api endpoint and displays it in an infinite scroll that underneath gets page by page as the user scrolls down.

Now I want to add real time capabilities to the api. New meetings can come in and also existing activities can change (for example, a meeting got canceled).

Ideally, I want the UI for anything I pulled so far to change if something in the meeting has changed.

Is this something that is possible to pull off in a performant way ? What changes (high level of course) do you think needs to be done to handle this ?

Thanks.

Assuming I have a paginated api endpoint:

GET /api/meetings

My client is consuming this api endpoint and displays it in an infinite scroll that underneath gets page by page as the user scrolls down.

Now I want to add real time capabilities to the api. New meetings can come in and also existing meetings can change (for example, a meeting got canceled).

Ideally, I want the UI for anything I pulled so far to change if something in the meeting has changed.

Is this something that is possible to pull off in a performant way ? What changes (high level of course) do you think needs to be done to handle this ?

Thanks.

Rewrite the question
Source Link
Michael
  • 147
  • 5

Assuming I have a webpaginated api endpoint:

GET /api/meetings

I have aMy client is consuming this api endpoint and listening for changesdisplays it in real time using SSE or websocketsan infinite scroll that underneath gets page by page as the user scrolls down.

The endpoint returns a list of meetings that are displayed onNow I want to add real time capabilities to the client ui in a list. API is paginatedapi. New meetings can be added all the timecome in and also details about existing meetingsactivities can be changedchange (Forfor example, a meeting got canceled).

Ideally, I need to be able to know and display the changes inwant the UI for eachanything I pulled so far to change if something in the meeting has changed.

What would beIs this something that is possible to pull off in a good architectureperformant way ? What changes (high level of course) do you think needs to be abledone to know if something has changed and exactly what has changedhandle this ?

Thanks.

I have a web api endpoint:

GET /api/meetings

I have a client consuming this endpoint and listening for changes in real time using SSE or websockets.

The endpoint returns a list of meetings that are displayed on the client ui in a list. API is paginated. New meetings can be added all the time and also details about existing meetings can be changed (For example, a meeting got canceled).

I need to be able to know and display the changes in the UI for each meeting.

What would be a good architecture to be able to know if something has changed and exactly what has changed ?

Assuming I have a paginated api endpoint:

GET /api/meetings

My client is consuming this api endpoint and displays it in an infinite scroll that underneath gets page by page as the user scrolls down.

Now I want to add real time capabilities to the api. New meetings can come in and also existing activities can change (for example, a meeting got canceled).

Ideally, I want the UI for anything I pulled so far to change if something in the meeting has changed.

Is this something that is possible to pull off in a performant way ? What changes (high level of course) do you think needs to be done to handle this ?

Thanks.

Source Link
Michael
  • 147
  • 5

How to detect and handle changes in a realtime api

I have a web api endpoint:

GET /api/meetings

I have a client consuming this endpoint and listening for changes in real time using SSE or websockets.

The endpoint returns a list of meetings that are displayed on the client ui in a list. API is paginated. New meetings can be added all the time and also details about existing meetings can be changed (For example, a meeting got canceled).

I need to be able to know and display the changes in the UI for each meeting.

What would be a good architecture to be able to know if something has changed and exactly what has changed ?