Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 2.18 KB

README.md

File metadata and controls

60 lines (45 loc) · 2.18 KB

scheduler kata

Grinding the api-queue-worker pattern for fun

Motivation

  • practice PostgreSQL
  • practice PostgREST
  • practice benchmarking
  • practice Rust

Requirements

Expose an API that can:

  • Create a task of a specific type and execution time, returning the task's ID
  • Show a list of tasks, filterable by their state (whatever states you define) and/or their task type
  • Show a task based on its ID
  • Delete a task based on its ID
  • The tasks must be persisted into some external data store (your choice).
  • Process each task only once and only at/after their specified execution time.
  • Support running multiple instances of your code in parallel.

Additional materials

Iterations log