~/talk

Parallelize your code, one step at a time

slides:none on file

A concrete recipe appears: use .NET ConcurrentQueue and a concurrent dictionary to stream large results (avoid buffering millions from Get-Mailbox), declare a status flag or close queue to signal completion, and coordinate per-step throttling via a compiled throttle object (e.g. throttle.getSlot) or PSFramework’s built-in runspace workflows. Demos show begin/process/end per worker, per-runspace variables/functions or modules injected, weighted slots and kill vs graceful stop, with occasional demo flakiness but the constructions work end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Parallelization problem
  3. 3:38ForEach-Object -Parallel
  4. 5:02Parallel jobs across servers
  5. 6:30Highlander runspace risks
  6. 10:03Per-step parallelization needs
  7. 14:09Runspaces deep dive
  8. 16:40Concurrent queues for data
  9. 23:10Status flags for tracking
  10. 26:05Thread-safe counting
  11. 29:02Throttling runspaces
  12. 32:16PS Framework workflows
  13. 33:24Basic runspace workflow
  14. 36:33Queues auto-completion
  15. 39:00Workflow resources
  16. 41:31Adding functions to runspaces
  17. 44:03Long-running commands with queues
  18. 46:31Q&A on module commands
  19. 49:24Per-thread setup blocks
  20. 51:10Throttling in PS workflows
  21. 53:48Race conditions and safety
  22. 56:24Closing remarks
~/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.