2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
There are 2 parts:
- Retrieve all connection Ids from where they are stored
- Post a message to every single connection id
#1 is totally up to you. Use in-memory cache or other solution which can reduce the latency.
For #2, at this time, your best shot would be using HTTP/2 multiplexing to send requests in parallel.
답변함 7년 전
