Get the App
SLTechnology News&Howtos  ›  Servers  › 

Php mysql queue queue data accumulation

Shulou Source: shulou.com Published: 2022-06-03 03:51:27 09月22日 Update

Php mysql queue queue data accumulation, solution: 1. Create a table in the new database as a new queue queue and access new requests to the new queue. two。 Start more processes to consume this new queue. 3. The old queue continued its original consumption.

If kafka queue data is piled up, a similar method can be used, 1. Copy the data in the existing queue to the new kafka instance, start the corresponding thread to consume the old data in this instance, 2. Change its offset to connect the new request to the original instance.

Tags: Data queues instances consumption methods access databases more threads processes exploitable Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MySQL Shulou Information Redmi Docker