Skip to content

About

grinding the api-queue-worker pattern

Resources

Stars

0 stars

Watchers

1 watching

Forks

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages