Redis 8 AGPLv3 Vector JSON TimeSeries 87% Faster 16x Query Docker Setup ไทย
Back to articles

Redis 8 AGPLv3 Vector JSON TimeSeries 87% Faster 16x Query Docker Setup ไทย

Redis 8 พ.ค. 2025 Vector search JSONPath Time Series IoT Probabilistic AGPLv3 Query Engine ACL Docker Alpine Stack Shopee 7-11 production benchmark

Software Updated: February 18, 2026

Redis 8 (พ.ค. 2025): Vector/JSON/TimeSeries AGPLv3 เร็วขึ้น 87% Query 16x
Redis 8 อัปเกรดใหญ่ Vector search AI JSONPath Time Series IoT Probabilistic structures (Bloom/Cuckoo) Query Engine ACL ใหม่ AGPLv3 Open Source 100%

Redis 8 vs Redis 7 Performance

ฟีเจอร์Redis 7Redis 8
Throughput1x2x
Replication1x1.8x
Query Scale1x16x
Cmd SpeedBaseline+87%
LicenseRSAL/SSPLAGPLv3

ฟีเจอร์ใหม่ใช้งานจริง

1. Vector Search (AI/RAG)

# Semantic search
XADD docs * embedding @vector
FT.SEARCH docs "@embedding:[VECSIM 0.8 $query_vec]"

2. JSONPath Query

JSON.SET user:1 $ '{"name": "สมชาย", "age": 30}'
JSON.GET user:1 $.name # "สมชาย"
JSON.SEARCH users "*.age > 25" # JSON results

3. Time Series (IoT/Finance)

TS.CREATE temp:room1
TS.ADD temp:room1 * 25.5
TS.RANGE temp:room1 - 24h

Docker Setup 1 คำสั่ง

docker run -d -p 6379:6379 \
--name redis8 redis:8-alpine
# Stack ครบ (Vector+JSON+TS)
docker run -d -p 6379:6379 redis/redis-stack:8.0

Redis Query Engine (SQL-like)

# Secondary index + Full-text
FT.CREATE idx ON JSON PREFIX 1 users: SCHEMA $.name AS name TEXT_SORT
FT.SEARCH idx "สมชาย | สมศรี"
# Vector + Fuzzy
FT.SEARCH docs "@category:tech @embedding:[VECSIM 0.7 $vec]"

Probabilistic Structures (Memory 1/10)

Structureใช้ทำอะไรMemory
BloomCheck existence1/1000
CuckooHeavy hitters1/100
Top-KPopular items1/50
T-DigestPercentiles1/200

Production Use Cases ไทย

🛒 Shopee: Real-time inventory (TimeSeries)
🏪 7-11: Product recommendation (Vector)
📊 SCB: Trading data (10M/sec)
🏥 โรงพยาบาล: Patient monitoring (IoT)
🎮 Garena: Leaderboard (Top-K)

ACL Security ใหม่

ACL SETUSER appuser on >password ~ts:* +ts.add +ts.range @json
ACL SETUSER admin on >adminpass ~* +@all

Performance Tuning

# Redis 8 defaults optimized
vm.overcommit_memory = 1
maxmemory 80%
maxmemory-policy allkeys-lru
io-threads 4

Migration Redis 7→8

✅ In-place upgrade (RDB/AOF)
✅ Vector/JSON backward compatible
✅ AGPLv3 (check cloud provider)
✅ Stack modules included

Cloud Options ไทย

ProviderRedis 8ราคา
ApsaraDB5บ/GB
UpCloud7บ/GB
Redis Cloud10บ/GB
Self-hostDockerฟรี

Benchmark ไทย Workload

E-commerce cart: 2.1M ops/sec (Redis 7: 1.1M)
IoT sensors: 5.2M inserts/sec
Vector RAG: 12K QPS (cosine sim)
D

DriteStudio | ไดรท์สตูดิโอ

Cloud, VPS, Hosting and Colocation provider in Thailand

Operated by Craft Intertech (Thailand) Co., Ltd.

Manage your cookie settings

We use different types of cookies to optimize your experience on our website. Click on the categories below to learn more and customize your preferences. Note that blocking some types of cookies may impact your experience.

Necessary Cookies

These cookies are essential for the website to function properly. They enable basic functions like page navigation and access to secure areas.

View cookies used
  • Session cookies (session management)
  • Security cookies (CSRF protection)
Always On

Functional Cookies

These cookies enable personalized features like language preferences and theme settings. Without these, some features may not work properly.

View cookies used
  • lang (language preference)
  • theme (dark/light mode)

Analytics Cookies

These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.

View cookies used
  • _ga (Google Analytics)
  • _gid (Google Analytics)

Marketing Cookies

These cookies are used to track visitors across websites to display relevant advertisements based on your interests.

View cookies used
  • Advertising cookies
  • Remarketing pixels

Privacy Policy