Questions tagged [server-push]

Server push describes a style of Internet-based communication where the request for a given transaction is initiated by the publisher or central server.

Push services are often based on information preferences expressed in advance. This is called a publish/subscribe model.

A client might "subscribe" to various information "channels". Whenever new content is available on one of those channels, the server would push that information out to the user.

E.g. APPLE Push notifications or Android Push notifications.

336 questions
7
votes
3 answers

Comet, Ajax Push, Reverse Ajax

Someone have any sample of Comet app .net? I need one sample how to persist connection of client in server?
Diego Dias
  • 904
  • 3
  • 15
  • 23
7
votes
3 answers

How to integrate SockJS with another web framework

As an alternative to Socket.io, there is SockJS (https://github.com/sockjs/sockjs-client), which seems to be better maintained and more stable than Socket.io. This question is about the conceptual understanding the architecture of using SockJS with…
MLister
  • 10,022
  • 18
  • 64
  • 92
7
votes
2 answers

server push for millions of concurrent connections

I am building a distributed system that consists of potentially millions of clients which all need to keep an open (preferrably HTTP) connection to wait for a command from the server (which is running somewhere else). The load of messages /…
Daniel
  • 2,087
  • 3
  • 23
  • 37
6
votes
10 answers

how to push the data to the jsp with out requesting it for every 2 seconds?

I want to push the data to the jsp for every 2 seconds, with out client requesting it. I am using Spring with Hibernate here. I am displaying google maps marker, and I want to update the marker location for every 2 seconds by getting the data from…
Ramesh Kotha
  • 8,266
  • 17
  • 66
  • 90
6
votes
4 answers

Multiuser editing in a complicated page using server push

I'm using Zend Framework for an application called Pricetag, and we're thinking of adding support for real-time multi-user editing. Basically the idea is, in each of 4 steps, to be able to share what you're editing with other online users (much like…
cambraca
  • 27,014
  • 16
  • 68
  • 99
6
votes
5 answers

Rails 3: Real-time server push?

I'm trying to write a Rails 3 application in which a server can push data to multiple clients in real time. I've heard of Juggernaut, but I've also heard that it does not work with Rails 3. I tried APE (AJAX Push Engine), but I'm not having much…
Derek
  • 61
  • 1
  • 2
6
votes
2 answers

Jetty HTTP/2 client receive server push example

Jetty's HTTP/2 client with server push support has been implemented in Jetty 9.3 RC (Link). However, I have not found any documentation or example code related to this. Could any one provide an example code for example to receive the pushed resource…
Hải Phong
  • 5,094
  • 6
  • 31
  • 49
6
votes
2 answers

Client side Callback in GWT

I'm trying to create a logger for a GWT application as an exercise to evaluate GWT. What I specifically want to do is have it so that I can post messages to a client side label at any point from the server side. So, if some interesting stuff has…
Henry B
  • 7,947
  • 10
  • 42
  • 46
6
votes
8 answers

Implementing Server Push

Read about Server push here. I want to push data to client from my web application in real time. I was looking at TCP sockets as one of the options. For HTTP I found a variety of frameworks for Java, PHP, Python and others over here. However I don't…
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
6
votes
2 answers

Parse an infinitley long input in Java

I wrote a "push server" that, when a client opens a connection, it remains open while the server writes to the stream. I would like to know how to write a client in Java that reacts to commands as it recieves them through this infinite lengthed…
Osmium USA
  • 1,751
  • 19
  • 37
6
votes
2 answers

Reverse AJAX? Can data changes be 'PUSHED' to script?

I have noticed that some of my ajax-heavy sites (ones I visit, not ones I have built), have certain auto-refresh features. For example, in GMail, if I get a new message, I see the new message without a page reload. It's the same with the Facebook…
Anthony
  • 36,459
  • 25
  • 97
  • 163
5
votes
3 answers

Alternative Server Push/ Comet implementation for Android browser without sending 4KB messages?

I am developing a web application that uses Comet Hidden iFrame technique to push data from server to mobile browser. Everything works fine on Mobile Safari but Android is a lot more painful. It seems to require 4 KB messages to be sent from the…
seb
  • 425
  • 5
  • 16
5
votes
1 answer

Which module for Nginx is the best for HTTP PUSH?

On nginx website they are two module for HTTP PUSH. Here they are: http://pushmodule.slact.net/ and http://wiki.nginx.org/HttpPushStreamModule Wich one is better? Have you used one of them? Which one do you prefer? Thanks in advance.
jnbdz
  • 4,863
  • 9
  • 51
  • 93
5
votes
1 answer

What is the mechanism of grpc server side pushing?

While I'm writing a service with grpc, I'm trying to compare http/2 with websocket by server side pushing mechanism. I know for websocket, the client will send a request with Upgrade: WebSocket and Connection: Upgrade headers to server and…
Shiyu
  • 75
  • 2
  • 5
5
votes
3 answers

Compatibility of Comet with current technology

I hear that I can use Comet as a server push technology along with my Ajax code to increase the performance of my web applications. How mature this Comet technology? Is it supported by all web servers, programming languages and browsers? What are…
Niyaz
  • 53,943
  • 55
  • 151
  • 182
1 2
3
22 23