Problems I have solved, design decisions explained, personal projects in progress, automations and classroom material.
01 · Experience
Problems I have solved
Pick a problem to see what had to be solved, how it was solved and what it left. They come from my job and from clients; for confidentiality I do not name companies, brands or countries.
In production At my job
Live results nobody can fake
Run tournaments in rounds, with different scoring modes, and publish the ranking without any result being made up or replayed.
How it was solved
The backend was split into separate services, each with a single responsibility, behind a gateway. Games send the score encrypted and the server rejects replays. The design decisions were written down.
My part
System planning, integration of backend, frontend and gateway, and the production release for a live event.
5services in production
A scheduled job advances the rounds every minute. It debuted at a three-day live event.
Shipping a product without stopping what already works
A web gaming portal had to go to production and also be opened for other brands without rewriting the frontend.
How it was solved
The frontend knows nothing about brands: it asks the backend for the portal's configuration, which carries the brand, the colours and the home sections in their order. The release was done in steps, with the migrations ordered by hand, so another product's data would not be overwritten.
My part
Technical design of the backend and the frontend, deployment, migrations, catalogue loading, and the mobile and desktop implementation.
nbrands
1deploy
In production since September 2026. A new portal is opened by publishing its configuration, and the service scales by itself with demand.
Next.jsTypeScriptCloud RunLaravelKubernetes
In production At my job
Charging through several gateways without charging twice
Every payment gateway reports back in its own way: late, repeated or out of order. And a duplicate charge is the most expensive mistake.
How it was solved
Every gateway comes in through the same point, which checks that each notice is authentic and tolerates it arriving repeated or out of order. The full flow is explained under Architecture.
My part
Production release of a new gateway (migrations, deployment and notice configuration) and review of how notices are verified.
3gateways, one interface
A single point receives and confirms the notices from all of them.
TypeScriptCloud FunctionsLaravelPub/Sub
In production At my job
A slow screen and a wrong diagnosis
A verification screen took 3.5 seconds. The ticket assumed the captcha was to blame and already came with the fix written.
How it was solved
Before touching anything, the whole flow was measured across four repositories. A gap showed up where the captcha did nothing: the browser was busy with measurement tags.
My part
Instrumentation, measurement and diagnosis.
53%of the time was not the captcha
The measurement changed the plan: the fix the ticket asked for was dropped and the work went to the real cause.
Next.jsLaravelWeb performance
In progress At my job
Everyone sees only what is theirs
An internal panel knew who was signing in, but not what each person could do. And the session was looked up again every minute.
How it was solved
A permission matrix per role, loaded through a migration so it stays versioned. The session cache is now keyed by the person's identity instead of a token that rotates every minute.
My part
Definition of the permission matrix and the session cache change.
60 → 1session lookups per person
From one lookup per minute to a single one per sign-in. It is in testing, before going to production.
LaravelRedisNext.js
In progress With a client
Controlling who enters the premises
An industrial company needs to register and control contractor access to its premises.
How it was solved
An iPad app, with the backend and the cloud side built at SharpyIT.
My part
Tech lead of the team and development of the app.
Still in progress. The outcome will be added once it is in use.
SwiftUILaravelAzure
02 · Architecture
Three design decisions, and what they cost
Each one is written the way I think about it: the problem, the decision, the reason and the price. The first two come with a short film to watch them run.
Decision 01
The order does not wait. The charge comes later.
In production
The problem
Charging depends on an external provider, which may take a while. The client cannot be left waiting for it.
Scene 1 of 9Who takes partscript 01
01A client, a gateway and three services. The payment provider sits outside the system.
0:00 / 0:00
What I decided
The order is reserved, the charge is requested and the answer is "pending" right away. Confirmation comes later, through another path.
Why
The answer to the client does not depend on a third party. If the provider is slow or down, the system keeps serving.
What it cost
The order goes through in-between states that have to be shown to the client and watched.
token in cachereservation with expiryone key per order
architecture/order.ts
Decision 02
One notice. Each service gets its own copy.
In production
The problem
The provider reports back when it wants: late, twice or never.
Scene 1 of 11Where we left offscript 02
01The order is pending and the reservation clock is running. The provider still has to say whether it charged.
0:00 / 0:00
What I decided
The gateway only verifies the notice and publishes it to a topic. Each service gets it through its own subscription.
Why
Adding a service that listens does not mean touching the one that publishes. And if one goes down, the others carry on.
What it cost
A message may arrive twice, so every service has to tolerate it.
two topicsone subscription per serviceduplicates droppedscheduled check
architecture/charge-confirmed.ts
Decision 03
The AI looks. It does not touch.
Design
The problem
Adding AI to a system in use without putting its data at risk.
What I decided
The AI queries a copy of the data, never the original system. A service replicates every change to a mirror database.
Why
An AI mistake cannot alter real data: it has no way to write.
What it cost
The copy runs a few moments behind the original.
4 stepsscript 03
The original system receives a change.Animation in the works
mirror databasechange replicationread-only
architecture/read-only.ts
03 · Lab
What I build on my own
Personal projects, in progress.
In progress
Databases II tutor
Problem
Students need to ask questions outside class, and a generic assistant answers with content the course has not covered yet.
My part
A tutor that answers only from the course notes and filters by what each class has already seen. It runs on a local model on my server and logs the questions the notes do not cover.
LaravelNuxtPythonLocal modelPostgreSQL
In progress
Open-world role-playing game
What it is
An open-world survival and building game. The name and setting will be announced later.
My part
I develop it on my own, with AI assistance. The one-square-kilometre map is generated by code.
Unreal Engine 5
04 · Automations
AI in my own work
Always with a person who confirms before anything is published.
In progress
Virtual classroom
Problem
Checking pending work, downloading submissions and writing feedback takes hours every week.
My part
Four automations that list what is pending, download the submissions and propose a status and feedback. Nothing is published in the classroom without my confirmation.
In production
Deployment monitoring
Problem
After a deployment someone has to watch the logs for hours to catch new errors.
My part
An automation that watches the logs, groups repeated alerts, restarts itself if it stops and leaves a final report.
05 · Interactive lessons
Interactive classroom
Concepts are easier to understand by watching them work than by reading about them. It is a site with step-by-step films and practice in the browser for two subjects: Databases II, and Algorithms and Python. In Spanish.