Ximalaya Technology Team
Author

Ximalaya Technology Team

Official account of Ximalaya's technology team, sharing distilled technical experience and insights to grow together.

44
Articles
0
Likes
122
Views
0
Comments
Recent Articles

Latest from Ximalaya Technology Team

44 recent articles
Ximalaya Technology Team
Ximalaya Technology Team
Sep 13, 2023 · Operations

Cache Instance Failure Incident Analysis and Root Cause Investigation

During a night‑time outage, a XCache (Codis + Pika) instance hung due to massive write load triggering low‑level protection, causing Sentinel to switch masters; the proxy’s accept queue filled with timed‑out sockets, blocking new connections, so scaling the proxy layer and expanding capacity restored service while prompting automation, health‑check, and queue‑overflow alerts.

CacheIncidentoperations
0 likes · 7 min read
Cache Instance Failure Incident Analysis and Root Cause Investigation
Ximalaya Technology Team
Ximalaya Technology Team
Sep 8, 2023 · Backend Development

Cache Selection and Usage Guidelines for Ximalaya Services

Ximalaya’s cache guidelines define four Redis‑based types (master‑slave, Codis‑Redis, Cloud Database Redis, XCache) with cache or store modes, prescribe using Cloud Redis for clusters and XCache for large KV, enforce short readable keys, TTLs, limited batch sizes, safe commands, isolated clusters, and compression to ensure stability and performance.

CachingKey Designbackend
0 likes · 9 min read
Cache Selection and Usage Guidelines for Ximalaya Services
Ximalaya Technology Team
Ximalaya Technology Team
Sep 6, 2023 · Backend Development

Design Analysis of Lucene and In-Memory Inverted Index Service for Advertising Retrieval

The team analyzed Lucene’s disk‑based inverted index and built a custom in‑memory inverted‑index service for Himalaya’s ad engine, encoding terms as 64‑bit keys, supporting real‑time updates and BooleanQuery‑style and custom expression filtering, which cut query latency from ~50 ms to under 5 ms and enabled massive scaling.

Data StructuresInverted IndexJava
0 likes · 27 min read
Design Analysis of Lucene and In-Memory Inverted Index Service for Advertising Retrieval
Ximalaya Technology Team
Ximalaya Technology Team
Sep 1, 2023 · Frontend Development

Using Rematch for State Management in React Applications

This guide walks through creating a React Todo List app with Rematch, showing how to define typed models, initialize a Redux‑compatible store, provide it via React‑Redux, and use useSelector and typed useDispatch in components, highlighting Rematch’s concise syntax and similarity to Redux‑Toolkit.

ReActReduxRematch
0 likes · 11 min read
Using Rematch for State Management in React Applications
Ximalaya Technology Team
Ximalaya Technology Team
Aug 28, 2023 · Backend Development

Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough

Spring Event provides a decoupled, extensible mechanism for publishing and handling application events in Spring, covering its definition, benefits, drawbacks, practical usage with code examples, core internal classes, reserved events, asynchronous processing options, and detailed source‑code analysis of the event multicaster and listener registration.

ApplicationContextAsynchronousEvent
0 likes · 20 min read
Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough
Ximalaya Technology Team
Ximalaya Technology Team
Aug 24, 2023 · Frontend Development

Using Redux Toolkit for State Management in React and React Native

This article demonstrates how to replace classic Redux boilerplate with Redux Toolkit in a React Todo List app by creating a slice, configuring the store, providing it via Provider, and using useSelector and useDispatch, highlighting the simplified setup and clearer state management for both React and React Native.

JavaScriptReActRedux Toolkit
0 likes · 10 min read
Using Redux Toolkit for State Management in React and React Native
Ximalaya Technology Team
Ximalaya Technology Team
Aug 22, 2023 · Artificial Intelligence

Guidelines and Best Practices for Prompt Engineering with Large Language Models

The guide outlines prompt‑engineering best practices for large language models, distinguishing base and instruction‑tuned LLMs, emphasizing clear, structured, step‑by‑step prompts, handling hallucinations, iterating through idea‑code‑data cycles, applying techniques to summarization, reasoning and expansion, managing token costs, and providing concrete OpenAI API examples.

AIAPI usageLLM
0 likes · 14 min read
Guidelines and Best Practices for Prompt Engineering with Large Language Models
Ximalaya Technology Team
Ximalaya Technology Team
Aug 19, 2023 · Frontend Development

Using React and Redux to Build a Todo List Application

This guide walks through creating a React Todo List app with Redux by installing the libraries, defining TypeScript state and actions for adding and deleting items, implementing an immutable reducer, configuring a store, wrapping the root with Provider, and connecting UI components to dispatch and display the todo array, illustrating the full Redux workflow and its debugging advantages.

Front-end DevelopmentReActRedux
0 likes · 10 min read
Using React and Redux to Build a Todo List Application
Ximalaya Technology Team
Ximalaya Technology Team
Aug 17, 2023 · R&D Management

FeiKu: Ximalaya's Low‑Code Platform for Rapid Business Application Development

FeiKu, Ximalaya’s low‑code platform, lets business users design and publish full‑stack applications through drag‑and‑drop configuration, providing built‑in permission, workflow, scripting and API integration, which has already generated nearly 300 internal apps and dramatically cut repetitive development while still evolving performance and openness.

FeiKuXimalayalow-code
0 likes · 9 min read
FeiKu: Ximalaya's Low‑Code Platform for Rapid Business Application Development
Ximalaya Technology Team
Ximalaya Technology Team
Aug 15, 2023 · Operations

How Scenario‑Based Automated Testing Boosted Efficiency for a Fast‑Growing Audio Platform

This article details how a rapidly expanding audio service built a lightweight, modular testing framework called FAST, defined core scenario‑based testing concepts, and implemented an automated pipeline that reduced manual effort, cut costs, and improved release quality across multiple teams.

Software OperationsTesting frameworkautomated testing
0 likes · 7 min read
How Scenario‑Based Automated Testing Boosted Efficiency for a Fast‑Growing Audio Platform