Skip to content
View williammacarini's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report williammacarini

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
williammacarini/README.md

Hi, I'm William Macarini

Senior Software Engineer — distributed systems, cloud-native architecture, and high-scale backend platforms in Go and .NET.

Currently at Mercado Pago / Mercado Libre, building and evolving fiscal and billing systems that process millions of requests daily across Latin America.


What I work on

  • Fiscal & billing platforms at scale — systems serving 80K+ sellers across Brazil, Chile, and Peru
  • Event-driven Go services — microservices, Kafka, Redis Streams, CQRS
  • Payment & fintech domain — LatAm payment rails (Pix, boleto), idempotency, reconciliation, tax rules
  • Hard performance problems — query optimization, throughput, observability, reliability

Featured projects

🎂 Confeito Gestão — multi-tenant SaaS for bakery management

Full product built end-to-end: multi-tenant SaaS with per-tenant data isolation, technical costing sheets that propagate ingredient price changes through recipes via Redis Streams, integrated online store, and order workflow (quote → production → delivery).

Backend Go 1.25, Fiber, GORM, PostgreSQL 16, Redis
Frontend Next.js 15, TypeScript, Tailwind, shadcn/ui
Auth JWT with refresh tokens, rate limiting, tenant middleware
Quality 99 test files (Go + TS), Docker Compose, Postman collection
Scale ~62K LOC across two apps + shared types package

Private repository (commercial product). The architecture is documented publicly — see below.

🏗️ confeito-architecture — design decisions behind the SaaS

Architecture write-ups extracted from the production codebase above. Not tutorials — the actual decisions, their trade-offs, and what I'd do differently.

  • Cost cascading via Redis Streams — how an ingredient price change propagates through preparations, recipes and catalog products, including the XAUTOCLAIM / PEL failure mode that only surfaces when a worker dies mid-message in production.
  • Multi-tenancy — shared tables with a single enforcement choke point, its honest weaknesses, and the documented trigger that would make me revisit the decision.
  • Testing strategy — 43 test files across services, handlers and middleware.

🔗 github.com/williammacarini/confeito-architecture

🧱 solid-principles — SOLID in C#, violation and fix

Five principles, each shown twice: the code that violates it and the refactor that fixes it. Drawn from payments and billing rather than the usual shapes and animals — so the trade-offs are real, and a couple of the refactors are only worth doing once the second case appears.

10 tests passing, .NET 10, zero build warnings.

🔗 github.com/williammacarini/solid-principles

🧪 DotNetLab — independent .NET labs

Personal lab of self-contained .NET experiments: Saga Pattern with MassTransit state machine, four rate-limiting algorithms (Fixed Window, Sliding Window, Token Bucket, Leaky Bucket), each with its own solution, tests, and Makefile targets.

🔗 github.com/williammacarini/DotNetLab

✍️ williammacarini.com.br — bilingual engineering blog

21 articles, each published in Portuguese and English — on Go patterns, .NET, architecture, and AI-assisted software engineering. Written in MDX with a custom Next.js App Router setup.

🔗 williammacarini.com.br

Selected writing:

  • Chain of Responsibility in Go
  • Functional Options in Go
  • Saga Pattern in Go
  • Observer Pattern in Go
  • Pipeline Pattern in Go
  • Go 1.26 Green Tea GC
  • SOLID Principles in C#
  • Builder Pattern in C#
  • AI-assisted SDLC orchestration
  • Claude Code hooks & skills

Tech stack

Languages — Go · C# · TypeScript · Python · F#

Backend — Fiber · ASP.NET Core · GORM · EF Core · REST · gRPC

Architecture — Microservices · Event-Driven · CQRS · Event Sourcing · Clean / Hexagonal / Onion · DDD · Saga

Data & Messaging — PostgreSQL · Redis · Kafka · MySQL · BigQuery

Cloud & Infra — Azure · Kubernetes · Docker · AWS · GCP · CI/CD

Observability — OpenTelemetry · Datadog · Kibana


Contact


Core stack

Go C# .NET TypeScript Python

Data, cloud & messaging

PostgreSQL Redis Kafka Kubernetes Docker Azure


Senior Software Engineer · Go & .NET · distributed systems, payments and fiscal platforms at scale

Popular repositories Loading

  1. Matrix Matrix Public

    Matrix operations in C# — a console project for practicing algorithms and multidimensional arrays.

    C#

  2. Xadrez Xadrez Public

    Chess game in C# console — board, pieces, movement rules and game flow.

    C#

  3. SimpleAPI SimpleAPI Public

    Minimal ASP.NET Core API sample (ContosoPizza) — the classic first .NET web API walkthrough.

    C#

  4. RestWithAspNet RestWithAspNet Public

    REST API built with ASP.NET Core — scaffolding, controllers, models and the full walkthrough of a .NET web API.

    C#

  5. CommandPattern CommandPattern Public

    Command Pattern in C# — decoupling invokers from receivers with a runnable example.

    C#

  6. WebApiStore WebApiStore Public

    Store Web API in ASP.NET Core with layered src structure — products, orders and persistence.

    C#