Re: [LAD] pipes or network?

From: Arnold Krille <arnold@email-addr-hidden>
Date: Thu May 17 2007 - 21:50:28 EEST

Am Donnerstag, 17. Mai 2007 schrieb Malte Steiner:
> I wonder what is the best way to connect applications on the same
> computer. Usually I use network and localhost plus custom protocols or
> OSC to let them communicate but wonder if pipes are more efficient. The
> data to be exchanged is usually control rate, not audio nor video streams.
> So what are the pros and cons of pipes versus network?

While pipes are faster (which is not interesting for control data only)
osc+network makes it extendable. Maybe in the future one part of your app
will run on a different host. If you started with pipes you have to program a
whole new communication. With osc and network you just allow other addresses
than localhost...

Arnold

-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev

Received on Fri May 18 00:15:03 2007

This archive was generated by hypermail 2.1.8 : Fri May 18 2007 - 00:15:03 EEST