Other phasesStep 1Step 2Step 3Step 4Step 5Later phasesfrom phase 2TCP flow controlfrom phase 1Threadsfrom phase 1Signalsfrom phase 3Load balancingfrom phase 1Context switchesfrom phase 1File descriptorsfrom phase 1CPU cachesfrom phase 1System callsfrom phase 2Ports and socketsfrom phase 2TCPused in phase 13Load sheddingused in phase 9Amdahl's lawused in phase 8Deadlock detectionused in phase 9Redis internalsused in phase 14Deployment…used in phase 13SLIs, SLOs and…used in phase 7Storage…used in phase 9The RED methodused in phase 9Tail latencyused in phase 9Latency histogramsused in phase 9Load testingused in phase 7Latchesused in phase 8Lost updatesused in phase 13BulkheadsAsync/awaitAtomic operationsBackpressureBounded queuesThe C10K problemConcurrency vsparallelismCPU-bound vs I/O-bound workDeadlockEvent loopsGraceful shutdownGreen threadsI/O multiplexingio_uringLatency percentilesLock-free datastructuresMemory modelsMessage passingMutexesNon-blocking I/ORace conditionsRace detectorsRESP, the RedisprotocolThread perconnectionThread pools

Phase 4 of 17

Concurrency and I/O models

backend-eng-graph