I'm currently in the process of writing a realtime telephony
application. I've designed it with a fairly simply plugin architecture.
When I first started reading about this the general suggestion was to
load each plugin in a seperate app domain. However performance is a
large concern for me.
Can anyone give me an idea of the performance impact I'm going to take
if I do start using a different app domain? Many of these plugins will
be directly involved with the realtime processing and the messages
being passed across the app domain would be small and chatty
(unavoidable).
Since my team or I will be writing all the future plugins I'm not
overly concerned with the disadvantages of keeping everything in a
single app domain (no protection of main engine, can't reload on the
fly, etc).
However if the performance impact is not that high, I do like the idea
of seperate app domains for the plugins.
Thanks for any insight!