Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance of bigqueue when read and write mixed. #31

Open
choiyoung206 opened this issue Dec 17, 2017 · 0 comments
Open

Performance of bigqueue when read and write mixed. #31

choiyoung206 opened this issue Dec 17, 2017 · 0 comments

Comments

@choiyoung206
Copy link

I had written a program to test the performance of bigqueue, the program have 1 producer thread and 1 consumer thread. I'm adding messages in 1 thread and reading messages in another thread simultaneously. I have got following result :
Producer thread written 9 million messages with speed of around 125 MB/S.
Consumer thread managed to read just over 2 a million record in same time with speed of around 35 MB/S.

Now when I read separately the reading speed is around 95 MB/S.

The significant difference between the reading speed when I read sequentially and when I read randomly due is due to synchronization or this is abnormal and I'm doing it in wrong way.

Kindly let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant