
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
edge-conservation-worker
Advanced tools
Cloudflare Worker that verifies mathematical conservation laws at CDN edge locations worldwide in <5ms.
Cloudflare Worker that verifies mathematical conservation laws at CDN edge locations worldwide in <5ms.
Mathematical conservation laws (sum of parts = total, det(AB) = det(A)×det(B)) can be verified at CDN edge nodes fast enough for real-time correctness checks distributed globally.
Result: CONFIRMED — All endpoints respond in <5ms locally.
| Endpoint | Description | Latency |
|---|---|---|
GET / | Run all verification tests | <2ms |
GET /health | Health check | <5ms |
GET /conservation | Verify sum(parts) = total | <5ms |
GET /entropy?n=10 | Shannon entropy of uniform distribution | <3ms |
GET /matmul | 10K matrix multiplies + determinant conservation | <5ms |
GET /fleet | SuperInstance fleet statistics | <2ms |
npm install
npx wrangler dev
# Visit http://localhost:8787/conservation
npx wrangler deploy
Conservation verification:
{
"conservation": {
"result": 1.0,
"expected": 1.0,
"delta": 0.0
},
"colo": "SJC"
}
Entropy computation:
{
"entropy": 4.0,
"uniform_distribution_size": 16,
"max_entropy_bits": 4
}
Matrix multiply benchmark:
{
"iterations": 10000,
"elapsed_ms": "1.000",
"ops_per_sec": 10000000,
"determinant_conservation": {
"verified": true
}
}
MIT
FAQs
Cloudflare Worker that verifies mathematical conservation laws at CDN edge locations worldwide in <5ms.
We found that edge-conservation-worker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.