How Everything handles two es.exe simultaneous queries?

Plug-in and third party software discussion.
Post Reply
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

How Everything handles two es.exe simultaneous queries?

Post by qianw »

two es.exe simultaneous queries,Is the second one waiting for the first completion or Everything Client handles synchronously?
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: How Everything handles two es.exe simultaneous queries?

Post by void »

Everything can only process ES (IPC) queries one at a time.
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

Re: How Everything handles two es.exe simultaneous queries?

Post by qianw »

void wrote: Thu Sep 26, 2019 3:06 am Everything can only process ES (IPC) queries one at a time.
Similarly,Everything_Query(FALSE) is processed?
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: How Everything handles two es.exe simultaneous queries?

Post by void »

You can make multiple asynchronous Everything_Query(FALSE) calls.
However, they will still only be processed one at a time.
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

Re: How Everything handles two es.exe simultaneous queries?

Post by qianw »

void wrote: Thu Sep 26, 2019 3:20 am You can make multiple asynchronous Everything_Query(FALSE) calls.
However, they will still only be processed one at a time.
I tried,but I got result in my reply window only once.

There are millions of results in my search. It may take ten seconds for me to query once. Is there a way to get this data in a shorter time?
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: How Everything handles two es.exe simultaneous queries?

Post by void »

The Everything SDK has only one search instance per process.
Multiple Everything_Query(FALSE) can not be called at the same time with the Everything SDK.

Please try sending multiple IPC requests manually.
This can be done with unique reply HWND or reply WM_COPYDATA ID.
qianw
Posts: 20
Joined: Fri Aug 09, 2019 2:29 am

Re: How Everything handles two es.exe simultaneous queries?

Post by qianw »

void wrote: Thu Sep 26, 2019 3:36 am The Everything SDK has only one instance per process.

-or-

Send multiple IPC requests manually.
This can be done with unique HWND or reply WM_COPYDATA ID.
This should be no way to shorten the time to get a lot of data, right?
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: How Everything handles two es.exe simultaneous queries?

Post by void »

Correct. Multiple IPC requests will not improve performance.
Post Reply