G
GaryDean
Sometimes its clear that WCF should be used when calls have to be out of
process. Then, on the other hand, WCF adds a lot of flexibility if we want
to physically move stuff around. Maybe we should use WCF between
presentation - business objects - database objects just for flexibility and
maybe throughput. However there is a penalty to pay for all the marshalling
and serialization. Throughput may be greater but individual transaction
latency will be more.
Comparing the same application written in-process and with WCF having the
three layers I am wondering what the WCF round-trip time penalty is given
that it is all running on the same server.
process. Then, on the other hand, WCF adds a lot of flexibility if we want
to physically move stuff around. Maybe we should use WCF between
presentation - business objects - database objects just for flexibility and
maybe throughput. However there is a penalty to pay for all the marshalling
and serialization. Throughput may be greater but individual transaction
latency will be more.
Comparing the same application written in-process and with WCF having the
three layers I am wondering what the WCF round-trip time penalty is given
that it is all running on the same server.