D
D
ddddd tttt2019-01-18 06:15:07
go
ddddd tttt, 2019-01-18 06:15:07

How many connections does gorilla/websocket hold, what does performance depend on?

How many available connections can theoretically be on linux x64? How to calculate it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Papa, 2019-01-18
Stifflera @PapaStifflera

2^16-1-already used. Go has nothing to do with it.

E
Evgeny, 2019-01-30
@bat

10k+ connections with gorilla/websocket is not a problem, performance directly depends on the curvature of the developer's hands.
If we are talking about 100k or 1M connections, then you need to look for other solutions, but it seems to me that this is not about you.
ps
why gorilla/websocket is not suitable for a million connections - https://habr.com/ru/company/mailru/blog/331784/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question