bigqueue icon indicating copy to clipboard operation
bigqueue copied to clipboard

Concurrent write and read from different instances of the same bigqueue

Open anubhavsahoo opened this issue 12 years ago • 2 comments

Hi, I was trying to write to a bigqueue from a java process and read from it from it from another process. But this resulted in the read process not able to see any data.

Is there any way to accomplish this using bigqueue?

anubhavsahoo avatar Jan 03 '14 07:01 anubhavsahoo

Hi,

The big queue has only been verified in cross-threads case, but not in cross-proceses case, you may try to flush the big queue from the writer process before reading from another process?

Or you may try Luxun(https://github.com/bulldog2011/luxun) - it's client/server version of big queue.

Thx! -William

bulldog2011 avatar Jan 05 '14 15:01 bulldog2011

hi yes we tried flushing but that didn't work. the only thing that did seem to work was creating a bigqueuee instance every time we went to read.

anyways, thanks for the info. On 05-Jan-2014 8:45 PM, "bulldog" [email protected] wrote:

Hi,

The big queue has only been verified in cross-threads case, but not in cross-proceses case, you may try to flush the big queue from the writer process before reading from another process?

Or you may try Luxun(https://github.com/bulldog2011/luxun) - it's client/server version of big queue.

Thx! -William

— Reply to this email directly or view it on GitHubhttps://github.com/bulldog2011/bigqueue/issues/5#issuecomment-31606433 .

anubhavsahoo avatar Jan 06 '14 08:01 anubhavsahoo