Ivo Stratev
Mar 7, 2024

--

Hey Mehmet,

Sometimes you may need to have GOMAXPROCS set to an even higher value than the the number of (virtual) cores if the program is bottlenecked by blocking I/O. In such cases, you may want to let the OS scheduler do its work in conjunction with the Go's one ;)

There is no universal recipe when it comes to optimizing programs. It is always down to profiling :)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ivo Stratev
Ivo Stratev

Written by Ivo Stratev

Passionate about Programming. Interested in Highly Distributed Systems and the Microservice Architecture. In love with Math and proving things.

Responses (1)

Write a response