askenderovic | 2023-03-21 15:13:55 UTC | #1
Hi, I am currently working on dashboard solution that would show near real-time information about multiple queues, like number of agents and number of waiting interactions with oldest waiting item in the queue. Can you clarify what will happen when websocket.rate.per.second limit is reached? Since the limit of 300000 B/s is quite easy to reach. When get subscribed to conversations and observations topics for a single interaction 7 conversations and 8 observations events are sent with message content in sum of about 20KB.
- Will the notifications that not fit in bandwidth, be lost?
- What would be preferred implementation of this kind of dashboard?
a. Periodically query Analytics API, or b. Solution presented in https://developer.genesys.cloud/analyticsdatamanagement/analytics/aggregate/real-time-queue-observation-query-guide However, this solution also has issue with WebSocket rate limit.
tim.smith | 2023-03-21 16:49:46 UTC | #2
askenderovic, post:1, topic:19024
Can you clarify what will happen when websocket.rate.per.second limit is reached?
The websocket connection will be terminated if the limit is exceeded.
askenderovic, post:1, topic:19024
Will the notifications that not fit in bandwidth, be lost?
Yes. WebSockets (as a technology spec) do not offer guaranteed delivery of messages and therefore also cannot retry missed messages. Event bridge does offer guaranteed delivery and retries.
askenderovic, post:1, topic:19024
What would be preferred implementation of this kind of dashboard?
For real-time observational use cases, use websocket notifications or event bridge. The choice will be driven by your reliability, architectural, and specific data point needs.
For period/interval/daily summaries and stats, use analytics queries executed at appropriate times.
There's a decision grid here that has additional information: https://developer.genesys.cloud/analyticsdatamanagement/analytics/integration-guide
system | 2023-04-21 16:50:41 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19024