v1.0 — Production Ready

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

Your App
SQL-Shield
MySQL
Redis
Cache Hit — 0.3msCache Miss — forwarded to DB

Works with your existing stack

Laravel
WordPress
Node.js
Django
Rails
PHP
MySQL
Docker

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.

localhost:8080
SQL-Shield Real-time Dashboard — Cache hits, query analytics, efficiency score, and live throughput monitoring

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
With SQL-Shield

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
300xFaster Reads

120ms 0.4ms

avg latency

Performance Metrics

BeforeAfter
Avg Query Latency
Before
120ms
After
0.4ms
Database CPU Load
Before
87%
After
18%
Queries Hitting DB
Before
100%
After
~6%
Concurrent Users Supported
Before
500
After
5,000+
Avg Response:0.4ms
DB Load Reduction:80%
Cache Hit Rate:94.7%

Setup

Up and running in under 60 seconds

No SDKs. No config files. No code refactoring. Three commands and your database is accelerated.

01

Pull the Docker Image

One command to download SQL-Shield. No dependencies, no compiling, no configuration files.

terminal
$ docker pull mdishtiaque/sql-shield:latest
02

Run the Container

Point it at your MySQL and Redis servers. SQL-Shield starts intercepting queries immediately.

terminal
$ docker run -d -p 4000:4000 -p 8080:8080 mdishtiaque/sql-shield
03

Change Your DB Port

Update your app's database port from 3306 to 4000. That's it. Zero other code changes needed.

terminal
$ DB_PORT=4000 # was 3306

Security

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.

No application code changes
No ORM configuration
No query rewriting
Works with any MySQL client library
bash
1# Start SQL-Shield with your MySQL and Redis
2docker 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.

E-Commerce

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.

10x traffic handled
SaaS Platform

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.

300x faster responses
Laravel / WordPress

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.

60-second setup
DevOps / Cost Saving

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.

$400+/mo saved
Microservices

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.

94% cache hit rate
Real-time Dashboard

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.

Built-in monitoring

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.

7-Day Free Trial
$50/month

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.

1

Pull the Docker image

Download SQL-Shield from Docker Hub. No signup required.

docker pull mdishtiaque/sql-shield:latest
2

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
3

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 .env
DB_PORT=4000 # was 3306
# Node.js / any MySQL client
host: '127.0.0.1',
port: 4000 // was 3306
4

Open the dashboard

Monitor cache hits, query analytics, and performance gains in real-time.

# Open in your browser
http://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:latest

Free forever for single instances. No credit card required.