- Sony's GoBreaker implementation
- GoBreaker is easy to use
- GoBreaker allows us more direct access to state, and the transitions to and from states
- GoBreaker gives us the ability to fully customize circuit breaker trip conditions.
- Go Hystrix was also evalutated, but proved to be more difficult to control and more difficult to examine state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
const n = 7 | |
var a = []uint{n:n} | |
fmt.Println(cap(a)) // prints: 8 |
I hereby claim:
- I am justindag on github.
- I am justindag (https://keybase.io/justindag) on keybase.
- I have a public key ASDWDjMKgm9foBIKPawmKRdamB4VmSZqk7v2w0a0rWji-Ao
To claim this, I am signing this object:
I hereby claim:
- I am justindag on github.
- I am justindag (https://keybase.io/justindag) on keybase.
- I have a public key ASDcXNFdkp6vXDLhwfBXUqtyy-waOg9PM5o4L-b3uEsMKwo
To claim this, I am signing this object:
#PP Gophers Meeting
##Agenda
- Request for items
- PP Go-Example Redux code walk-through
- PP Go-Example Redux discussion
- Next meeting lead
##PP Go-Example Redux
- restate goals:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centurylink/ca-certs | |
MAINTAINER Justin Dagostino | |
LABEL version="0.1" name="SuperService" description="Super as a Service" | |
WORKDIR /app | |
COPY ./etc/config/config.json /app/ | |
COPY ./superservice /app/ | |
ENTRYPOINT ["./superservice"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bars": true, | |
"y-axis": true, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"y_formats": [ | |
"ms", | |
"ms" | |
], | |
"linewidth": 3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Runtime Memory Stats", | |
"error": false, | |
"span": 5, | |
"editable": true, | |
"type": "graph", | |
"id": 8, | |
"datasource": null, | |
"renderer": "flot", | |
"x-axis": true, |