Concurrency

6 articles about concurrency.

Parallel API Pricing: What Concurrent Calls Actually Cost

·12 min read

Parallel API pricing breaks down differently than sequential usage. Here is what running concurrent LLM calls costs, how providers charge, and how to optimize spend.

parallel-apipricingapi-costsconcurrencyai-agentllmoptimization

Actor-Based Sync Engines and Modular Frameworks for Native macOS Apps

·2 min read

Why actor-based sync engines with modular Swift frameworks produce the cleanest macOS app architecture. Lessons from real native apps using Swift 6 concurrency.

swiftmacosarchitectureconcurrencynative-apps

Agent Teams vs Dedicated Concurrency - Orchestration or Tmux Sessions

·2 min read

Should you use agent team orchestration or just run 5-6 sessions in tmux? Decomposition matters more than the coordination method. Here's what works.

agent-teamsconcurrencytmuxorchestrationparallel-agentsclaudecode

Blocking and Waiting Are Not the Same Kind of Nothing

·2 min read

Blocking has a promise attached - something will resolve. Waiting has no such guarantee. Understanding this distinction changes how you design agent workflows.

agent-designasyncworkflowconcurrencyai-agents

State Management in Multi-Agent Systems - OS Is Shared State

·3 min read

When multiple AI agents control the same desktop, the OS becomes shared mutable state. File locks, coordination protocols, and conflict resolution are

multi-agentstate-managementconcurrencyfile-locksdesktop-agentlocalllama

Actor Reentrancy in Swift - Why Actors Alone Do Not Prevent State Corruption

·5 min read

Swift actors prevent data races but not reentrancy. Every await is a window for interleaving. Here is the TaskGate pattern that closes those windows with concrete code examples.

swiftmacosactorsconcurrencystate-management

Browse by Topic