---
title: "Discussion on \"How to write an efficient scheduler in Java - Part 2\" | Hashnode"
description: "Discussion on \"How to write an efficient scheduler in Java - Part 2\". In part1 I explained there are two options to have a scheduler in Java: SchedulerExecutorService and DelayQueue. I decided to go with the second one even though it is a bit lower level.\nThe reason is, in SolidInbox the jobs do not always have a fixed..."
url: "https://hashnode.com/posts/how-to-write-an-efficient-scheduler-in-java-part-2/631b6cc6f73f4734bc051e15"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to write an efficient scheduler in Java - Part 2](https://mahdix.com/how-to-write-an-efficient-scheduler-in-java-part-2?utm_source=hashnode&utm_medium=feed)

In part1 I explained there are two options to have a scheduler in Java: SchedulerExecutorService and DelayQueue. I decided to go with the second one even though it is a bit lower level. The reason is, in SolidInbox the jobs do not always have a fixed...

Sep 9, 2022 · 2 min read · mahdix.com  
Read the article

## Written by

[Mahdi M.](https://hashnode.com/@mahdix)

@mahdix · London

  
[View profile](https://hashnode.com/@mahdix)

Software Developer

Hands-on technology leader with 10+ years building scalable, mission-critical systems at Goldman Sachs, Brevan Howard and fast-growing fintechs. Expert in cloud-native architectures, distributed data pipelines and high-throughput systems; experienced in migrating legacy platforms and designing AI-enabled services. Proven track record delivering reliable platforms that process millions of transactions daily.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
