Questions tagged [push]
25 questions
22
votes
4 answers
Why is putting something on the stack called "push"?
According to http://dictionary.reference.com
push
verb (used with object)
to press upon or against (a thing) with force in order to move it away.
to move (something) in a specified way by exerting force; shove; drive: to push something aside; to…

doc
- 223
- 2
- 4
17
votes
4 answers
Handling database schema changes when pushing new versions
During times of heavy development, the database schema changes both rapidly and continuously, and by the time our weekly push to the beta build comes around, the schema has changed so much that the only sensible option is to nuke all of the tables I…

Julian H. Lam
- 491
- 1
- 3
- 13
12
votes
3 answers
Push vs Poll when large delay (hours) is acceptable
It seems commonsense nowadays that polling is a bad practice and pushing is the way to go when developing mobile applications that require to constantly receive data from a remote server.
All major mobile shops provide their version of a push…

Thomas C. G. de Vilhena
- 267
- 1
- 2
- 9
9
votes
4 answers
Is there really such a thing as "push"?
Once you escape the realm of electrical signals and are dealing with software, is there really such a thing as a "push" architecture where there isn't periodic polling?
I can't think of any design where it's not polling at some level. It seems like…

John Cromartie
- 481
- 2
- 9
6
votes
2 answers
How does "new message" notification work?
I'm interested to know the implementation of the 'new message' in gmail for example. I know that ajax is used, but what else it is used on the server and client side. Can you explain me the scenario?
Gmail is just a sample to sustain my question.…

dole doug
- 197
- 1
- 8
6
votes
2 answers
Using websockets for server “broadcasting”?
I want to make it possible to edit shared todo lists in real time.
There's already a REST interface, and it's possible to send updates to the server - add items, mark items as done, etc.
For the client to get these updates immediately, I did some…

User
- 341
- 4
- 10
6
votes
2 answers
What is the argument for never forcing a push in a DVCS (Mercurial)?
I always preach never to force push anything, because that adds ambiguity to the repository server.
In this specific example, we collaborate with a customer and they "skip a step" and force push instead of appropriately pulling and merging. This…

bjones14
- 69
- 3
5
votes
1 answer
Does it matter which branch I push to?
My question is around how branch pushes work exactly; I have come across something that doesn't make logical sense to me and as such would like an explanation as to why I am experiencing this behaviour.
I have two branches: master and dashboard.
I…

MusTheDataGuy
- 381
- 1
- 11
5
votes
2 answers
How can I best implement 'cache until further notice' with memcache in multiple tiers?
the term "client" used here is not referring to client's browser, but client server
Before cache workflow
1. client make a HTTP request -->
2. server process -->
3. store parsed results into memcache for next use (cache indefinitely) -->
4. return…

ajreal
- 394
- 1
- 2
- 12
4
votes
0 answers
How to tell SignalR Notifications Hub that there is a new notification without having SignalR poll on that table
I'm developing a push-notifications system for my ASP.NET MVC app.
The idea is to use Redis for queueing, ServiceStack for queue processing and SignalR for push-notifications to implement a system that's able to distribute different types of…

Sergei
- 141
- 5
3
votes
1 answer
Why are cloud services needed for push notifications?
We currently have a customer that wants us to implement push notifications to our app. The problem is that for this customer, security is really, really important...
I am not able to find any official documents, that state that the only way to send…

Tobe
- 39
- 2
3
votes
1 answer
Should a push hold data or make the receiver trigger an API call?
With WebSockets, when clients should be notified that data changed, I've seen two approaches:
the server pushes the data modifications directly within the push;
or the server pushes no data, and the client, on receipt, triggers an API call to get…

sp00m
- 640
- 4
- 11
3
votes
1 answer
Observer pattern for rest services with UI client
I am developing restful services using resteasy for an application. This application has UI which will consume these rest services.
Now I am having a case where I have to do a server push to UI(Client).
Across browsing over internet I see…

user2585494
- 41
- 2
3
votes
2 answers
Sending push notifications to iOS devices from a Java server
I have a seemingly standard task of sending push notifications to Apple devices from a server written in Java. I have never done that in the past, so I went to tutorials and Apple documentation.
1) The APN Provider API claims that THE protocol to…

starikoff
- 179
- 1
- 1
- 7
2
votes
2 answers
Is it wrong to push messages from server to client in a client-server application?
I practically never see any web application where server pushes messages to the client. While pushing messages from server to client is hugely used in multiplayer games, why this model is so underused in web apps?
Is it wrong? Does it destroy the…

upton
- 673
- 1
- 7
- 12