[jdev] Suggestions on Component Architecture

andy nes andynes83 at gmail.com
Fri Nov 16 14:46:07 UTC 2012


Still waiting for someone to help me see light at the end of this tunnel :)

/andy


On Thu, Nov 15, 2012 at 8:23 PM, andy nes <andynes83 at gmail.com> wrote:

> Hey,
>
> I am new to XMPP and new to event based(Asynchronous) programming , hence
> I need guidance in structuring my XMPP based application.
>
> We are building a real time location based service where XMPP forms the
> communications framework. The plan is to use pubsub functionality to get
> the geolocation from various users. The business data, including
> co-ordinates is persisted in MySQL database.
>
> The business logic layer connects to the XMPP server as a Component. One
> of the tasks of the business logic component is also to store the data in
> the database.
>
> *Here's the question* - Should I have to structure my business logic
> application using an event based framework such as Twisted to take the
> advantage of the concurrent connection capability of XMPP?
>
> To put the question in other words, if I design my business logic on
> django framework, which is a synchronous framework, will it create bottle
> neck for rest of the system? If django doesn't work efficiently, should I
> use Twisted (or a similar asynchronous framework) to build my business
> logic component?
>
> Forgive my noob-ness in the question. As mentioned earlier, this is my
> first foray into XMPP and event based programming.
>
> Any suggestions on general architecture to build components for XMPPbased applications are most welcome.
>
>
> regards,
> andy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20121116/f54e54ad/attachment.html>


More information about the JDev mailing list