Concurrency Patterns in CArtsiom 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 Pros - Simplifies Stage latency accumulation Use cases - ETL processes - Multimedia processingPipeline (Example)Fan-in, Fan-out, PipelineFan-in, Fan-out, Pipeline Pros - Maximized throughput - Scalable architecture0 码力 | 20 页 | 1.35 MB | 6 月前3
7 Years of Talking to People: The Importance of Giving Talks in Golang Warsaw #59Deadlines, 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 Reflection in0 码力 | 26 页 | 3.20 MB | 6 月前3
Kotlin 1.2 Language Documentationiteration over channels Building channel producers Pipelines Prime numbers with pipeline Fan-out Fan-in Buffered channels Channels are fair Ticker channels Deferred values provide a convenient way (in this example we launch them in the context of the main thread as main coroutine's children): Fan-in 262 fun main(args: Array) = runBlocking { val channel = Channel () launch 0 码力 | 333 页 | 2.22 MB | 1 年前3
Kotlin Language Documentation 1.3iteration over channels Building channel producers Pipelines Prime numbers with pipeline Fan-out Fan-in Bu�ered channels Channels are fair Ticker channels Deferred values provide a convenient way to s: String, time: Long) { while (true) { delay(time) channel.send(s) } } Fan-in 494 Now, let us see what happens if we launch a couple of coroutines sending strings (in this example0 码力 | 597 页 | 3.61 MB | 1 年前3
The Vitess 6.0 DocumentationIf there is no CA specified then TLS is optional. Session Scope Vitess uses a connection pool to fan-in connections from VTGate servers to Tablet servers. VTGate servers will refuse statements that make0 码力 | 210 页 | 846.79 KB | 1 年前3
The Vitess 5.0 Documentationthere is no CA specified then TLS is optional. 52 Session Scope Vitess uses a connection pool to fan-in connections from VTGate servers to Tablet servers. VTGate servers will refuse statements that make0 码力 | 206 页 | 875.06 KB | 1 年前3
The Vitess 7.0 DocumentationIf there is no CA specified then TLS is optional. Session Scope Vitess uses a connection pool to fan-in connections from VTGate servers to Tablet servers. VTGate servers will refuse statements that make0 码力 | 254 页 | 949.63 KB | 1 年前3
Go 101 (Golang 101) v1.21.0From the last example, we can find that, with the help of aggregators, it is easy to implement fan-in and fan-out for the number of workers for a specified module. In fact, we can use a simple channel0 码力 | 610 页 | 945.17 KB | 1 年前3
Go 101 (Golang 101) v1.21.0From the last example, we can find that, with the help of aggregators, it is easy to implement fan-in and fan-out for the number of workers for a specified module. In fact, we can use a simple channel0 码力 | 880 页 | 833.34 KB | 1 年前3
Go 101 (Golang 101) v1.21.0From the last example, we can find that, with the help of aggregators, it is easy to implement fan-in and fan-out for the number of workers for a specified module. In fact, we can use a simple channel0 码力 | 630 页 | 3.77 MB | 1 年前3
共 11 条
- 1
- 2













