I am using StreamInsight 2.1 hosted as a windows service and want to send sensor events from a sensor server to it. Is it necessary to use WCF? If yes, please show me a good help to start.
Asked
Active
Viewed 55 times
1 Answers
0
WCF is used for some administration functions but it is not required to send events to StreamInsight. StreamInsight does not ship with any adapters/sources/sinks. It is up to the developer to create them. If WCF is too bulky/slow/etc, you can use TCP, UDP, or any other protocol that you can work with in .NET.

TXPower275
- 511
- 2
- 9
-
I would be surprised if using `netTcpBinding` (binary over TCP/IP) would be too slow. – John Saunders Jul 07 '14 at 05:10
-
I am not familiar with WCF. Is it a slow service (regarding CEP applications)? – Mohammad Jul 07 '14 at 07:51
-
It depends on the amount of events coming through your application. Sometimes WCF has a higher overhead if you are doing things like SOAP. – TXPower275 Jul 07 '14 at 23:50
-
WCF is a general mechanism and includes TCP/IP so i think it makes no sense to use something else instead of it! – Mohammad Jul 08 '14 at 07:49