~/talk

Parallel Execution with PowerShell

links:none on file
slides:none on file

Shows concrete ways to cut an 8‑hour script toward 30 minutes: use remoting (Invoke‑Command fan‑out, Invoke-Command (fan-out) scales to ~5k targets), avoid spawning many PowerShell.exe processes, prefer jobs for ad hoc background work but use runspaces for efficiency, and prefer runspace pooling with MaxThreads controls concurrency to get predictable throughput while watching CPU/memory. Notes pitfalls: double‑hop/CredSSP, runspace “dirty” state, IPC limits. Describes a working proof‑of‑concept: file‑system / Zookeeper queue service prototype that ran scripts asynchronously.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Interview Question
  3. 1:24Concurrency
  4. 3:25Multiple Computers
  5. 5:54Demo
  6. 8:22Scheduled Tasks
  7. 10:55Single Computer
  8. 13:25Serial Operation
  9. 14:56Jobs
  10. 15:44Patrol
  11. 16:27Job Status
  12. 17:05Job Script
  13. 20:36Run Spaces
  14. 21:41Garbage Collection
  15. 22:23Run Space
  16. 23:37Multiple Run Space
  17. 25:25New Script
  18. 26:06Run Space pooling
  19. 27:17Run Space Balloon
  20. 30:25Sleep
  21. 34:37Synchronization
  22. 36:24Service Queue
~/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.