Engineering Blog

Deep Dives

Technical explorations into algorithms, system design, and building software that scales. Every post includes source code.

18
Articles
8
Featured
40
Topics
35+
Source Files

All Posts

Showing 18 articles

ObservabilityDevOpsGrafana+1

Our Observability Stack: Grafana, VictoriaMetrics, and the Art of Knowing

A deep dive into our production monitoring infrastructure. Live dashboards, metrics pipelines, scrape configurations, and why observability is the difference between debugging and guessing.

·16 min
RustAlgorithmsSearch+1

Sub-Millisecond Intent Detection with Finite State Transducers

How we built a Rust command palette achieving <1ms intent detection using FST-based pattern matching, federated search across data sources, and adaptive ranking that learns user behavior.

·14 min
GPUMathematicsSwift+1

Rendering Fractals at 10^10000+ Zoom with Perturbation Theory

Deep dive into GPU-accelerated Julia set rendering achieving theoretically unbounded zoom. Perturbation delta recurrence, BLA iteration skipping, rescaled float arithmetic, and recursive self-similarity wrapping through Newton-Raphson periodic point detection.

·22 min
MathematicsAlgorithmsSwift+1

O(log n) Fibonacci via Ring Exponentiation and FFT

Computing massive Fibonacci numbers using matrix exponentiation in ℤ[√5], FFT-accelerated large integer multiplication with Apple's Accelerate framework, and real-time logarithmic visualization.

·12 min
SimulationPythonOptimization+1

Multi-Objective Optimization for Off-Grid Mining Operations

Building a simulation environment for solar-powered ASIC mining. Pluggable controller architecture balancing three competing objectives: maximize mining revenue, protect battery health, prevent power spikes.

·10 min
RustIoTAPI Integration+1

Building a Real-Time IoT System with Rust and Axum

How we built an automated beach flag system integrating NWS API data, stepper motor control, and smart polling strategies. Production IoT with Rust's safety guarantees.

·9 min
AlgorithmsReactPerformance

Building a Production-Grade Metro Grid Layout Algorithm

How we built a custom constraint-solving algorithm that generates 40+ layout candidates, uses seeded randomization, and implements 'boulders before sand' placement for gap-free photo galleries.

·12 min
SecurityAuthenticationNode.js

Timing-Safe Password Verification: Stopping Login Attacks

Implementing escalating lockout tiers (15min → 1hr → 24hr), dummy hash techniques, and timing-attack resistant authentication without slowing down legitimate users.

·8 min
ArchitectureSaaSPostgreSQL+1

Multi-Tenant SaaS Architecture: 100+ Models in Production

Deep dive into our 1,700+ line Prisma schema with organization hierarchies, RBAC, event sourcing, and modular systems that scale from single-property to enterprise.

·15 min
Data MigrationPostgreSQLDevOps

50,000+ Records: Zero-Downtime Data Migrations

How we migrated complex data between schemas with ID mapping, name splitting, enum transformations, and full audit trails—all without taking the system offline.

·10 min
UXSearchMachine Learning

Building a Smart Launcher That Gets Smarter Over Time

Query tracking, selection patterns, access frequency learning, and suggestion precomputation—how we built a command palette that adapts to user behavior.

·7 min
RustBackendPerformance

Why We Rewrote Our Backend in Rust

Modular crate architecture with Axum, async PostgreSQL with SQLx, type-level multi-tenancy, and compile-time guarantees. What we learned moving from TypeScript to Rust.

·14 min
EmailDevOpsUX

Why Your Transactional Emails Don't Work

Inline CSS, table-based layouts, plain-text fallbacks, and everything else we learned about getting emails into inboxes instead of spam folders.

·6 min
Case StudyAPI DesignReal-time

Digitizing Parking Management: From Paper Tags to Real-Time Lookups

Building a complete parking enforcement system with plate-based lookups, guest pass workflows, enforcement suggestions, and token-based setup links.

·9 min
Case StudyPDFWorkflows

Automating Lease Management for 500+ Properties

Lease packet templates, per-document signatures, jurisdiction-aware rules, approval workflows, and document integrity hashing—the full lease automation stack.

·11 min
ObservabilityDevOpsNext.js

Prometheus Metrics in Next.js Without the Overhead

Integrating prom-client with Next.js for HTTP request metrics, latency histograms, and production observability that doesn't slow down your app.

·5 min
E-commerceStripePerformance

100% Static E-Commerce That Doesn't Feel Like It

Static export strategies, Stripe integration without a server, localStorage cart persistence, and code splitting—building fast e-commerce with no backend.

·8 min
ArchitectureSocialCase Study

How We Built a LinkedIn for Real Estate

18+ profession taxonomy, service marketplace, feed algorithms, and creator verification—architecting a B2B2C platform for real estate professionals.

·10 min

Want to discuss a topic?

Have questions about any of these articles or want to collaborate?

Get in Touch