FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I Replaced Our Puppeteer Cluster with a Single REST Endpoint — Here's What I Built
How-ToWeb Development

I Replaced Our Puppeteer Cluster with a Single REST Endpoint — Here's What I Built

via Dev.to WebdevDixon Osure9h ago

It didn't announce itself dramatically. No alarms, no pages, no production fire. Just a support ticket on a Tuesday morning: "Hey, I signed up yesterday and never received my invoice. Can you resend it?" We checked. The invoice had never generated. We restarted the PDF service, the next few invoices went out fine, and we closed the ticket and moved on. A week later, another one. Then two in the same day. Then we pulled the logs and realised this had been happening quietly for over a month — a small but steady trickle of failed invoice generations that nobody had noticed because most customers just didn't say anything. We were running Puppeteer in a Docker container to generate PDF invoices — a setup that had worked perfectly in staging, worked fine in the first couple of months of production, and then slowly, quietly, started falling apart. The culprit: a memory leak we couldn't fully pin down. The Chromium process would balloon over time, the pod would get OOM-killed, and invoice gene

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

How-To

The fact that we know what hunger and thirst are makes us treat them as normal.

Medium Programming • 20m ago

The Journey of a 19-Year-Old Bangladeshi Muslim Software Engineer
How-To

The Journey of a 19-Year-Old Bangladeshi Muslim Software Engineer

Medium Programming • 42m ago

How-To

The Hidden Magic (and Monsters) of Go Strings: Zero-Copy Slicing & Builder Secrets

Medium Programming • 1h ago

Why Watching Tutorials Won’t Make You a Good Programmer
How-To

Why Watching Tutorials Won’t Make You a Good Programmer

Medium Programming • 4h ago

The Code That Makes Rockets Fly
How-To

The Code That Makes Rockets Fly

Medium Programming • 5h ago

Discover More Articles