~/talk

Workflow library in Go for API development

Talkat GopherCon India 2024 · 2024-11-11..11-13· [go, software-architecture]
links:none on file
slides:none on file

A lightweight Go workflow library that runs inside a single API request models work as a graph of nodes with map datastore, executes nodes with a controller that spins executors into separate goroutines, and uses goroutines and channels (notifier, output, broadcast per executor) to coordinate dependencies. It supports actor types for gRPC/HTTP/DB, has a rollback actor and graph-level error/panic state to stop paralell calls, records logs/metrics, costs about 3–4% extra latency in their tests, and is not open source.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What is an API workflow
  3. 2:55Real-world API workflow example
  4. 5:06Introducing the workflow framework
  5. 5:49Workflow architecture explained
  6. 7:12Workflow execution with controller
  7. 11:48Worker communication via channels
  8. 13:10Step-by-step workflow execution
  9. 15:00Key features of the workflow
  10. 16:46Rollback handling in workflows
  11. 17:30Benefits and flexibility
  12. 18:53Comparison with existing workflows
  13. 19:58Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.