Trinhhieu668 | Golang
1,089 FOLLOWERS
My name’s Hieu, i was a student at Ha Noi university of science and technology. And now, I am working at Azstack Pte.ltd company as backend developer and system admin. I really like learn more about new technology.
Trinhhieu668 | Golang
3y ago
Recently somebody have some questions for me.
Why i can’t run go get ?
How to change workspace project with Go ?
Why after i exit session on terminal then all config is reset and go command not found ?
Ok, the following below i will detail, how i installed Go ? You can get more information about it at page https://golang.org/doc/install.
Step 1 : Download the latest or the stable version Go. Currently i use Go version 1.9.1 for my project.
wget https://storage.googleapis.com/golang/go1.9.1.linux-amd64.tar.gz
Step 2: Check Go is installed on system and clear it.
sudo rm -rf /usr/lo ..read more
Trinhhieu668 | Golang
3y ago
In the previous post, i have implemented simple circuit-breaker pattern with Java, and today i will do it with Go
Talk about advanced of Go
+ Golang has great concurrency, the memory required for creating thread is very light.
+ Code is simple and very clean, easy to lean.
+ Appropriate and effective for service application.
+ ……
You can get more information at (https://hackernoon.com/why-i-love-golang-90085898b4f7)
Focus on main issue of this post, i will talk about step by step to implement breaker pattern
+ Create package and file breaker.go into the folder
+ Define state service and s ..read more
Trinhhieu668 | Golang
3y ago
In our system, we have many services and it is allocated at difference servers. We have used RPC (Remote Procedure Calls) to call between services but I have a problem about failure with remote call.In a distributed environment calls to remote resource and services can fail due to transient faults such as slow network connections, timeouts or the resources being over committed or temporary unavailable. So i started to learn about “retry pattern” and i have found “Circuit breaker” as pattern give me a solution for my problem.
I have set some goals as follows
+ Learn about “Circuit breaker patte ..read more