A scalable push server solution?

I would like to implement a mechanism that will provide a RESTful API that allows the client to register interest in the subject with a gap and receive asynchronous notifications from the server after registering the percentage. In enterprise architecture (messaging), this is called a template / publish / subscribe.

In desktop applications, this is easily accessible - however, with web applications this proves to be more complicated.

Is there a (preferably open source) framework or library that allows you to apply the publish / subscribe template to web applications?

Server-side technology can be in any of the following languages: C, C ++, PHP, Python, Ruby.

I am working on Linux Ubuntu 10.0.4

+3
source share
3 answers

Take a look at the pubsubhubbub protocol: http://en.wikipedia.org/wiki/PubSubHubbub

Here is the source of the project: http://code.google.com/p/pubsubhubbub/

+3
source

If you know in advance, you will have many subscribers (people / applications) who want to receive notifications on a specific subject, while, on the other hand, you will have several different subjects that will in any case consider pull technology.

RSS, Atom , pull. : , , , ( ) . push, , .

Pull , , CPU , .

+2

STOMP python ( stomp.py). .

0

Source: https://habr.com/ru/post/1757456/


All Articles