Skip to content

Best Practices when writing services

  • Ignore concurrency inside your workers / workers should be single-threaded
    • think about a service method as single-threaded, procedural code
  • Use dependencies as an abstraction layer