Xike
Author

Xike

Stupid is as stupid does.

28
Articles
0
Likes
100
Views
0
Comments
Recent Articles

Latest from Xike

28 recent articles
Xike
Xike
Aug 16, 2026 · Backend Development

Idempotency Strategies for APIs: Preventing Duplicate Submissions

The article analyzes why network timeouts, client retries, user double‑clicks, and at‑least‑once MQ delivery cause duplicate intents, then details five practical idempotency techniques—conditional updates, unique constraints, Idempotency‑Key tokens, state machines with optimistic locks, and distributed locks—along with their trade‑offs and monitoring tips.

APIDistributed SystemsToken
0 likes · 11 min read
Idempotency Strategies for APIs: Preventing Duplicate Submissions
Xike
Xike
Aug 14, 2026 · Artificial Intelligence

DeepSeek Harness Deep Dive: How a Modular “Heart” Powers Flexible AI Agents

DeepSeek Harness (DSH) is an open‑source, MIT‑licensed agent framework that treats every capability as a plugin, provides an append‑only execution log for full traceability, offers multiple built‑in modes including headless operation, and distinguishes itself from Claude Code/Codex by delivering a truly modular, model‑agnostic execution layer.

AI AgentDeepSeek HarnessExecution Layer
0 likes · 14 min read
DeepSeek Harness Deep Dive: How a Modular “Heart” Powers Flexible AI Agents
Xike
Xike
Aug 7, 2026 · Databases

Embedding Sharding Genes in Business IDs for Direct Routing in Sharded Databases

By embedding a shard identifier (“gene”) into the low bits of a business ID generated via Redis INCR or similar sequencers, the article shows how to achieve direct table routing without broadcast queries or extra mapping tables, detailing the algorithm, implementation, integration with Snowflake and Leaf, and common pitfalls.

JavaLeafRedis
0 likes · 11 min read
Embedding Sharding Genes in Business IDs for Direct Routing in Sharded Databases
Xike
Xike
Aug 5, 2026 · Backend Development

How to Automatically Cancel Unpaid Orders When They Timeout

The article explains a reliable, idempotent solution for automatically cancelling orders that remain unpaid after a configured deadline, covering data modeling, state transitions, trigger mechanisms using delayed messages or scans, handling race conditions with payment, and essential monitoring and pitfalls.

BackendDistributed SystemsMessage Queue
0 likes · 17 min read
How to Automatically Cancel Unpaid Orders When They Timeout
Xike
Xike
Aug 4, 2026 · Operations

How We Fixed the AI‑Powered xi‑ops Ops Platform’s Critical Pitfalls

This article walks through the security and reliability pitfalls encountered when integrating large language models into the xi‑ops open‑source operations platform—covering unsafe SQL generation, unauthorized SSH actions, knowledge‑base hallucinations, prompt‑engineered bypasses, and configuration sync issues—and explains the concrete engineering safeguards that were implemented to close each gap.

AI OpsLLMMCP
0 likes · 21 min read
How We Fixed the AI‑Powered xi‑ops Ops Platform’s Critical Pitfalls
Xike
Xike
Aug 2, 2026 · Databases

ClickHouse vs Doris for ADS Analytics: MergeTree Compared on the Same Dataset

This article walks through setting up ClickHouse 24.8‑alpine, explains the MergeTree storage model, demonstrates data import and ADS queries, and then directly compares ClickHouse’s performance and semantics with Apache Doris on an identical orders CSV dataset, offering practical selection guidance and troubleshooting tips.

ADSAnalyticsClickHouse
0 likes · 13 min read
ClickHouse vs Doris for ADS Analytics: MergeTree Compared on the Same Dataset
Xike
Xike
Aug 1, 2026 · Big Data

Big Data Series #6: Getting Started with Iceberg Lakehouse – Snapshots, Time Travel, and Writes

This tutorial explains how Apache Iceberg adds snapshot metadata to files on HDFS or object storage, enabling atomic writes, time‑travel queries, and schema evolution, and walks through a Docker‑based setup with a REST catalog, Spark 3.5.3, and hands‑on examples including table creation, data insertion, version queries, and troubleshooting tips.

Apache IcebergData LakeHDFS
0 likes · 16 min read
Big Data Series #6: Getting Started with Iceberg Lakehouse – Snapshots, Time Travel, and Writes
Xike
Xike
Jul 25, 2026 · Cloud Native

Setting Up a Local CI/CD Stack with Harbor, GitLab, and Jenkins Using Docker Compose

This guide walks through configuring a local Docker/Compose environment that provides accessible Harbor, GitLab (with a shared Runner), and Jenkins, demonstrates a push/pull test on Harbor, runs a minimal GitLab CI pipeline, and validates a simple Jenkins pipeline, while covering prerequisites, host configuration, installation steps, verification, troubleshooting, and cleanup.

CI/CDDevOpsDocker Compose
0 likes · 18 min read
Setting Up a Local CI/CD Stack with Harbor, GitLab, and Jenkins Using Docker Compose