Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Linkedin chat does not use websocket

views
     
silverhawk
post Mar 7 2024, 01:33 AM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


QUOTE(15cm @ Feb 23 2024, 06:24 PM)
i was surprised when i probed their website  shocking.gif  shocking.gif

i am not going to post the full url because i am worried might expose some of my personal details

but the url that handles chat messages is a GET request, something that looks like this

https://www.linkedin.com/voyager/api/voyage...ssengerMessages.

how does that work?

I thought anything requires real time connectivity must use websocket?
*
They did share some details here:
https://www.linkedin.com/blog/engineering/a...s-of-thousands-

Websockets aren't the only way to do real time chat. If you actually think about it on a large scale, keeping that many persistent connections open is a huge resource constraint on your servers and network.

Even chat apps like whatsapp don't really use websockets

 

Change to:
| Lo-Fi Version
0.0150sec    0.82    6 queries    GZIP Disabled
Time is now: 23rd December 2025 - 11:01 AM