Archives
-
CEP Style Sliding windows in the RX – Take 2
The bug I mentioned in my first attempt at a sliding window was the minor issue that the aggegates never went down to 0, even if the window had emptied out.
-
Sliding Windows via the Reactive Framework
A few months ago, playing with CTP 2 of StreamInsight, I created a small VWAP demo on a sliding window. Now that a proper CTP of the RX is available, I wanted to see how much effort the same demo would be without the CEP infrastructure of StreamInsight. I’ll admit that this was a little bit harder to write then I expected – and there’s still at least one bug remaining (updated) , but the code for actually computing the VWAPS feels much cleaner in the RX version then it did in the StreamInsight version. The debugability (which is really about transparency) of RX is a welcome difference to most CEP systems.
-
Reactive Framework available from DevLabs
Downloads of the Reactive Framework (RX) can now be found at MS DevLabs. Versions for 3.5 SP1, 4.0 Beta, and Silverlight 3 are available. Interestingly, the API size appears to be substantially larger than the preview which was leaked as part of the Silverlight 3 Toolkit. That DLL was all of 84KB, the current release is weighs in at 283KB.
-
From the ReactiveFramework to StreamInsight and Back
In my last post I showed how to send StreamInsight output streams to a UI via the ReactiveFramework. Here’s we’ll do the reverse, by sending an RX stream into a CEP stream. Instead of a partial example, I’ll use an end to end example showing simulated stock ticks, computing the 5 min rolling VWAP, and showing the results on a UI.
-
Routing StreamInsight output streams to a UI
One compelling feature of StreamInsight is it’s in-process hosting model. In addition to reducing the complexity of server side installs, it’s now possible to have a CEP engine in the client UI.
-
A first look at MS StreamInsight
This morning I was hoping to take a few minutes to modify one of the examples in the StreamInsight CTP and send an output stream to a UI, rather than the text files used in the examples. I thought this would be easy, as the readme states that there’s
-
Exploring the Reactive Framework part II
Talk around the water cooler is that it might be possible to use the Reactive Framework for some lightweight CEP.
-
Exploring the Reactive Framework (RX)
A few days ago, intentionally or not, a version of the Reactive Framework was released into the wild. Let’s see how we can use the RX for computations on a stream of data. As an example we’ll take a stream of ints and produce the averages in groups of five.
-
Preview of the Reactive Framework available via Silverlight Toolkit
Via Jafar Husain - it appears that there’s a early release of the Live Labs Reactive Framework (& with Brian Beckman and Erik Meijer) in the latest Silverlight Toolkit
-
When Add(ing)-Type, choose your method signatures wisely
-
Some interesting sessions at the Microsoft Enterprise Developer and Solutions Conference
-
CPU Monitoring and Alerting via Performance counters, Coral8, and PowerShell
The PowerShell team has a short post on using V2 cmdlets to Monitor performance counters.
-
CEP, Citi, and Coral8
The system I helped build at my previous job gets a nice write-up in Wall Street & Technology:
-
Using Coral8 and PowerShell to receive eventing data
I’ve updated the PowerShell Coral8 adapter so it can be used to receive input. Rather than demonstrate input from a database or an RSS stream, both of which can are supported by the native Coral8 adapters, I have a demo with WMI events. In this case allowing us to monitor process creation across a network.
-
Stream transforms in Coral8 via .Net
In the first post on integrating PowerShell and Coral8 I showed how to create a message sink. In C#ish pseudocode we did the following:
-
Automatic properties in PowerShell… and how you can almost have them for your custom types
For certain types, PowerShell has automatic properties, by this I mean PowerShell is able to inspect the object and then expose properties where normally you would need to use a string indexer.
-
In-process PowerShell adapter for Coral8
A few days ago a thought crept into my head; wouldn’t it be nice if I could have a Coral8 in-process adapter to run PowerShell code? If it worked it could potentially be a “universal” adapter, limiting the need for custom one-off adapters.
-
Adding var args support to office integration functions with dynamic lambda expressions
Anyone who’s ever done office integration has come across a method definition like so:
-
Linq2Kdb+ Provider - source code update
A few months ago, over the winter holiday, I put together a Linq provider for the Kdb+ database. The folks at KX systems have graciously provided a place to host the code, which you can find at https://code.kx.com/svn/contrib/sweinstein/linq2kdbplus. Use anonymous/anonymous for access.
-
Dependency Injection for end-of-lifecycle clean up
The benefits of using an inversion of control container for simplifying the task of initializing an object graph have been well covered. But the benefits of using an IoC container for simplifying object cleanup are not as well publicized, and is a feature that I've grown to really like taking advantage of.
-
Catalog of User Experience Patterns
Via Brad Abrams, check out this great site: Quince: a catalog of UX design patterns.
-
A Linq2Kdb+ Query provider
Over the winter break I wanted to learn more about a few technologies:
-
Creating high performance WCF services
I had a WCF service where I wanted to be able to support over a hundred concurrent users, and while most of the service methods had small payloads which returned quickly, the startup sequence needed to pull down 200,000 records. The out of the box WCF service had no ability to support this scenario, but with some effort I was able to squeeze orders of magnitude performance increases out of the service and hit the performance goal.