Skip to content

changes for using disruptor queue#1

Open
raghuteja wants to merge 1 commit into
masterfrom
raghu_lock_less_queue
Open

changes for using disruptor queue#1
raghuteja wants to merge 1 commit into
masterfrom
raghu_lock_less_queue

Conversation

@raghuteja
Copy link
Copy Markdown

No description provided.

@raghuteja raghuteja requested a review from serveshjain March 15, 2019 13:10
}
name = workerName;
taskQueue = new LinkedBlockingQueue<Runnable>();
taskQueue = new DisruptorBlockingQueue<Runnable>(50000);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What \is the rationale behind 50000? Can it be more or less and what will be the impact?

Comment thread api/pom.xml

<dependencies>
<dependency>
<groupId>com.conversantmedia</groupId>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there other queues available, please put examples of other queues? Though this one solves our current problem but the CPU usage is too high.

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

Successfully merging this pull request may close these issues.

2 participants