Skip to content

Commit

Permalink
chore: add build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Amninder Kaur committed Sep 5, 2023
1 parent 1fd9fb7 commit 9e880dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://img.shields.io/github/actions/workflow/status/kindredgroup/chronos?branch=master)](https://github.com/kindredgroup/chronos/actions/workflows/build.yml)
[![codecov](https://img.shields.io/codecov/c/github/kindredgroup/chronos/master?style=flat-square&logo=codecov)](https://app.codecov.io/gh/kindredgroup/chronos)
# Chronos
Chronos (the personification of time in early Greek philosophy) is a persistent time-delay scheduler. It's generic enough to schedule any type of task with a user-specified time delay.

Expand Down Expand Up @@ -233,12 +235,12 @@ The following requirements are very approximate at this stage.

# FAQ
### How can a delay queue be used to schedule long-running tasks?
Chronos operates at the message level, leaving task execution to the application. If a message corresponds to a long-running task, the application should delegate it to an appropriate task scheduler. An example of that is [Scylla](https://github.com/kindredgroup/scylla). The process might be:
Chronos operates at the message level, leaving task execution to the application. If a message corresponds to a long-running task, the application should delegate it to an appropriate task scheduler. An example of that is [chronos](https://github.com/kindredgroup/chronos). The process might be:

1. Encode the long-running task as a message.
2. Publish a message with a delay.
3. Receive the message later.
4. Create a Scylla task after receiving the delayed message.
4. Create a chronos task after receiving the delayed message.

### Why can't failures be reliably detected in asynchronous systems?
Depending on your background, you might be used to the term "asynchronous" referring to some task that happens independently of another, often concurrently and in the background. You might even associate asynchrony with futures/promises, async/await keywords, coroutines, continuations, interrupts, callbacks, and so forth. These are all instruments for handling asynchronous computation.
Expand Down

0 comments on commit 9e880dd

Please sign in to comment.