Please enable JavaScript.
Coggle requires JavaScript to display documents.
Golang concurrency - Coggle Diagram
Golang concurrency
concurrency
-
-
Hardware mapping
Concurrent exec or Parallel exec is decided by operating system, golang whatever
-
operation systems uses concurrency seamlessly
to make impression of parallelism (example 20 ms for a process)
-
-
-
-
Why to use concurrency?
-
-
Concurrency can run on one core, It will not make this core faster, but it may remove hiding latency (waiting for memory)
In go when goroutine is idling for some reason, Go scheduler schedules another goroutine that has code to run and work to do.
-
-
-