c# - How much WCF efficient to get real time data? -


suppose have thousand of hardware device(about 20,000) send data in real time. have capture data , send data database , show information in application.for thinking develop wcf service poll devices , data devices , store in database.

so question "is wcf efficient or should follow approach "

i thinking develop wcf service poll devices

a wcf service cannot "poll". consumer can poll, can call service on , on again, there no polling pattern built wcf client channel. polling behavior need programmed.

so question "is wcf efficient or should follow approach "

what suspect want devices call service , pass data, asking can wcf service handle high volume of calls?, answer yes.

however, in order best scalability should expose per-call service, , on nettcpbinding (basically sockets), uses optimised encoding , therefore higher performance.

this available consumer running wcf client stack. if wcf not available on devices next best option http endpoint on webhttpbinding, provides best interoperability.

can please suggest other technology?

well, if happy using http on devices should @ nancyfx hosting service - it's nice, lightweight http container .net.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -