Click here to Skip to main content
15,895,709 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Push vs. Asynchronous pull Pin
Jochen Arndt12-May-17 1:03
professionalJochen Arndt12-May-17 1:03 
GeneralRe: Push vs. Asynchronous pull Pin
Daniel Pfeffer12-May-17 1:08
professionalDaniel Pfeffer12-May-17 1:08 
GeneralRe: Push vs. Asynchronous pull Pin
Jochen Arndt12-May-17 1:16
professionalJochen Arndt12-May-17 1:16 
GeneralRe: Push vs. Asynchronous pull Pin
harold aptroot12-May-17 3:29
harold aptroot12-May-17 3:29 
GeneralRe: Push vs. Asynchronous pull Pin
Daniel Pfeffer12-May-17 5:42
professionalDaniel Pfeffer12-May-17 5:42 
GeneralRe: Push vs. Asynchronous pull Pin
raddevus12-May-17 2:26
mvaraddevus12-May-17 2:26 
GeneralRe: Push vs. Asynchronous pull Pin
Vark11112-May-17 2:48
Vark11112-May-17 2:48 
GeneralRe: Push vs. Asynchronous pull Pin
Marc Clifton12-May-17 3:33
mvaMarc Clifton12-May-17 3:33 
My 2c: I prefer push, as the notification handling on the client is repeatable pattern, and it leaves all the rules up to the server for when to sending updates. The server can then make decisions like throttling notifications -- consider, for example, that each client might be looking at different data and different pages, which might have notification rules associated with them. Certain clients might be considered higher priority (like admins.) Whatever.

And besides, a good pub/sub pattern is the cat's meow. Especially if it's a semantic pub/sub, where subscribers subscribe based on what semantics they are interested in, not just a raw data stream. But that's me. Wink | ;)

Your concerns about push are of course quite legitimate, but again, because that is all handled on the server, it makes for a neater solution (and less Javascript, which should be, next to global warming control, the goal of the free world.)

Marc
Latest Article - Create a Dockerized Python Fiddle Web App

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Push vs. Asynchronous pull Pin
Ravi Bhavnani12-May-17 4:28
professionalRavi Bhavnani12-May-17 4:28 
GeneralRe: Push vs. Asynchronous pull Pin
PureNsanity12-May-17 4:33
professionalPureNsanity12-May-17 4:33 
GeneralRe: Push vs. Asynchronous pull Pin
Munchies_Matt12-May-17 5:44
Munchies_Matt12-May-17 5:44 
GeneralRe: Push vs. Asynchronous pull Pin
PIEBALDconsult14-May-17 13:09
mvePIEBALDconsult14-May-17 13:09 
GeneralSo here I am at 5:23 at work... Pin
Marc Clifton11-May-17 23:26
mvaMarc Clifton11-May-17 23:26 
GeneralRe: So here I am at 5:23 at work... Pin
OriginalGriff12-May-17 0:03
mveOriginalGriff12-May-17 0:03 
GeneralRe: So here I am at 5:23 at work... Pin
Daniel Pfeffer12-May-17 0:12
professionalDaniel Pfeffer12-May-17 0:12 
GeneralRe: So here I am at 5:23 at work... Pin
OriginalGriff12-May-17 0:19
mveOriginalGriff12-May-17 0:19 
GeneralRe: So here I am at 5:23 at work... Pin
Rage12-May-17 0:57
professionalRage12-May-17 0:57 
GeneralRe: So here I am at 5:23 at work... Pin
Super Lloyd12-May-17 2:42
Super Lloyd12-May-17 2:42 
GeneralRe: So here I am at 5:23 at work... Pin
Marc Clifton12-May-17 3:19
mvaMarc Clifton12-May-17 3:19 
GeneralRe: So here I am at 5:23 at work... Pin
W Balboos, GHB12-May-17 3:25
W Balboos, GHB12-May-17 3:25 
GeneralPermission granted Pin
dan!sh 12-May-17 0:13
professional dan!sh 12-May-17 0:13 
GeneralRe: Permission granted Pin
Marc Clifton12-May-17 3:22
mvaMarc Clifton12-May-17 3:22 
GeneralRe: So here I am at 5:23 at work... Pin
HobbyProggy12-May-17 1:15
professionalHobbyProggy12-May-17 1:15 
GeneralRe: So here I am at 5:23 at work... Pin
Marc Clifton12-May-17 3:23
mvaMarc Clifton12-May-17 3:23 
GeneralRe: So here I am at 5:23 at work... Pin
HobbyProggy14-May-17 19:32
professionalHobbyProggy14-May-17 19:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.