Make Your Database 10x Faster
with Zero Code Changes.
The self-healing cache proxy that sits between your app and MySQL. Scales instantly, invalidates intelligently, and deploys in seconds via Docker.
How it works
Works with your existing stack
Features
Everything you need. Nothing you don't.
SQL-Shield is designed to be invisible. Drop it in, and your database performance transforms overnight.
Zero Code Changes
No SDK or library needed. Just change your database port from 3306 to 4000 and you're done. Works with any MySQL client instantly.
Self-Healing Cache
Run UPDATE users SET name = "John" — SQL-Shield instantly invalidates all cached SELECT * FROM users results. Table-level tagging means surgical precision, zero stale data, and you never think about cache invalidation again.
Real-time Insights
A built-in enterprise dashboard with live query logs, cache hit rates, efficiency gauges, and per-query analytics at port 8080.
Docker Ready
Deploy anywhere with a single command. Source code compiled into PHAR archives. Ship to clients without revealing your codebase.
Real-time Dashboard
Full visibility into every query
Monitor cache hit rates, live throughput, query analytics, and efficiency scores — all from a built-in enterprise dashboard at port 8080.

97.6%
Cache Hit Rate
0.1ms
Avg Response
46m+
Time Saved
33k+
Queries Tracked
Performance
Before vs After SQL-Shield
Real numbers from production workloads. The difference is not incremental — it's transformational.
Traditional Database
Without SQL-Shield
- Every SELECT hits MySQL directly
- 120ms+ average query latency
- Database CPU pegged at 80-90%
- Crashes under traffic spikes
- Manual query optimization needed
SQL-Shield Powered
Intelligent caching
- 94%+ queries served from Redis cache
- 0.4ms average response time
- 80% reduction in database load
- Handles 10x traffic effortlessly
- Zero code changes required
120ms → 0.4ms
avg latency
Performance Metrics
Setup
Up and running in under 60 seconds
No SDKs. No config files. No code refactoring. Three commands and your database is accelerated.
Pull the Docker Image
One command to download SQL-Shield. No dependencies, no compiling, no configuration files.
$ docker pull mdishtiaque/sql-shield:latestRun the Container
Point it at your MySQL and Redis servers. SQL-Shield starts intercepting queries immediately.
$ docker run -d -p 4000:4000 -p 8080:8080 mdishtiaque/sql-shieldChange Your DB Port
Update your app's database port from 3306 to 4000. That's it. Zero other code changes needed.
$ DB_PORT=4000 # was 3306Security
Zero attack surface added
A CTO's first question: “Does this proxy add a vulnerability?” Short answer: No. SQL-Shield is a transparent, read-only cache layer that never touches your credentials or modifies your queries.
Passthrough Authentication
SQL-Shield never stores or inspects database credentials. Auth packets are forwarded directly to MySQL — your passwords never touch our code.
Read-Only by Default
SQL-Shield only caches SELECT queries. INSERT, UPDATE, and DELETE are always passed through directly and trigger automatic cache invalidation.
Non-blocking Architecture
Built on ReactPHP's event loop. Zero threads, zero forks, zero shared state. If Redis goes down, queries fall through to MySQL seamlessly.
Source Code Protection
Distributed as compiled PHAR archives inside Docker. Your business logic and proxy internals are never exposed — even inside the container.
Integration
Copy. Paste. Done.
SQL-Shield works as a transparent TCP proxy. Your application connects to it exactly like it connects to MySQL — same protocol, same drivers, same everything.
1# Start SQL-Shield with your MySQL and Redis2docker run -d \3 --name sql-shield \4 --network host \5 -e REAL_DB_HOST=127.0.0.1 \6 -e REAL_DB_PORT=3306 \7 -e REDIS_HOST=127.0.0.1 \8 -e REDIS_PORT=6379 \9 mdishtiaque/sql-shield:latest
Use Cases
Built for real-world workloads
From solo Laravel projects to high-traffic e-commerce platforms, SQL-Shield accelerates databases at every scale.
Handle Black Friday without upgrading RDS
Product catalog queries are cached instantly. Traffic spikes from 500 to 5,000 concurrent users without touching your MySQL config or scaling your database instance.
Cut average API latency from 120ms to 0.4ms
Multi-tenant SaaS apps repeatedly query the same user/config tables. SQL-Shield caches these hot paths, making your API feel instant for every customer.
Zero-config acceleration for PHP apps
Change one port number in .env — that's it. No packages to install, no code to refactor. Your Laravel or WordPress app gets a Redis cache layer in 60 seconds.
Save $400+/month on your database bill
Instead of scaling up your RDS instance or adding read replicas, drop in SQL-Shield. 80% reduction in database load means you can downsize your infrastructure.
Shared cache layer for all your services
Multiple services querying the same MySQL? SQL-Shield deduplicates cache entries automatically. One Redis, many services, unified performance gains.
X-ray vision for your database performance
See exactly which queries are cached and which aren't. Live throughput graphs, per-query analytics, and efficiency scores — all at port 8080.
Pricing
One plan. Full power. $50/mo.
No tiers, no limits, no surprises. Start with a free 7-day trial — no credit card required. Full access to everything from day one.
No credit card required for the trial. Cancel anytime.
- Unlimited MySQL queries
- Redis caching (unlimited)
- Real-time enterprise dashboard
- Smart cache invalidation
- Query-level exclusions
- Advanced analytics & logs
- Docker deployment
- Priority email support
Trial starts automatically with Docker — no license key needed
Need a custom deployment or enterprise SLA? Contact us
Quick Start Guide
Get started in minutes
Whether you're trying the free trial or activating a purchased license, follow these simple steps to accelerate your database.
Pull the Docker image
Download SQL-Shield from Docker Hub. No signup required.
docker pull mdishtiaque/sql-shield:latest
Start the container
Point it to your MySQL and Redis. The 7-day trial activates automatically — no license key needed.
docker run -d \--name sql-shield \--network host \-e REAL_DB_HOST=127.0.0.1 \-e REAL_DB_PORT=3306 \-e REDIS_HOST=127.0.0.1 \-e REDIS_PORT=6379 \mdishtiaque/sql-shield:latest
Update your app's database port
Change your application's DB port from 3306 to 4000. That's the only change you need to make.
# Laravel .envDB_PORT=4000 # was 3306# Node.js / any MySQL clienthost: '127.0.0.1',port: 4000 // was 3306
Open the dashboard
Monitor cache hits, query analytics, and performance gains in real-time.
# Open in your browserhttp://localhost:8080
Need help? Contact our support team — we typically respond within 2 hours.
FAQ
Frequently asked questions
Everything you need to know about SQL-Shield.
Yes. SQL-Shield is a transparent TCP proxy that speaks the MySQL binary protocol. Any application that connects to MySQL — Laravel, WordPress, Node.js, Django, Rails, or raw PHP — will work without any code changes. Just change your database port from 3306 to 4000.
Ready to make your database 10x faster?
Deploy SQL-Shield in under 60 seconds. No credit card required. No code changes. Just pure speed.
$ docker pull mdishtiaque/sql-shield:latestFree forever for single instances. No credit card required.