Tag

Pika

1 views collected around this technical thread.

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.

AsyncMessage QueuePika
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.

Database upgradePikaRedis compatibility
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 FixesPerformancePika
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.

CodisHigh AvailabilityKV storage
0 likes · 19 min read
Evolution of Ximalaya KV Storage and XCache Architecture
Aikesheng Open Source Community
Aikesheng Open Source Community
May 19, 2022 · Databases

Performance Tuning of Pika KV Store: How max‑write‑buffer‑size Affects I/O and QPS

This article analyzes a real‑world migration from MongoDB to the open‑source Pika KV store, demonstrating how adjusting the max‑write‑buffer‑size parameter dramatically improves disk I/O characteristics and raises query‑per‑second throughput from 3 K to 40 K.

Performance TuningPikaRedis
0 likes · 9 min read
Performance Tuning of Pika KV Store: How max‑write‑buffer‑size Affects I/O and QPS
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 27, 2021 · Databases

Why Pika Beats Redis for Large-Scale KV Storage: Advantages, Ops, and Real-World Use

This article explains how Pika, a disk‑based Redis‑compatible KV store, overcomes Redis’s memory limits with larger capacity, faster backup, and comparable performance, and describes its deployment, management, monitoring, and migration workflows within 360’s HULK cloud platform.

Database OperationsHULK platformKV storage
0 likes · 9 min read
Why Pika Beats Redis for Large-Scale KV Storage: Advantages, Ops, and Real-World Use
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 ArchitectureDistributed DatabaseETCD
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 ArchitectureDistributed DatabaseETCD
0 likes · 8 min read
Architecture and Design of Pika Native Distributed Cluster
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 TuningPerformancePika
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.

C++PikaRedis
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.

Key-Value StorePerformancePika
0 likes · 3 min read
Overview of Pika 3.0 New Features
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 1, 2018 · Databases

What’s New in Pika 3.0? Exploring Its Blackwidow Engine and Performance Boosts

Pika 3.0 introduces a new Blackwidow engine, an efficient write‑to‑file binlog, and a streamlined server layer, all designed to boost performance, reduce storage costs, and fully maintain Redis‑compatible functionality for large‑scale deployments.

PerformancePikaRedis
0 likes · 3 min read
What’s New in Pika 3.0? Exploring Its Blackwidow Engine and Performance Boosts
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 28, 2017 · Databases

Inside Pika: How 360’s Large‑Scale Redis‑Compatible Store Powers Billions of Requests

The article recaps the 2017 Pika community salon in Beijing, explains Pika’s design as a high‑capacity Redis‑compatible storage, showcases real‑world deployments at 360, Huanxin and Weibo, and shares insights from four technical talks along with event highlights and resources.

Large Scale StoragePikaRedis-compatible
0 likes · 9 min read
Inside Pika: How 360’s Large‑Scale Redis‑Compatible Store Powers Billions of Requests
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 22, 2017 · Databases

How Pika Implements High‑Capacity Redis‑Compatible Replication

This article explains Pika's master‑slave replication architecture, detailing its specialized threads, full and incremental replication workflows, key API functions, and the slaveof and trysync processes that enable persistent, large‑scale data synchronization beyond Redis limitations.

Master‑SlavePikaReplication
0 likes · 10 min read
How Pika Implements High‑Capacity Redis‑Compatible Replication
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 6, 2017 · Databases

Inside Pika’s Write2File Binlog: Formats, Classes, and Operations Explained

This article provides a detailed walkthrough of Pika’s write2file binlog mechanism, covering manifest and binlog file structures, record formats, core implementation classes, and step‑by‑step procedures for constructing, updating, producing, and consuming logs in a large‑capacity Redis‑compatible storage system.

PikaRedisReplication
0 likes · 9 min read
Inside Pika’s Write2File Binlog: Formats, Classes, and Operations Explained
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 2, 2017 · Databases

Choosing the Right KV Store: Redis vs Redis Cluster vs Pika for High‑Scale 360 Applications

This article examines 360’s explosive KV storage demand and compares three solutions—Redis, Redis Cluster, and Pika—detailing their features, performance, persistence options, eviction policies, architectures, migration tools, and ideal usage scenarios for high‑traffic, large‑scale applications.

KV storagePikaRedis
0 likes · 17 min read
Choosing the Right KV Store: Redis vs Redis Cluster vs Pika for High‑Scale 360 Applications
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.

Big DataPerformancePersistence
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 OperationsFailoverMemory Management
0 likes · 9 min read
Why Large Redis Instances Cause Disasters and How to Prevent Them