cep - create new event in output adapter streaminsight -


i have following problem in streaminsight. have query new tasks order came in , trigger output adapter make prediction. outputadapter writes predicted task cycle time table (in windows azure). prediction based on neural networks , plugged in in outputadapter. after prediction written in table want else predicted times. in second query want count number of written tasks in time window of 5 minutes. when number of predicted values saved in table equal number of tasks in order, want predicted values table , make prediction of order cycle time.

for idea need make new event in outputadapter know predicted time writen in table. don't thinks possible enqueue new events in streaminsight server outputadapter.

maybe figure makes problem clear: http://i40.tinypic.com/4h4850.jpg

hope can me. carlo

first off, i'm assuming using pre-2.1 streaminsight based on use of term "output adapter".

from you've posted, recommend adapters either input or output, not both. cuts down on complexity, makes implementation easier, , depending on how wrote adapter, have reusable piece of code in solution.

if wanting send data streaminsight neural network prediction engine, need write output adapter that. create input adapter results neural network prediction engine , enqueue data streaminsight. after creating stream neural network prediction engine input adapter, can use dynamic query composition share stream windows azure storage output adapter , next query.

if neural network prediction engine can "push" data input adapter, way do. if not, you'll have poll results.

there lot more this, it's difficult drill in more specifics without more details.

hope helps.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -