Tagged articles
21 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
May 12, 2025 · Backend Development

How to Build a FastAPI Service with RabbitMQ Consumer & Publisher

This guide walks through creating a FastAPI application that both publishes and consumes messages via RabbitMQ, detailing the setup of a Pika client, asynchronous consumer, message handling, API routes, and deployment with uvicorn, complete with code snippets and testing instructions.

AsyncFastAPIPika
0 likes · 7 min read
How to Build a FastAPI Service with RabbitMQ Consumer & Publisher
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 11, 2024 · Databases

Upgrade Pika to 3.5.x: Key New Features, Migration Guide & Rollback Tips

This article introduces Pika 3.5.x’s major enhancements—including a new sync mechanism, expanded Redis command support, RocksDB upgrades, BlobDB, containerization, observability tools, ACL and transaction support—while providing a step‑by‑step upgrade procedure, optional data synchronization, and two rollback strategies for safe migration.

BinlogDatabase UpgradePika
0 likes · 17 min read
Upgrade Pika to 3.5.x: Key New Features, Migration Guide & Rollback Tips
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Databases

Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap

The Pika community announced version 3.5.2, fixing long‑standing bugs and adding features such as Redis transaction support, a cache layer for hot‑cold data separation, dynamic Codis‑Proxy configuration, and performance improvements, while also outlining the planned enhancements for the upcoming 3.5.3 release.

Bug FixesPikaRedis Compatibility
0 likes · 6 min read
Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap
Ximalaya Technology Team
Ximalaya Technology Team
Jul 13, 2023 · Databases

Evolution of Ximalaya KV Storage and XCache Architecture

Ximalaya’s KV storage progressed from a simple Redis master‑slave setup to client‑side sharding, then adopted Codis clustering for elastic scaling, integrated Pika’s disk‑based store with cold‑hot separation, introduced KV‑blob separation, fast‑slow command pools, second‑level expansion, ehash fields, large‑key circuit breaking, multi‑active data‑center replication, and now targets cloud‑native deployment, advanced features, and AI‑driven operations.

CodisKV storagePika
0 likes · 19 min read
Evolution of Ximalaya KV Storage and XCache Architecture
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 30, 2021 · Databases

Why Pika Is Redefining Redis‑Compatible KV Storage on Disk

Pika, a disk‑based KV database fully compatible with the Redis protocol, was created by 360 to cut storage costs, has been adopted by major Chinese internet firms, and is now an OpenAtom open‑source project aiming to become a global benchmark for cloud‑native KV databases.

CloudNativeKVOpenSource
0 likes · 6 min read
Why Pika Is Redefining Redis‑Compatible KV Storage on Disk
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 2, 2020 · Databases

How Pika’s Native Distributed Cluster Overcomes Redis Capacity Limits

This article explains Pika’s native distributed cluster architecture, detailing its deployment structure, data distribution with tables and slots, request processing flow, both non‑consistent and Raft‑based log replication, and the enhanced metadata management that enables scalable, high‑availability storage beyond single‑node Redis limitations.

Cluster ArchitecturePikaReplication
0 likes · 10 min read
How Pika’s Native Distributed Cluster Overcomes Redis Capacity Limits
360 Tech Engineering
360 Tech Engineering
Nov 24, 2020 · Databases

Architecture and Design of Pika Native Distributed Cluster

The article explains the background, architecture, data distribution, processing flow, replication mechanisms, and management features of Pika's native distributed cluster, detailing how Etcd, LVS, and RocksDB are used to achieve scalable, persistent Redis-compatible storage with table isolation and flexible slot replication.

Cluster ArchitecturePikaRedis Compatibility
0 likes · 8 min read
Architecture and Design of Pika Native Distributed Cluster
MaGe Linux Operations
MaGe Linux Operations
Nov 13, 2020 · Backend Development

Master RabbitMQ with Python: From Basics to Advanced Patterns

This tutorial explains RabbitMQ fundamentals, shows how to install the Pika client, provides complete producer and consumer Python examples, and covers advanced topics such as work queues, message acknowledgments, persistence, fair dispatch, exchanges, routing, and RPC usage.

AMQPMessage QueuePika
0 likes · 12 min read
Master RabbitMQ with Python: From Basics to Advanced Patterns
ITPUB
ITPUB
Sep 25, 2020 · Databases

Why NoSQL Matters: From Basics to LevelDB, RocksDB, and Beyond

The article starts with a job‑interview anecdote and then provides a comprehensive overview of NoSQL, its history, definitions, comparison with MySQL, practical scenarios, and detailed examinations of key NoSQL projects such as LevelDB, RocksDB, SSDB, and Pika, highlighting their architectures and use cases.

Key-ValueLevelDBNoSQL
0 likes · 14 min read
Why NoSQL Matters: From Basics to LevelDB, RocksDB, and Beyond
360 Tech Engineering
360 Tech Engineering
Feb 20, 2019 · Databases

Pika Best Practices: 30 Tips for Optimizing the RocksDB‑Based Redis‑Compatible Storage

This article presents thirty practical recommendations for deploying, configuring, and maintaining Pika—a high‑capacity, RocksDB‑backed Redis‑compatible storage system—covering version selection, thread settings, hardware choices, key design, memory management, replication, backup, compaction, security, and monitoring to achieve reliable and high‑performance operation.

Database TuningOperationsPika
0 likes · 16 min read
Pika Best Practices: 30 Tips for Optimizing the RocksDB‑Based Redis‑Compatible Storage
360 Tech Engineering
360 Tech Engineering
Feb 20, 2019 · Databases

Pika 3.0 New Features Overview

Pika 3.0, the open‑source C++ Redis‑compatible storage built on RocksDB, introduces a new Blackwidow engine, enhanced binlog, and optimized server layer, delivering higher interface performance, reduced disk usage, extended key length, full ZSET compatibility, and improved overall efficiency.

CPikaRocksDB
0 likes · 3 min read
Pika 3.0 New Features Overview
360 Tech Engineering
360 Tech Engineering
Oct 18, 2018 · Databases

Overview of Pika 3.0 New Features

Pika 3.0, a C++ open‑source Redis‑compatible storage built on RocksDB, introduces a new blackwidow engine, an improved binlog system, and a more efficient server layer, delivering higher performance, reduced disk usage, extended key length limits, and full Redis ZSET compatibility.

Database EnginePikaRocksDB
0 likes · 3 min read
Overview of Pika 3.0 New Features
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Mar 28, 2017 · Databases

Why Pika Is the Next‑Gen Large‑Scale Redis Alternative for Persistent Storage

Pika, a large‑capacity Redis‑compatible storage system developed by 360’s Web Platform DBA and infrastructure team, offers persistent disk‑based data, multi‑threaded performance, extensive Redis API compatibility, and numerous enhancements in version 2.2, making it suitable for high‑cost, massive‑data, and high‑availability scenarios.

PersistencePikaRedis-compatible
0 likes · 9 min read
Why Pika Is the Next‑Gen Large‑Scale Redis Alternative for Persistent Storage
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 17, 2016 · Operations

Why Large Redis Instances Cause Disasters and How to Prevent Them

This article examines the operational challenges of oversized Redis instances—including slow failover, prolonged slave resynchronization, network‑induced avalanches, and persistence blocking—and offers practical mitigation strategies such as key expiration, data compression, and using high‑performance alternatives like Pika.

Database operationsMemory ManagementPerformance Optimization
0 likes · 9 min read
Why Large Redis Instances Cause Disasters and How to Prevent Them