I understand that you want to do lookup in PEP. I'd be very wary of depending on it to build a full scaled social platform.
We tried using PEP to build buddycloud. We created a bunch of nodes for each and would push out updates based on presence. This kinda worked with the following caveats:: - it was server specific (any changes to PEP had to be made to each server)/you loose the portability of XMPP components - scaling and performance (this could have been an issue with ejabberd at the time). - difficult to build any extra business logic into PEP. For example:"this set of users can reply to my posts" I think that the OneSocialWeb guys ran into similar issues with their PEP-based service. Our XMPP architecture for buddycloud has shifted: build as much as possible outside of the XMPP server core. We use components to scale out services and use the XMPP server just as a router (the famous "xmpp middleware" topic). The benefit of using components for your service is that running Movim will have the ability to switch out their XMPP server as their needs change. One solution that might give you some milage: using DISCO to point to a pub sub component that is nominated for social activities? (Something like https ://buddycloud.org/wiki/XMPP_XEP#buddycloud_Server_Discovery). This will give you much more flexibility in the future and nto tie your solution to a particular XMPP server vendor. S. On 12 February 2013 07:28, Sergey Dobrov <[email protected]> wrote: > On 02/12/2013 01:29 AM, Jaussoin Timothée wrote: > > The user's server could track all their subscriptions, but this would be > > prone to errors and would necessitate their server understanding pubsub > to > > some extent. > What errors? Unfortunately, with PEP server must understand pubsub > anyway so I don't see the problem to track user's subscribe requests > too. Another question is that it would be nice to have a way to write > stand alone PEP services to increase their quality. But it's completely > different question. > > -- > With best regards, > Sergey Dobrov, > XMPP Developer and JRuDevels.org founder. > -- Simon Tennant | buddycloud.com | +49 17 8545 0880 | office hours: goo.gl/tQgxP
