The present invention provides a cache
information processing method, device and medium for a port platform, which belongs to the field of port
distributed information processing technology. The method receives an update request, performs
authentication and
current limiting on the request; obtains a cache key prefix and a
data structure type, routes the cache key to a
shard node based on a consumption write-back event, performs a write operation in a
distributed cache service and sets a lifetime and multi-copy synchronization; delivers a message body to a message
middleware and obtains a delivery confirmation; pulls messages from a
queue according to the configured
concurrency, performs deduplication
verification on the idempotence identifier of the message, and performs a data persistence operation after verifying that the message version is higher than the current version of the
database; implants an indicator collection point in each module of the entire link, and visualizes the request
delay,
cache hit rate, and message accumulation depth indicators. The method realizes the rational allocation and optimization of
system resources, ensures the consistency and integrity of data, and improves the reliability of message transmission.