AI Tools & Scripts
Cloud Zone Latency Ranking for Exchange Gateways
Find which city an exchange lives in without renting anything, then rank cloud availability zones with throwaway probe boxes, held-socket pings and a signal-versus-noise verdict. Includes dependency-free probes and teardown discipline.
What you get: 1 file · 14.26 KB · ZIP
See purchase optionsProduct description
Decide which availability zone your trading box should run in, using measurements instead of guesses.
What is inside:
- SKILL.md: a staged plan. First a free, no-rental stage that finds which city the exchange's gateway is really in (CDN-proof checks, since an edge node can answer from anywhere). Then a paid stage: two throwaway probe boxes in every candidate zone, raced for under an hour, with a verdict on whether the differences are signal or noise. It covers budget, safety groups, and teardown by a unique tag so nothing is left running.
- scripts/globalping_city.py: probes the exchange from many public vantage points to estimate its city.
- scripts/ws_probe.py: a dependency-free WebSocket client that holds a socket open and records application-level ping round trips.
- scripts/rest_warm_rtt.sh: warm-connection REST round trips with curl timing.
Its main lesson: per-connection spread is often larger than the gap between zones, because a connection's path is fixed when it is established. So rank zones by the best connection reachable, and fix dial-verify-redial in the client before migrating.
It is for operators of latency-sensitive trading services who are considering moving a box. It needs Python 3, a shell, a cloud account and an hour of measurement; budget is a couple of dollars. It never touches your production box.
This skill is also part of the Crypto Listing & Announcement Research Kit pack at a lower per-skill price.
Example request
Which availability zone in my cloud region is closest to the exchange's WebSocket gateway? Start with the free stage, then plan the probe fleet, and tell me if moving my trading box is worth it.
Example result
Example output on a fictional setup (illustrative, not a benchmark).
Stage 1, free: globalping_city.py from 20 vantage points gave the lowest round trips from one metropolitan area; two CDN-fronted hostnames were excluded because they answered from the edge. Conclusion: the gateway is in that metro area; region chosen accordingly.
Stage 2 plan: 3 zones x 2 small instances, same instance type as production, security group open to my IP only, all resources tagged probe-run-. Estimated 45 minutes and a couple of dollars.
Results (held-socket application ping, 12 connections per box): - zone A: best 0.4 ms, median 0.9 ms - zone B: best 0.8 ms, median 1.1 ms - zone C: best 1.6 ms, median 2.0 ms Spread across connections on one box (0.4 to 1.6 ms) is as large as the gap between zones A and C, so the zone effect is only partly signal.
Recommendation: first ship dial-verify-redial in the client, re-measure, then move to zone A only if the best-connection gap still holds. Teardown by tag run; re-listed instances by tag: none left.
Requirements
- Python 3 (standard library only) and a POSIX shell
- A cloud account with permission to start small instances in several availability zones, and SSH access
- The exchange's public WebSocket URL; API keys on a test account only for the optional order stages
How to install
Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.
What you get
1 file · 14.26 KB
- cloud-zone-latency-ranking.zipZIP · 14.26 KB
AI Tools & Scripts
Cloud Zone Latency Ranking for Exchange Gateways
Find which city an exchange lives in without renting anything, then rank cloud availability zones with throwaway probe boxes, held-socket pings and a signal-versus-noise verdict. Includes dependency-free probes and teardown discipline.
Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 14.26 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$7.00



