V
V
Vladimir Grabko2016-09-25 20:47:26
go
Vladimir Grabko, 2016-09-25 20:47:26

If a large map is not safe, then where to keep ws connections?

You say that map and a couple of million keys + mutex are not safe. Where then to store links to ws connections?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita, 2016-09-26
@bitver

I read your previous questions ...
Do you even understand that there are search engines? Google, Yandex, Bing, etc.
You seem to know how to write, why not look first?
Take redis, stop building bicycles, which in your case are with a square wheel, one and without a steering wheel.

A
Alexander Pavlyuk, 2016-09-25
@pav5000

Why is it unsafe?
With numbers like "a couple of million", it's time for you to horizontally scale the service easily.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question