Method and processing system for improving the pricing system IO and concurrency performance of a web-based car-hailing service

By introducing a local cache queue and asynchronous processing mechanism into the ride-hailing pricing system, the problems of database IO latency and excessive load in high-concurrency scenarios were solved, achieving faster response speed and higher concurrency processing capabilities, and ensuring system stability and data consistency.

CN122243590APending Publication Date: 2026-06-19广州宸祺出行科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
广州宸祺出行科技有限公司
Filing Date
2026-03-10
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In high-concurrency scenarios, the cumulative database IO write latency of the ride-hailing pricing system leads to slow interface response. High-frequency and scattered data writes cause excessive database concurrency load. The lack of effective local buffering and anti-loss mechanisms results in insufficient system stability under peak traffic, making it unable to meet the requirements of high concurrency and low latency.

Method used

A local memory cache queue combined with asynchronous processing is used to trigger batch data write to the database based on a threshold. The pricing result data is written to the local cache queue and returned immediately. Asynchronous threads are used to perform cleaning and deduplication processing, and data is recorded through write-ahead logs (WAL). Combined with dual-condition triggering of batch data write to the database and asynchronous status feedback, data consistency and disaster recovery are ensured.

Benefits of technology

It improved interface response speed, reduced database I/O request frequency and load, ensured stable system operation under peak traffic, reduced database write volume, prevented data loss, and improved the system's concurrent processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122243590A_ABST
    Figure CN122243590A_ABST
Patent Text Reader

Abstract

This invention discloses a method and processing system for improving the IO and concurrency performance of a ride-hailing pricing system. Applied to the server side, it receives and verifies intelligent pricing request data containing trip details, user information, and environmental supply and demand through an access interface; it performs pricing calculations based on business attributes to generate pricing result data; it writes this data to a local memory cache queue and synchronously records a write-ahead log (WAL) containing the cache queue status; immediately after writing to the cache, it returns the pricing result data to the request initiator, achieving asynchronous separation of response and persistence. The system monitors the cache queue status in real time and triggers a batch database entry process when a preset threshold is reached; it extracts multiple pricing data entries, groups them by ride demand identifier, cleans and deduplicates them, retaining only the pricing record with the latest timestamp to generate a set of pricing data to be entered into the database; finally, it writes the set to the database in batches and provides feedback on the persistence status through an asynchronous communication mechanism.
Need to check novelty before this filing date? Find Prior Art