#Golang-Concurrent

18 articles

Creating a Thumbnail Image Generator Using Pipeline Pattern

Creating a Thumbnail Image Generator Using Pipeline Pattern

We also use Generate Image using Golang to make it easier for editors so they don’t need to edit using other applications so that we can easily put the desired image.

Creating a Web Crawler using Golang

Creating a Web Crawler using Golang

Web Crawlers are often used to retrieve something on a website so that we get the content we need.

Recognizing Package Context With Timeout In Golang

Recognizing Package Context With Timeout In Golang

Package introduction context.WithTimeout In the previous article we learned context.WithCancel where we manually send the cancel signal from context.

Knowing and Implementing Atomic Sync in Golang

Knowing and Implementing Atomic Sync in Golang

Introduction to sync.Atomic For atomic operations on variables in golang, the sync/atomic package offers certain low-level methods.

Getting to Know Sync Cond on Golang

Getting to Know Sync Cond on Golang

Introduction of sync.Cond sync.Cond is a locking process that is used with certain conditions.

Getting to Know Sync Once On Golang

Getting to Know Sync Once On Golang

Introduction of sync.Once We can use this feature in Golang to ensure that a function is executed only once.

Getting to Know Sync Map on Golang

Getting to Know Sync Map on Golang

Introduction to sync.Map This sync.Map is actually very similar to the regular Generic Golangnya map, but the difference is that this map is safe to use during concurrent goroutines.

Getting to know the Sync Pool on Golang

Getting to know the Sync Pool on Golang

Introduction to sync.Pool We often hear sync.Pool when implementing a design pattern called Object Pool Pattern.

Getting to Know WaitGroup on Golang

Getting to Know WaitGroup on Golang

Introduction Waitgroup is a feature of Golang that is used to wait for a process carried out by several goroutines.

Knowing Deadlock and How to Overcome It in Golang

Knowing Deadlock and How to Overcome It in Golang

Introduction One of the problems that occurs when using concurrent or parallel is the deadlock system.

How to Create RW Mutex and Its Use in Golang

How to Create RW Mutex and Its Use in Golang

Introduction to Sync.RWMutex After we have learned Introduction and Creation of `Mutex` in the previous post, then we will continue to the next stage which is the introduction of RWMutex.

How to Create Mutex and Its Use in Golang

How to Create Mutex and Its Use in Golang

Introduction of Sync.Mutex Mutex or stands for Mutual Exclusion is a way to overcome race conditions in the Golang language.