[ previous ] [ next ] [ threads ]
 To :  Mateusz Bartczak <netcentrica@g...>
 From :  =?ISO-8859-2?Q?Maciek_Kami=F1ski?= <maciejka@t...>
 Subject :  Re: [yate] Feature request: add Gearman interface to allowdistributed multithreaded event processing
 Date :  Thu, 14 Apr 2011 14:08:57 +0200
External modules can process in a mutlithreaded way. It is just a
matter of external module organization. Extmod protocol is threading
model agnostic.


W dniu 14 kwietnia 2011 12:51 u¿ytkownik Mateusz Bartczak
> Hello
> Some time ago we have discussed about Yate inability to process events
> handled by external modules in multithreaded way. There is big performance
> problem when you for example catch routing events and your routing logic is
> complicated and time consuming.
> I think I found a solution to this problem that could be implemented in
> Yate.
> Take a look at http://gearman.org/, home of the Gearman Project. It's
> complete open source application framework that allows to distribute tasks
> (in our example event handling) to several worker threads. It has interfaces
> in many programming languages including C, PHP, Python, Perl and many more.
> Each task can be handled by worker written in any suppored language, you can
> mix them. Tasks could be also spreaded between multiple servers to allow
> load balancing.
> I think that adding support for gearman would help many people to solve
> performance problems and allow them to better scale Yate based services.
> Please let me know what do you think about this proposal.
> Best Regards,
> Mateusz