Ximalaya Technology Team
Author

Ximalaya Technology Team

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

45
Articles
0
Likes
195
Views
0
Comments
Recent Articles

Latest from Ximalaya Technology Team

45 recent articles
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.

Continuous IntegrationScenario TestingSoftware Operations
0 likes · 7 min read
How Scenario‑Based Automated Testing Boosted Efficiency for a Fast‑Growing Audio Platform
Ximalaya Technology Team
Ximalaya Technology Team
Aug 12, 2023 · Mobile Development

Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes

This article explains the Android 8.1+ restriction that prevents background apps from using startService, details the internal flow that leads to a Not allowed to start service crash, shows how startForegroundService works with a mandatory foreground notification timeout, and provides code‑level analysis of the ANR and crash “bombs”, UID idle handling, and practical mitigation strategies.

ANRAndroidCrash
0 likes · 41 min read
Why Android 8+ Blocks startService in Background and How startForegroundService Avoids Crashes
Ximalaya Technology Team
Ximalaya Technology Team
Aug 11, 2023 · Mobile Development

Simplifying Android Network Requests with Kotlin Coroutines

By converting Android network calls from callback‑based listeners to Kotlin coroutines, the code becomes sequential, eliminates duplicated UI‑state checks, centralizes loading handling, supports parallel requests with async/await, and integrates with lifecycleScope for automatic cancellation, greatly improving readability and safety.

AndroidCoroutinesKotlin
0 likes · 15 min read
Simplifying Android Network Requests with Kotlin Coroutines
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.

CodisDistributed CacheHigh Availability
0 likes · 19 min read
Evolution of Ximalaya KV Storage and XCache Architecture
Ximalaya Technology Team
Ximalaya Technology Team
Jul 13, 2023 · Mobile Development

Ximalaya Live Streaming Instant-Start Optimization Practices

Ximalaya improves live‑stream start‑up by measuring first‑frame latency, optimizing push (dynamic bitrate, GOP caching) and pull (RTMP/HTTP‑FLV, HttpDNS, pre‑fetch URLs, progressive component loading, pre‑render SurfaceView, low‑buffer water‑level) across detailed pipeline stages, achieving over 90 % audio and 85 % video instant‑open rates while planning H.265 adoption.

HTTP-FLVLive StreamingPerformance Optimization
0 likes · 14 min read
Ximalaya Live Streaming Instant-Start Optimization Practices