Blue patch cables connected to Ethernet ports

← All work

Brought in to unblock one thing in lockdown. Stayed for every Black Friday since.

Obsentum, a long-established exclusive distributor, went online in a hurry when the pandemic hit. I came in to unblock one urgent thing and have been its architect and consultant through every sales peak since.

Obsentum

  • Obsentum
Obsentum · in numbers
6 yearsand countingthrough every Black Friday since launch
−99%image delivery costa small Go service on object storageServed through Cloudflare's edge, which also kept storage traffic low.
15×fasterthan the commerce suite's default storage

The image service is on average 11% slower than the managed one it replaced. That is the honest trade.

Six stories

An urgent unblock

My first job for Obsentum was an urgent unblock in the first lockdown, soon after the business went online: company billing details had to reach the warehouse from the checkout. I did it fast, and it led to six years of work.

Six months later I was preparing the shop for its first Black Friday.

The busiest days

Before each peak: price imports rehearsed, caching tuned and load tests run with a suite I wrote. In between, the infrastructure moved to managed cloud and Kubernetes.

The shop stayed reliable through its Black Friday and anniversary promotions.

The ticket at the checkout

The shop had a separate area for travellers: a customer with a validated plane ticket in their profile could enter a different shop, with its own prices and sometimes its own products. So checkout had to answer one question: is this person really flying? Where an airline offers an API, the service asks it. Where it doesn't, it gets the answer the way a person would, through browser automation (Playwright) and an emulated Android phone (Appium).

Boarding passes arrive as PDFs and phone photos in dozens of formats, so a Python OCR pipeline picks the clearest frame, reads the barcode, and falls back to computer vision when the barcode is damaged.

Booking references are stored masked.

The image bill

Product images were served by Cloudflare Images. I replaced it with a small Go service on plain object storage.

It is not a better Cloudflare Images, and it doesn't try to be: responses are on average 11% slower. But the bill fell by more than 99%, and images still load more than fifteen times faster than from the e-commerce suite's default storage.

Small Go service on object storage

Cost

Baseline
−99%

Response time

Baseline
+11% slower on average

Measured in production.

A new commerce suite, the same customers

When Obsentum moved to a commerce cloud suite, I was the one who knew the old system. I advised through the migration and wrote small serverless functions to carry things across.

One of them let existing customers keep their passwords without anyone ever seeing them.

Shop, back office and ERP in step

Orders, customers and invoices travel from the shop to the back office and on to the ERP. I built that link and kept it working.

When e-invoicing became mandatory, invoices were synchronised with the national e-invoicing system, and company details began filling themselves in from the tax authority's records, with VAT numbers validated at checkout.

And its security

Over the years I have also run penetration tests for Obsentum and for other companies in its group, each under a signed scope. See breach prevention and hardening.

Need a shop that holds on Black Friday?

I am happy to talk through how I would approach it.

Get in touch