Forwarded from Syra's Techbinder
https://blog.gopheracademy.com/advent-2016/testing-distributed-systems-in-go/
"Reliability and robustness is etcdβs highest priority. This post will explain how etcd is tested under various failure conditions."
Tags: #programming #Go
"Reliability and robustness is etcdβs highest priority. This post will explain how etcd is tested under various failure conditions."
Tags: #programming #Go
The Daily Go
The Daily Go How to correctly use context in Golang https://medium.com/@cep21/how-to-correctly-use-context-context-in-go-1-7-8f2c0fafdf39 #Guide #Concurrency
Introduction to context :
In #Go_servers, each incoming request is handled in its own goroutine. Request handlers often start additional goroutines to access backends such as databases and RPC services. The set of goroutines working on a request typically needs access to request-specific values such as the identity of the end user, authorization tokens, and the request's deadline. When a request is canceled or times out, all the goroutines working on that request should exit quickly so the system can reclaim any resources they are using.
At #Google, we developed a context package that makes it easy to pass request-scoped values, cancelation signals, and deadlines across API boundaries to all the goroutines involved in handling a request. The package is publicly available as context. This article describes how to use the package and provides a complete working example.
https://blog.golang.org/context
In #Go_servers, each incoming request is handled in its own goroutine. Request handlers often start additional goroutines to access backends such as databases and RPC services. The set of goroutines working on a request typically needs access to request-specific values such as the identity of the end user, authorization tokens, and the request's deadline. When a request is canceled or times out, all the goroutines working on that request should exit quickly so the system can reclaim any resources they are using.
At #Google, we developed a context package that makes it easy to pass request-scoped values, cancelation signals, and deadlines across API boundaries to all the goroutines involved in handling a request. The package is publicly available as context. This article describes how to use the package and provides a complete working example.
https://blog.golang.org/context
The Daily Go
Event loop networking framework that is fast and small. It makes direct epoll and kqueue syscalls rather than using the standard Go net package, and works in a similar manner as libuv and libevent.
https://github.com/tidwall/evio
#epoll #libevent #c #go #networking #net
Event loop networking framework that is fast and small. It makes direct epoll and kqueue syscalls rather than using the standard Go net package, and works in a similar manner as libuv and libevent.
https://github.com/tidwall/evio
#epoll #libevent #c #go #networking #net
GitHub
GitHub - tidwall/evio: Fast event-loop networking for Go
Fast event-loop networking for Go. Contribute to tidwall/evio development by creating an account on GitHub.
Forwarded from The Devs
Gopher's reading list, a curated selection of blog posts on Go.
#resources #list #tutorial #go
@thedevs
https://kutt.it/sxvCt4
#resources #list #tutorial #go
@thedevs
https://kutt.it/sxvCt4
The Daily Go
Go is the fastest growing languages on GitHub in the last quarter 2018.
https://madnight.github.io/githut/#/pull_requests/2018/2
#Go #Github
Go is the fastest growing languages on GitHub in the last quarter 2018.
https://madnight.github.io/githut/#/pull_requests/2018/2
#Go #Github