Latest Updates

Documenting code, one commit at a time.

Implementing Rate Limiting for AutoSync Jobs

Introduction

Our application relies on the AutoSyncGeneratePostJob to synchronize data. Recently, we encountered issues with exceeding the rate limits imposed by Azure, leading to job failures and data inconsistencies. To address this, we implemented rate-limiting middleware specifically for this job.

The Problem

The AutoSyncGeneratePostJob frequently triggered requests to Azure services.

Read more
PHP Queue JavaScript

Improved Retry Handling for AutoSyncGeneratePostJob

Introduction

The AutoSyncGeneratePostJob is crucial for automatically generating posts. Recently, we encountered an issue where rate limits were causing the job to exhaust its retry budget prematurely, leading to job failures even when the underlying issue was temporary.

The Challenge

The original job configuration used a $tries property to define the maximum number of attempts.

Read more