TL;DR: on esp-modbus v2.1.3 TCP slave, two concurrent TCP clients whose
requests land in the same millisecond window trigger persistent latency
degradation on the surviving connection — even after the "attacker" client
disconnects. guaranteed_repro.py reproduces it 100 %. The v2.1.3 fixes for
#161 (cc8f3f6,
c83a7ea) address a related wake-race and event-loop starvation, but by their
own commit messages do not cover the state leak we observe. This gist contains:
This file contains hidden or 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
| ## you need brew install parallel - paralel from moreutils doesn't work | |
| ## brew edit parallel add: | |
| ## `keg_only "My reason for making this keg-only"` | |
| aws s3 ls "s3://sat-tiles" | awk '{print $2}' | /usr/local/opt/parallel/bin/parallel -j 400 "s3cmd del --recursive --force {.}" |
This file contains hidden or 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
| 2015-09-14 19:41:08.161 TicTacIOiOS[1333:74661] SocketClient: Adding engine | |
| 2015-09-14 19:41:08.162 TicTacIOiOS[1333:74661] SocketEngine: Starting engine | |
| 2015-09-14 19:41:08.162 TicTacIOiOS[1333:74661] SocketEngine: Handshaking | |
| 2015-09-14 19:41:08.162 TicTacIOiOS[1333:74661] SocketEngine: Doing polling request | |
| 2015-09-14 19:41:08.286 TicTacIOiOS[1333:74661] SocketEngine: Got polling response | |
| 2015-09-14 19:41:08.288 TicTacIOiOS[1333:74661] SocketEngine: Got message: 0{"sid":"Mq4WNRJSTAcLsVvFAAAA","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000} | |
| 2015-09-14 19:41:08.289 TicTacIOiOS[1333:74661] SocketEngine: Doing polling request | |
| 2015-09-14 19:41:08.346 TicTacIOiOS[1333:74661] SocketEngine: Got polling response | |
| 2015-09-14 19:41:08.347 TicTacIOiOS[1333:74661] SocketEngine: Doing polling request | |
| 2015-09-14 19:41:08.347 TicTacIOiOS[1333:74661] SocketEngine: Got message: 40 |
This file contains hidden or 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
| pbpaste | awk '{print $1}' | awk -F. '{print $2}' | grep -v "^$" | awk 'NR%2{printf $0" ";next;}1' | awk '{print "merge_region \x27"$1"\x27, \x27"$2"\x27"}' |
This file contains hidden or 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
| Konec requestu | |
| Spinkacek | |
| Zkousim flush | |
| Volam flush | |
| panic: runtime error: invalid memory address or nil pointer dereference | |
| [signal 0xb code=0x1 addr=0x8 pc=0x4ed7d] | |
| goroutine 21 [running]: | |
| runtime.panic(0x2573c0, 0x3e87a4) | |
| /usr/local/Cellar/go/1.3.3/libexec/src/pkg/runtime/panic.c:279 +0xf5 |
This file contains hidden or 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
| #!/bin/bash | |
| FIRST=0 | |
| echo "tell application \"System Events\" to keystroke \"t\" using command down" | osascript | |
| for var in "$@"; do | |
| if [ "$FIRST" = 1 ]; then | |
| echo "tell application \"System Events\" to keystroke \"d\" using command down" | osascript | |
| fi |
This file contains hidden or 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
| @s3 = "s3a://XXXX:XXXX@BUCKET/" | |
| @libjars = `ls /opt/hbase/lib/*.jar | tr "\n" ","` | |
| @ignore = [ /zipkin\..*/i, /.*_temp/i, /.*tmp/i, /test_.*/i, /.*_test/i, /.*_old/i ] | |
| @mappers = "6" | |
| include Java | |
| java_import org.apache.hadoop.hbase.HBaseConfiguration | |
| java_import org.apache.hadoop.hbase.client.HBaseAdmin | |
| java_import org.apache.hadoop.hbase.snapshot.ExportSnapshot |
This file contains hidden or 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
| ## coffee --nodejs --expose-gc index.coffee | |
| ### | |
| sam autor asyncu pise ze se to ma udelat takhle | |
| https://github.com/caolan/async/pull/85#issuecomment-13072390 | |
| or just use a named function for the final callback and call that instead | |
| of the task callback passed into the successful task function. | |
| ### |
I hereby claim:
- I am falsecz on github.
- I am falsecz (https://keybase.io/falsecz) on keybase.
- I have a public key whose fingerprint is 75C5 084C F5B7 F4CA C962 026A 71B2 56BB E772 E4F8
To claim this, I am signing this object:
This file contains hidden or 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
| { | |
| "name": "interlock", | |
| "image": "ehazlett/interlock", | |
| "version": "0.1", | |
| "author": "ehazlett", | |
| "description": "application router and load balancer", | |
| "url": "https://github.com/ehazlett/interlock", | |
| "config": { | |
| "prompt_args": [ |
NewerOlder