Retries with backoff, a circuit breaker, periodic reconciliation and an alert. When the cluster goes down, search comes back on its own and nobody reindexes by hand.
At Nocartório
Some of what Samuel has built and maintained on the notary-office management SaaS since 2024.
Images moved out of the HTML as base64 and into storage, with chunked uploads and async extraction. The same document got roughly 20,000× lighter.
Three legacy engines became one, printing the same number of pages across every specialty. Then he removed the legacy code, down to the Python PDF service he had maintained himself.
Ghostscript left the main app. The new service holds no secrets, has no network access and returns pixel-identical images.
TOTP, recovery codes, email OTP and trusted devices.
Fixed:Auth bypassIDORXSSCSRFOpen redirectHe measured where the time went, cut repeated work in the PDF engine and ran the suite in 8 processes.
The cause was a single retry_after on the Redis connection, shared by 44 supervisors. Jobs of up to 18 h went back to the queue while still running, with up to 5 copies at once. He split the connections by duration.
Printing with no pending title archived a blank page on top of the real print. He measured the damage in production across 4,378 titles and fixed the cause in both engines.
Full-stackSoftwareengineer.
Samuel has been working in software for over four years, mostly with PHP/Laravel and Vue 3 with TypeScript, with some .NET along the way. Architecture and code quality are what he cares about most in the job.
At Nocartório, a management SaaS for Brazilian notary offices, he mostly works on legally valid PDF generation and search. There, a certificate can’t gain an extra page and search can’t disappear when the cluster goes down.
Before that, he worked at CCO Bank (Flutter and .NET), Techmind Solutions (.NET and React) and CloudOpss Solutions (Python automation).
Outside work, he trained a car model classifier with transfer learning (EfficientNet) on the public UTFPR-CMMD dataset. Test accuracy went from 61% to 78%, and the conclusion he wrote down is that the next gain would come from the data, not the model.
Journey
Started out automating data collection with Python, then moved through banking and high-volume document generation. Now at a SaaS for notary offices.
- Led the move from three legacy PDF engines to a single engine (tc-lib) for books and certificates in every specialty, with the legacy page count guaranteed by tests. Then removed the legacy code, including the Python PDF service he had maintained himself.
- Moved draft images out of the HTML and into storage, with chunked uploads and async extraction. Autosave for a 347-page PDF dropped from 155 MiB to 7.7 KB.
- Isolated PDF rasterizing in a Rust microservice with PDFium, with no secrets and no network access, and removed Ghostscript from the main app.
- Made search over ~6 million profiles self-healing (Elasticsearch/Laravel Scout).
- Took the book test suite from 3h20 to 12 minutes.
- Led the admin area migration from Blade/jQuery to Vue 3, Inertia and TypeScript, and the file storage move from Azure Blob to OCI Object Storage.
- Built 50+ responsive Flutter screens following product and usability standards.
- Maintained and tested the .NET BFF API that validated and balanced calls before forwarding them to Java services.
- Supported AWS architecture documentation and technical communication with clients.
- Delivered a document generation service for Martins producing over 60,000 pages a day.
- Built .NET services, optimized critical SQL Server queries and supported version upgrades on legacy systems.
- Automated data collection with Python and Selenium and built React interfaces for operational data views.
- Managed CI/CD pipelines on Jenkins and Docker container deployment on AWS.
The toolbox
- Backend: PHP · Laravel, Rust, C# · .NET, Python, Java, REST APIs, Microservices
- Front & mobile: Vue 3, TypeScript, Inertia.js, Pinia, Tailwind, React, Flutter
- Data & search: MySQL, MariaDB, SQL Server, Redis, Elasticsearch
- Infra: Docker, AWS, OCI · S3, Horizon, Reverb, Jenkins, GitLab, Grafana
- Quality: Pest, Vitest, DDD, Hexagonal, Claude Code
Let’stalk
For projects, roles or questions about anything here, just send an email.