These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:19 pm Advanced search

sockets, workers, connectionless and server-sent events

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

sockets, workers, connectionless and server-sent events

Postby DaveC426913 » Mon May 10, 2010 1:15 pm

I'm looking maximize power savings on mobile devices in regards to client-server communications. My research has turned up the above items as potentials.

w3.org and most other sites have either a very high-level two paragraph notes on the subjects, or very low-level notes on how to actually code them. I'm looking for some things in between high and low level (such as performance characteristics) that will give me ideas about which will give me the best results.

Can anyone give me a shove in the right direction?
DaveC426913
<h6>
 
Posts: 2
Joined: Mon May 10, 2010 1:06 pm

Re: sockets, workers, connectionless and server-sent events

Postby zcorpan » Thu Mar 31, 2011 7:06 pm

It depends on what you're trying to do. Workers isn't client-server communication at all. "Connectionless" is an implementation detail about server-sent events that you can't control yourself as a web developer (just like you can't control whether the user uses a full browser in the mobile or uses a server side browser and a thin client ala Opera Mini).

As for performance, if you need continuous communicate in both directions with low overhead then websockets is probably best choice. If you need continuous communication from server to client but no or seldom communication from client to server then SSE+XHR is likely good enough (or could be better than websockets if the client supports connectionless SSE).
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests