[jdev] parsing xml (xmpp) with ruby

Jonathan Dickinson jonathan.dickinson at k2.com
Fri Oct 3 07:29:16 CDT 2008


> -----Original Message-----
> From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On
> Behalf Of Remko Tronçon
> Sent: Friday, October 03, 2008 2:24 PM
> To: Jabber/XMPP software development list
> Subject: Re: [jdev] parsing xml (xmpp) with ruby
>
> ... Only resort to
> threads when you *really* have a problem that can only be solved with
> adding threads.

Amen.

> Otherwise, stay away from it if you want to maintain
> your sanity.

Amen, again.

> I doubt that the poster's software project is already in
> that stage where he needs threads to solve his problems.

I beg to differ. It's a daemon, it will be a nightmare to refactor into threads if he takes it any further. It is a choice he has to make, but it won't scale horizontally unless more machines/process instances are added.

>
> cheers,
> Remko
> _______________________________________________
> JDev mailing list
> FAQ: http://www.jabber.org/discussion-lists/jdev-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________



More information about the JDev mailing list