1. tickerplant - the tick.q script defines the tickerplant, and runs on port 5010:
..$ q tick.q -p 5010
2. feed - connects to the tickerplant and sends a new batch every 507 milliseconds:
..$ q feed.q localhost:5010 -t 507
3. rdb - the r.q script defines the real time database:
..$ q tick/r.q -p 5011
4. show - the show process, which does not need a port:
..$ q cx.q show
localhost:5010 is passed into script feed.q, as an argument.
-p command option in Q specifies the listening port number of the started Q session
Hi there,I am confused about the code in the kdb+tick demo on this page: http://code.kx.com/wiki/Startingkdbplus/tickUnder "6.5 running the demo" there is the example code. I attached the first two lines as follows,
1. tickerplant - the tick.q script defines the tickerplant, and runs on port 5010:
..$ q tick.q -p 50102. feed - connects to the tickerplant and sends a new batch every 507 milliseconds:
..$ q feed.q localhost:5010 -t 507I am just wondering what is the difference between "-p 5010" and "localhost:5010" ? As far as i know "-p 5010" will start a tickerplant process on local port 5010. And from my understanding feed/run
>q tick.q sym . -p 5010 /tick <-- run tick.q on port 5010
>q tick/r.q :5010 -p 5011 /rdb <-- start rdb process on port 5011 and listen to 5010
>q sym -p 5012 /hdb