Broadcast to all users each two seconds: websockets vs short-polling + CDN
up vote
0
down vote
favorite
I need to broadcast 1 KB of data to all website users each 2 seconds. The data are common for all users.
Does HTTP short-polling and dynamic CDN in front of my web server good fit for my needs? Or two-second update period is too much for CDN and I have to use web sockets?
Websockets sounds like overhead because of their state and come on that's only few KBs each 2 seconds)
http websocket cdn long-polling
add a comment |
up vote
0
down vote
favorite
I need to broadcast 1 KB of data to all website users each 2 seconds. The data are common for all users.
Does HTTP short-polling and dynamic CDN in front of my web server good fit for my needs? Or two-second update period is too much for CDN and I have to use web sockets?
Websockets sounds like overhead because of their state and come on that's only few KBs each 2 seconds)
http websocket cdn long-polling
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to broadcast 1 KB of data to all website users each 2 seconds. The data are common for all users.
Does HTTP short-polling and dynamic CDN in front of my web server good fit for my needs? Or two-second update period is too much for CDN and I have to use web sockets?
Websockets sounds like overhead because of their state and come on that's only few KBs each 2 seconds)
http websocket cdn long-polling
I need to broadcast 1 KB of data to all website users each 2 seconds. The data are common for all users.
Does HTTP short-polling and dynamic CDN in front of my web server good fit for my needs? Or two-second update period is too much for CDN and I have to use web sockets?
Websockets sounds like overhead because of their state and come on that's only few KBs each 2 seconds)
http websocket cdn long-polling
http websocket cdn long-polling
edited Nov 21 at 21:19
asked Nov 21 at 20:50
VB_
18.3k2279159
18.3k2279159
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53420276%2fbroadcast-to-all-users-each-two-seconds-websockets-vs-short-polling-cdn%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown