How does Linq to Traces relate to StreamInsight?

Feb 18, 2013 at 7:14 PM
Hi,

Great job on this project! Does Linq to Traces related to StreamInsight in any way?

Thanks,
Jerry
Coordinator
Mar 7, 2013 at 12:03 AM
Hi Jerry,

Tx has no relationship nor dependency on StreamInsight.

It's has two purposes to exist:

1) Help people to parse formats that are not easily accessible in C#

Although Tx uses Rx internally, it does not mean you have to do "query" in your code.
For example:
  • UI tools can use the parsers to directly draw events
  • It is easy to use the events in imperative code (e.g. state machine)
As a specific case, Tx can be used with StreamInsight:
Playback playback = new ...
...
var stream = playback.GetObservable<Parse>()
    .ToPointStream(_application,
    e => PointEvent<T>.CreateInsert(e=>e.OccurenceTime, e),
    AdvanceTimeSettings);

2) Educate people how to do LINQ to unbound streams

We are focusing on Rx and LINQ to Objects as technologies that are free.
But many of the lessons apply to StreamInsight - e.g. first do the streaming computation and then use LINQ to Objects or Databases.

Georgi