← Back to team overview

launchpad-dev team mailing list archive

Re: pubsubhub and event notifications

 

On 4 June 2010 14:43, Tim Penhey <tim.penhey@xxxxxxxxxxxxx> wrote:
> What I was trying to say on the bug was that we should look into a general
> event notification system to notify external systems of internal events.

+1

> I'd love to hear ideas of what we could use or do.

So it seems to me there are two main possibilities:

1- Create a bunch more feeds about all different aspects of Launchpad,
such as the one cited in that bug.  Complementary to this you can set
up pubsubhubbub so that there is less polling load on the server and
less latency to clients.  But that doesn't change the basic approach
that you'd be creating a feed per kind-of-thing and that clients
subscribe on that basis.

2- Do a more generic "stream of notifications" where people can
subscribe by pattern matching.  I believe this is more where xmpp
would take you.  So we would publish tuples of activity and users
would see some interesting subset.

In a sense they're isomorphic and you could have one interface
internally and present the other on top but I think there is a
difference of approach.

I guess there is also

0 - Let people just poll over the API, which is how you could find out
about outstanding reviews at the moment.  Pretty slow and pretty hard
on the server, and there are reasonable queries that will essentially
never complete this way.

-- 
Martin <http://launchpad.net/~mbp/>



References