Ctrip Technology
Author

Ctrip Technology

Official Ctrip Technology account, sharing and discussing growth.

602
Articles
0
Likes
3.0k
Views
0
Comments
Recent Articles

Latest from Ctrip Technology

100 recent articles max
Ctrip Technology
Ctrip Technology
Apr 20, 2023 · Backend Development

Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend

This article analyzes the challenges of stitching multi‑modal transport routes in Ctrip's backend, identifies performance bottlenecks through monitoring, profiling and benchmarking, and presents a series of optimizations—including code refactoring, indexing, multi‑way merge, multi‑level caching, preprocessing, multithreading, lazy computation, and JVM tuning—that collectively reduce latency and resource consumption.

BackendCachingJava
0 likes · 17 min read
Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend
Ctrip Technology
Ctrip Technology
Apr 13, 2023 · Frontend Development

Development Experience and Solutions for Mini‑Program WebView Integration

This article shares the team’s practical experience and solutions for embedding H5 pages in mini‑program WebViews, covering platform differences, communication mechanisms, onShow handling, common pitfalls, login‑state synchronization, payment integration, and the use of WebSocket to achieve real‑time cross‑page updates.

Cross-platformWebSocketWebView
0 likes · 17 min read
Development Experience and Solutions for Mini‑Program WebView Integration
Ctrip Technology
Ctrip Technology
Apr 6, 2023 · Backend Development

Applying Domain-Driven Design to Reduce Complexity in Ctrip's Car and Rental Services

This article details how Ctrip's car‑hailing and rental platforms tackled growing technical debt and system complexity by adopting Domain‑Driven Design, using event‑storming workshops, defining bounded contexts, and aligning team boundaries to improve maintainability, performance, and overall development efficiency.

Event StormingMicroservicessystem complexity
0 likes · 14 min read
Applying Domain-Driven Design to Reduce Complexity in Ctrip's Car and Rental Services
Ctrip Technology
Ctrip Technology
Mar 16, 2023 · Operations

Ctrip Mini-Program Automated Error Warning Solution

Ctrip’s automated error warning solution for its WeChat mini‑programs provides a comprehensive pipeline that injects build IDs, collects runtime errors via SDK, maps them with source maps, aggregates data in an APM MySQL store, and delivers real‑time alerts across development, testing, and production stages.

AlertingCtripWeChat
0 likes · 12 min read
Ctrip Mini-Program Automated Error Warning Solution
Ctrip Technology
Ctrip Technology
Mar 9, 2023 · Backend Development

Optimizing Hotel Query Service Memory Usage: GC Tuning, Native Memory Management, and Migration to jemalloc

This article details the systematic reduction of memory consumption for Ctrip's hotel query service by halving container memory, evaluating and tuning modern garbage collectors, diagnosing off‑heap leaks, and ultimately replacing the default ptmalloc allocator with jemalloc to achieve stable performance and lower resource costs.

Backend PerformanceGarbage CollectionJVM
0 likes · 22 min read
Optimizing Hotel Query Service Memory Usage: GC Tuning, Native Memory Management, and Migration to jemalloc
Ctrip Technology
Ctrip Technology
Mar 2, 2023 · Frontend Development

Design2Code (D2C) Tool: Core Algorithm Design and Implementation for Frontend Code Generation

This article presents the Design2Code (D2C) tool, detailing its background, core algorithmic concepts, industry landscape, implementation architecture, layout reconstruction techniques, visual constraints, and future plans, aiming to improve front‑end development efficiency by automatically converting design drafts into production‑ready code.

code generationdesign2codefrontend automation
0 likes · 13 min read
Design2Code (D2C) Tool: Core Algorithm Design and Implementation for Frontend Code Generation
Ctrip Technology
Ctrip Technology
Feb 23, 2023 · Frontend Development

Understanding Qwik: The First O(1) JavaScript SSR Framework and Its Resumable Architecture

This article explains the fundamentals of server‑side rendering versus client‑side rendering, highlights the performance drawbacks of traditional hydration, and introduces Qwik’s resumable approach that serialises state and events into HTML to achieve near‑zero hydration overhead while maintaining interactivity.

QwikResumabilitySSR
0 likes · 23 min read
Understanding Qwik: The First O(1) JavaScript SSR Framework and Its Resumable Architecture
Ctrip Technology
Ctrip Technology
Feb 2, 2023 · Databases

MySQL to OceanBase Migration: Evaluation Tools, Migration Process, Monitoring, and Automated Fault Diagnosis

This article details Ctrip's experience migrating MySQL workloads to the distributed OceanBase database, covering the design of an assessment tool, a one‑click migration workflow, comprehensive monitoring dashboards, automated fault‑diagnosis pipelines, encountered compatibility issues, and future roadmap for the platform.

Database MonitoringDistributed DatabaseMySQL Migration
0 likes · 17 min read
MySQL to OceanBase Migration: Evaluation Tools, Migration Process, Monitoring, and Automated Fault Diagnosis
Ctrip Technology
Ctrip Technology
Jan 12, 2023 · Big Data

Evolution of Ctrip's Log System: From Elasticsearch to ClickHouse and Log 3.0

This article details the evolution of Ctrip's log infrastructure, describing the shift from fragmented departmental logging to a unified Elasticsearch-based platform, the migration to ClickHouse for cost‑effective, high‑performance storage, and the subsequent Log 3.0 redesign that leverages Kubernetes, sharding, and a unified query governance layer to handle petabyte‑scale data.

Big DataClickHouseCloud Native
0 likes · 16 min read
Evolution of Ctrip's Log System: From Elasticsearch to ClickHouse and Log 3.0