cancel
Showing results for 
Search instead for 
Did you mean: 

peach / no socket in kdb 3.5

Ben_R
New Contributor
Previously i was able to use peach to run simultaneous queries.  It looks like that functionality does not exist in 3.5 anymore. I'm getting a nosocket error.  Is there another way to do this? thx
3 REPLIES 3

Jonathan_Foster
New Contributor
Hello Ben,

As far as I know you can still use peach to run simultaneous queries in V 3.5. Could you post what command you tried running? It would help better understand the cause of the issue.

Jonathan

Jonathan_Foster
New Contributor
Hello Ben,

To demonstrate I have included the below code of a Q session which I started with 2 slave processes. I have run a command with and without using peach. As you can see the query does indeed run faster when using peach. Is this the sort of simultaneous query you are attempting to run?

q)\t {sum exp x?1.0} each 8#1000000
492
q
)\t {sum exp x?1.0} peach 8#1000000
255


Ben_R
New Contributor
sry let me clarify - peach works in general, but i'm receiving a nosocket error when i'm trying to do different hopens within each peach.

so, peach1 has hopen:A, queryA; peach2 has hopen:B, queryB and the return is queryA,queryB after a raze.