Skip to content

mrl5/scheduler-kata

Repository files navigation

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

About

grinding the api-queue-worker pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published