I hereby claim:
- I am bpot on github.
- I am bpot (https://keybase.io/bpot) on keybase.
- I have a public key whose fingerprint is A287 568E 79FA 759A 1300 8FC7 8B3D EF7D 9D8F B781
To claim this, I am signing this object:
| curl http://localhost:6060/debug/pprof/goroutine?debug=2 | tee goroutine.txt | grep -A3 goroutine | grep ":" | sort | uniq -c | sort -rn | head |
I hereby claim:
To claim this, I am signing this object:
| require 'ffi' | |
| module Block | |
| extend FFI::Library | |
| ffi_lib FFI::Library::LIBC | |
| attach_function :sleep, [:uint], :void | |
| end |
| [email protected] |
Kafka failures when sending to a single topic:
| [email protected] | |
| [email protected] | |
| [email protected] |
A write efficient implementation of large (consistent) sets on DynamoDB.
DynamoDB has built-in support for sets but if your sets are large (>1000 members) you quickly run into two issues:
| # Attempt to reproduce SSL_shutdown() hang. http://bugs.ruby-lang.org/issues/7584 | |
| require 'net/http' | |
| require 'uri' | |
| 20.times do | |
| Thread.new { | |
| loop do | |
| # Sorry google! | |
| uri = URI.parse("https://www.google.com/") | |
| http = Net::HTTP.new(uri.host, uri.port) |
| a |