RAFAEL C.
DELGADO

Rafael C. Delgado
01 — ABOUT

Senior Software Engineer with 10+ years building high-performance, data-intensive backend systems handling 40M+ records. Specialized in SQL performance optimization, rule-driven financial workflows, and resilient background processing across MySQL, PostgreSQL, and MariaDB environments.

Proven track record reducing multi-second query paths (~30s) to sub-second latency through execution-plan analysis, composite index design, and OpenSearch optimization. Experienced designing idempotent financial pipelines, hierarchical data models, and Redis-backed async systems that maintain correctness under high concurrency.

Hands-on engineer focused on data integrity, performance, and scalability in mission-critical transactional systems. Strong TypeScript experience across Next.js and React applications.

02 — TECHNICAL ARSENAL

🔴 Backend & Data Systems

  • Ruby on Rails (7 years)
  • Laravel (10 years)
  • SQL Tuning
  • High-Volume Transactional Data
  • Hierarchical Data Models

⚙️ Infrastructure & Performance

  • Redis
  • Sidekiq
  • CloudFlare
  • Digital Ocean
  • AWS
  • Docker
  • Idempotent Jobs
  • Concurrency Tuning

🔍 Search & Indexing

  • OpenSearch (40M+ records)
  • Elasticsearch
  • Composite Indexing
  • Execution-plan Analysis
  • Near-real-time Ingestion

⚛️ Frontend & Full Stack

  • TypeScript
  • Next.js
  • React
  • Tailwind CSS
  • ShadCN
  • JavaScript

🗃️ Databases

  • PostgreSQL
  • MySQL
  • MariaDB
  • SQL Server
  • Performance Tuning

Quality & Testing

  • RSpec
  • Minitest
  • TDD
  • CI/CD
  • Automated Testing
  • Code Reviews

🤖 Data Science & AI

  • Python
  • NumPy
  • Pandas
  • Machine Learning
  • MIT IDSS Certified
  • Antigravity
  • Cursor
  • Claude Code
  • Gemini CLI
03 — EXPERIENCE LOG2015 — PRESENT
2025 – Present

SalesHood

Senior Software Developer & AI Engineer

  • Built a suite of AI "module builder" agents that let users create training and coaching content conversationally — video, SCORM, live event, exercise, and asset builders.
  • Built a Huddle Overview agent with contextual tools, a greeting flow, and file ingestion.
  • Integrated LLMs into production with a focus on reliability and safety: retrying transient upstream failures, normalizing model errors into client-safe responses, and sanitizing input sent to the model.
  • Shipped agent UX such as streaming the model's reasoning into the chat, gated on model capability.
  • Improved accuracy of learning-completion tracking, coaching and role-play workflows, notifications, and SAML/SSO authentication in the core Rails web app.
  • Optimized performance and correctness by filtering at the database level and hardening against concurrency issues.
  • Expanded automated test coverage and modernized the test suite.
ElixirPhoenixAsh FrameworkObanRuby on RailsPostgreSQL
May 2025 – Present

Independent Consultant

Independent Consultant — Senior Backend / Full-Stack Developer

  • Built an AI-assisted financial intake pipeline that extracts, validates, and routes invoice and purchase order data into accounting workflows.
  • Designed rule-driven pricing matrix overriding fixed profit logic based on product price tiers, with deterministic rounding and separation of canonical vs computed pricing.
  • Implemented time-window controls across Accounts Payable and Accounts Receivable workflows with idempotent safeguards for audit consistency.
  • Engineered high-speed PDF → structured data ingestion system with validation rules to ensure financial data accuracy.
  • Designed and optimized self-referential chart-of-accounts schema (parent/subaccount model) with targeted indexing for fast traversal and aggregation.
  • Implemented Stripe subscription billing and automated AR ledger generation ensuring transactional integrity across the billing lifecycle.
  • Reconciled payment data across Clover POS, internal systems, and QuickBooks, improving financial visibility and reducing discrepancies.
  • Designed scalable backend APIs and data pipelines emphasizing correctness, observability, and performance.
TypeScriptNext.jsReactStripeQuickBooks APIAI Agents
Nov 2023 – May 2025

Cabal

Senior Software Engineer

  • Engineered high-throughput background processing pipelines handling tens of millions of records using Redis-backed Sidekiq workers.
  • Reduced multi-second query paths (~30s) to sub-second latency through targeted index redesign, execution-plan analysis, and access-path optimization.
  • Designed idempotent job workflows and concurrency safeguards to prevent duplicate processing of financial and transactional data.
  • Implemented priority-segmented queue architecture (critical / important / default) with dedicated worker pools, improving SLA reliability.
  • Tuned Sidekiq concurrency, bulk enqueue, and batching strategies to increase queue throughput under heavy load.
  • Built and maintained OpenSearch indexing pipelines supporting 40M+ searchable records with near-real-time ingestion.
  • Partnered cross-functionally with Product and GTM to deliver data-heavy features in a fast-moving startup environment.
Ruby on RailsSidekiqRedisOpenSearchPostgreSQLSystem Architecture
Nov 2022 – Sept 2023

Tyrannosaurus Tech

Senior Laravel & Ruby on Rails Developer

  • Designed and implemented scalable backend services and REST APIs supporting high-volume transactional workloads.
  • Diagnosed and resolved database performance bottlenecks through query refactoring, composite indexing, and query-plan optimization.
  • Investigated complex production incidents and implemented durable fixes to improve system reliability.
  • Mentored junior engineers and enforced structured code review practices.
  • Contributed to system architecture decisions focused on long-term scalability and predictable performance.
LaravelRuby on RailsPostgreSQLComposite IndexingREST APIs
Mar 2021 – Sep 2022

Grupo AFAL

Senior Web Developer

  • Led Ruby on Rails development initiatives delivering scalable web solutions aligned with dynamic business needs.
  • Applied Test-Driven Development (RSpec) to ensure long-term code reliability and maintainability.
  • Enforced CI/CD and code review practices supporting consistent deployments.
  • Proactively monitored application health using AppSignal and resolved production issues.
  • Mentored team members and served as technical liaison with clients.
Ruby on RailsRSpecTDDCI/CDAppSignal
Nov 2015 - Mar 2021

ZIER Consulting Services

Senior Backend Developer | Owner

Manager of technical department for digitalization and optimization of business processes. Platform architect between City Hall and State Government, designed and developed business process platforms.

LaravelRubyRuby on RailsTDDAgile Methodologies
Mar 2007 - Jan 2015

General Procurement, Inc

IT Manager | Web Developer

Managed IT infrastructure across multiple branches (California, Miami, Puerto Rico, Mexico). Developed ERP systems, implemented Twilio SMS platform, and created B2C platform using Ruby on Rails.

Ruby on RailsSQL ServerLaravelMagentoWordPressOpenERP
04 — SELECTED WORKS

RavnPro — High-Volume Financial Processing & Reconciliation

VISIT SITE

Designed and optimized Redis-backed Sidekiq pipelines to process high-volume transactional workloads safely and efficiently. Implemented idempotent job patterns, lightweight locking, and retry-safe workflows to prevent double-processing and maintain data integrity under concurrent load. Reduced multi-second processing paths to sub-second performance.

Built an end-to-end financial intake and reconciliation pipeline that extracts, validates, and routes invoice and purchase order data into accounting workflows. Integrated Stripe billing, Clover POS, and QuickBooks to improve financial visibility and reduce manual reconciliation effort.

Designed and optimized a self-referential chart-of-accounts data model supporting multi-level financial rollups and fast hierarchical traversal. Applied targeted indexing and query tuning to enable efficient aggregation across large financial datasets.

Technologies

Ruby on RailsRedisSidekiqPostgreSQLStripeQuickBooks

Cabal — High-Scale Backend Systems

VISIT SITE

Contributed to high-throughput backend infrastructure supporting tens of millions of records. Focused on SQL performance tuning, queue prioritization, Sidekiq concurrency optimization, and OpenSearch indexing to maintain low-latency behavior in production environments.

Technologies

OpenSearchSQL TuningHigh-ScaleBackend

Grupo AFAL — Enterprise Web & Backend Platform

VISIT SITE

Developed and maintained backend services and web applications supporting business operations and digital workflows. Implemented scalable APIs, improved database access patterns, and supported production deployments for enterprise clients.

Technologies

Enterprise APIScalable SystemsDigital Workflows

LosReyesTires — eCommerce Platform

VISIT SITE

Built and maintained a production eCommerce platform supporting product catalog management, inventory workflows, and customer purchase flows. Implemented backend logic for order processing, data consistency, and performance optimization to support real-world transactional usage. (Still on development)

Technologies

eCommerceOrder ProcessingInventory Management
05 — APPS I'VE BUILT

A multi-tenant EHS compliance platform for Mexican industry — NOM-based checklists, NOM-035 psychosocial surveys, corrective-action tracking, and document-expiry alerts scoped per work center — fused with an autonomous AI newsroom that researches, writes, and emails a daily EHS bulletin to verified subscribers. Built end-to-end: passwordless auth, strict org-level data isolation, evidence management, Stripe billing, and an idempotent AI content pipeline that ships every morning without a human in the loop.

Technologies

Next.jsTypeScriptReactTailwind CSSDrizzle ORMPostgreSQLOpenAIStripe

A production financial-operations platform that processes high-volume transactional workloads at sub-second latency. End-to-end invoice and purchase-order intake, automated reconciliation across Stripe, Clover POS, and QuickBooks, a rule-driven pricing engine with deterministic rounding, and a self-referential chart-of-accounts model engineered for fast hierarchical rollups. Rails core, Redis-backed Sidekiq pipelines with idempotent job patterns, and a TypeScript front end.

Technologies

Ruby on RailsTypeScriptReactRedisSidekiqPostgreSQLStripeQuickBooks

MiraSignage

VISIT SITE

A multi-operator digital-signage platform: a web console to compose, schedule, and push content to any screen, backed by native iOS and Android player apps that render playlists on the display. Multi-tenant to the core — operators, billing, and cross-operator analytics — with a Rails API driving a TypeScript admin and two native clients from a single source of truth.

Technologies

Ruby on RailsNext.jsTypeScriptSwiftKotlinPostgreSQL

Bazzu — iOS App

A multi-tenant point-of-sale iOS app for micro-entrepreneurs and reseller networks. Runs in-person sales, live inventory, layaway plans with partial payments, participant payouts, and role-based access (owner, entrepreneur, cashier) — all secured behind biometric authentication. Native SwiftUI, tuned for speed at the counter.

Technologies

SwiftSwiftUIREST APIBiometric Auth

Cimarrones Tecate — iOS App

VISIT SITE

The official iOS app for the Cimarrones de Tecate baseball club — live scores, schedules, rosters, standings, and club news in every fan's pocket. A native Swift experience backed by a purpose-built API serving real-time game data.

Technologies

SwiftSwiftUITypeScript API