My name is Eugene and I'm a Software Developer.
- FerretDB
- CockroachDB
- TiDB
- MySQL Compatible SQL Parser
- Badger
- Minikube
- and a bit of go
See pinned
below.
Console tool to check the latency to each Amazon EC2 region
License: MIT License
My name is Eugene and I'm a Software Developer.
See pinned
below.
The behaviour seems to be correct for bogus service names:
$ go run main.go -service=not-a-service
US-East (Virginia) NaN ms
US-East (Ohio) NaN ms
US-West (California) NaN ms
US-West (Oregon) NaN ms
Canada (Ceentral) NaN ms
Europe (Ireland) NaN ms
Europe (Frankfurt) NaN ms
Europe (London) NaN ms
Asia Pacific (Tokyo) NaN ms
Asia Pacific (Seoul) NaN ms
Asia Pacific (Singapore) NaN ms
Asia Pacific (Mumbai) NaN ms
Asia Pacific (Sydney) NaN ms
South America (São Paulo) NaN ms
but panics for partially available services:
$ go run main.go -service=ecr
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x11f4345]
goroutine 7 [running]:
main.(*AWSRegion).CheckLatencyTCP(0xc4200bc5b0, 0xc4200164d0)
/tmp/workspace/awsping/main.go:85 +0x295
created by main.CalcLatency
/tmp/workspace/awsping/main.go:141 +0x357
exit status 2
Using a PAT with packages: read scope, I can't pull it from my machine
$ echo "$GHCR_PAT" | docker login ghcr.io --password-stdin --username user
WARNING! Your password will be stored unencrypted in /home/lestephane/snap/docker/1779/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
$ docker pull ghcr.io/ekalinin/awsping:v2.0.1
Error response from daemon: denied
Unless I can actually pull the image locally, I won't be able to troubleshoot issues I'm having pulling this container from a GitHub workflow. I'm not even sure the image in question is available publicly. The docker pull command is taken directly from the release notes.
There's not much you can do about it, but thought I should raise it as an FYI for future users.
When running awsping TCP test I got the following results from Australia, which was really confusing until I realised there was a transparent proxy in place.
$ ./awsping -verbose 2 -repeats 3
Code Region Try #1 Try #2 Try #3 Avg Latency
0 sa-east-1 South America (São Paulo) 5.94 ms 5.42 ms 5.21 ms 5.52 ms
1 eu-west-1 Europe (Ireland) 5.36 ms 6.09 ms 5.40 ms 5.62 ms
2 us-east-2 US-East (Ohio) 6.59 ms 5.50 ms 4.85 ms 5.65 ms
3 ap-northeast-2 Asia Pacific (Seoul) 6.30 ms 5.27 ms 5.49 ms 5.69 ms
4 ap-south-1 Asia Pacific (Mumbai) 6.44 ms 5.46 ms 5.16 ms 5.69 ms
5 us-west-1 US-West (California) 7.09 ms 5.21 ms 4.94 ms 5.75 ms
6 ap-southeast-1 Asia Pacific (Singapore) 6.25 ms 5.51 ms 5.93 ms 5.89 ms
7 us-east-1 US-East (Virginia) 6.73 ms 5.33 ms 5.64 ms 5.90 ms
8 us-west-2 US-West (Oregon) 6.19 ms 5.91 ms 5.70 ms 5.94 ms
9 eu-central-1 Europe (Frankfurt) 6.63 ms 6.05 ms 5.42 ms 6.03 ms
10 ap-southeast-2 Asia Pacific (Sydney) 7.18 ms 5.77 ms 5.96 ms 6.31 ms
11 ap-northeast-1 Asia Pacific (Tokyo) 8.49 ms 5.02 ms 5.43 ms 6.31 ms
Perhaps docs need to be updated to explain what the 'TCP' test does (3 way handshake RTT to http endpoint), or make HTTP the default.
af-south-1 is Africa (Cape Town)
Ping is hardcoded against dynamodb. Take cmd line argument to accept AWS service, eg: ec2, sdb, sns, sqs
All should follow the naming pattern http://<service>.<region>.amazonaws.com/ping
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.