Fforfd8960incodeforfun.hashnode.dev·Jun 2, 2022 · 1 min readLSM Tree - IntroductionWhat is LSM Two-Component LSM-Tree Algorithm Performance of LSM Tree00
Fforfd8960incodeforfun.hashnode.dev·Jan 9, 2022 · 1 min readHystrix in GoWhat is hystrix The hytrix settings type CommandConfig struct { Timeout int `json:"timeout"` CommandGroup string `json:"command_group"` MaxConcurrentRequests int `json:"max_concurrent_requests"` Request...00
Fforfd8960incodeforfun.hashnode.dev·Dec 13, 2021 · 2 min readGolang reflectWhat Reflect can be used for. Reflection can be used to examine type and value info at runtime. How to get the actual type of an interface. package main import ( "fmt" "reflect" ) func typeOf(vals ...interface{}) { for _, v := range val...00
Fforfd8960incodeforfun.hashnode.dev·Dec 12, 2021 · 3 min readGolang sync mapWhat is sync.Map sync map is concurrent safe map data type. Use Cases used to store keys and values in multiple concurrent goroutines. Example valueStore is a sync map used to store values in multiple goroutines. after all goroutines finished store d...00
Fforfd8960incodeforfun.hashnode.dev·Dec 12, 2021 · 2 min readGolang Slicethere are three way to declare a slice in golang. define slice // use slice literal var slice []int // use make without cap var slice = make([]int, 10) // len == cap = 10 // use make with cap var slice = make([]int, 0, 10) // len=0. cap = 10 // The a...00