Latest Insights

Latest things that happened

Handling file uploads without hosting your own storage
Latest Insights
Handling file uploads without hosting your own storage

Someone asks for avatar uploads. Then it is PDF attachments. Then a customer wants to send 200 MB video files from a phone on hotel wifi. The naive version of this feature is a multipart POST to your API, the file lands in a temp directory, and now your app server is also a storage server. Disk fills up, requests tie up worker threads, and you are suddenly responsible fo ...

By BrainSoft  |  5 15 September 2026
Making an integration idempotent so retries are safe
Latest Insights
Making an integration idempotent so retries are safe

You've built an integration that sends orders to a fulfillment service. One day the network hiccups, the request times out, and your code retries. Now the customer gets two shipments. Retries are necessary for reliability, but without idempotency they can cause chaos. The fix is to make every operation safe to repeat. Idempotency means that ...

By BrainSoft  |  5 13 September 2026
Picking a queue driver: database, Redis or a managed service
Latest Insights
Picking a queue driver: database, Redis or a managed service

Almost every project eventually needs background work: sending email, resizing images, syncing with an external API, generating a report. The first version usually runs inline and nobody notices. Then a request takes four seconds because it is waiting on a third-party endpoint, and someone says we should put this on a queue. The question that follows is which queue. ...

By BrainSoft  |  5 12 September 2026