Latest Updates

Documenting code, one commit at a time.

Boosting Laravel Queue Performance: Eliminating N+1 Queries in Massive Uploads

Processing large datasets in background jobs can be a major performance bottleneck. When queue workers start struggling with memory or taking too long, it's often a sign of inefficient database interactions. This was precisely the challenge faced by the Reimpact/platform project, specifically within its 'massive uploads' feature.

The Symptoms

The Reimpact/platform project handles massive

Read more

Eliminating N+1 Queries for Performance in Massive Uploads

The Reimpact platform recently underwent a significant performance improvement focused on optimizing massive data uploads. A key area of focus was eliminating N+1 query problems, which can severely degrade performance when processing large datasets. This post details the approach taken to resolve this issue within the context of "Save*" jobs. This ensures efficiency and scalability.

Read more