Concurrency Patterns in Cin Go Artsiom Bukhautsou Senior Backend Engineer @Nord SecurityFan-out 🌱 Pipeline 🤔 Fan-in, Fan-out, Pipeline 🦾 Agenda Fan-in 🌱 Tee 🌱 1. 2. 3. 4. 5.Why learn these patterns?Fan-inFan-in (Example)Fan-in, Fan-out, PipelineFan-in, Fan-out, Pipeline Pros - Maximized throughput - Scalable architecture Cons - System complexity Use cases - ETL processes - Multimedia processingFan-in, Fan-out, Pipeline0 码力 | 20 页 | 1.35 MB | 6 月前3
When Nanoseconds Matter: Ultrafast Trading Systems in C++Kernel bypass when receiving data from the exchange (or other low-latency signals) - Dispatch / fan-out to processes on the same serverUserspace Networking 66 • Solarflare – industry standard low-latency readers don’t affect the writer # Consumers? Many Message Size? Variable length Dispatch? Fan-out Type Support?82 Concurrent Queues Bounded? Yes – simpler & faster Blocking? No – readers don’t don’t affect the writer # Consumers? Many Message Size? Variable length Dispatch? Fan-out Type Support? PODsPrinciple #7: “Choose the right tool for the right task” 83 Source: ChatGPT84 FastQueue0 码力 | 123 页 | 5.89 MB | 6 月前3
7 Years of Talking to People: The Importance of Giving Talks in Golang Warsaw #59Managing Deadlines, Cancellation, and Timeouts" 7. "Advanced Channel Patterns in Go: Pipeline, Fan-Out, and Fan-In" 8. "Understanding Go's Package Structure and Module System" 9. "Effective Use of Reflection0 码力 | 26 页 | 3.20 MB | 6 月前3
共 3 条
- 1













