Hi Wensong,

On Fri, 2007-06-29 at 23:40 +0800, wensong zhang wrote:
> Hi Alexandre,
> 
> It's very nice to see you here. :)

I am very happy to see you there !

> On 6/29/07, Alexandre Cassen <[EMAIL PROTECTED]> wrote:
>         Hi Wensong ;)
>         
>         On Fri, 2007-06-29 at 16:08 +0800, wensong zhang wrote:
>         > Hello, 
>         >
>         > We want to use sofia sip stack with our modules such as
>         STUN, TURN and
>         > ICE. Those modues use libevent library for event handling.
>         We still
>         > like to keep single-thread event-driven architecture. 
>         >
>         > There are probably two ways to integrate: one is to change
>         those
>         > modules to use sofia event loop interface, it seems some
>         work; the
>         > other is to change sofia to use libevent, though sofia has
>         already 
>         > supported the select/poll/epoll/kqueue/devpoll event
>         mechanism.
>         >
>         > If I want to give a try to the latter, do I just need to
>         make a
>         > su_libevent_port.c file to hook up in libevent?
>         
>         Or you can run your current STUN/TURN/ICE in one process and
>         sofia in 
>         another and specify a common interface using kind of AF_UNIX
>         channel to
>         drive and reflect events from each process. This is the way I
>         run sofia
>         with a rtp forwarder/transcoding engine. on the one hand,
>         sofia is
>         runing its own I/O MUX and on the other hand RTP engine is
>         using custom
>         I/O MUX.
> 
> Yeah, it's a good solution on Unix. Is there a unified solution for
> both Unix and Windows? local socket communication? 

IMHO, the good point with this "socket" (UNIX or INET) oriented design
is that you have a simple way to dissociate signalization planes, I
mean, it is very simple to make your application scaling on a very large
cluster and virtualize each of your application bricks. It is
intrinsecly easy to make it highly available too.

Local socket communication is good, since this socket will only be used
for signalization/synchronization between your software elements. This
make it portable and easily maintenable.

cya,
Alexandre


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to