MRASYADC
HomeProjectsWritingsNewsContact
INSIGHTS & TECHNICAL LOGS

Writings

Engineering thoughts, guides, and architectural decisions.

Nov 10, 2026 • 5 min read

Why Inline Auto-Compaction Breaks Streaming SLAs (and How Out-of-Band OPTIMIZE Fixes It)

What 1,000 production Delta commits and a 10,000-trial concurrency stress test taught us about autoCompact pauses, Liquid Clustering, Deletion Vectors, and pre-merge joins.

Data EngineeringDelta LakeApache SparkPerformanceStreaming
Read Article →
Nov 9, 2026 • 5 min read

Sub-Minute SQL Analytics Endpoint Sync in Microsoft Fabric Streaming Pipelines

Why full-lakehouse refreshes collide under 20-second microbatches, why T-SQL external refreshes fail on shortcuts, and how a scoped REST API cuts sync latency to ~1.8s.

Data EngineeringMicrosoft FabricDelta LakePower BIPerformance
Read Article →
Oct 26, 2026 • 5 min read

Solving Streaming Queue Starvation in Fabric with Programmatic JVM Fair Scheduling

How an 80/20 elephant-table skew broke our 60-second CDC SLA, why XML Fair Scheduler configs trigger OneLake ABFS 400 errors, and how Py4J pool injection fixed both.

Data EngineeringApache SparkMicrosoft FabricStructured StreamingPerformance
Read Article →
Sep 18, 2026 • 4 min read

When a Neighboring Dev Query Fills Your Production Disk: A PostgreSQL CDC WAL Saturation Postmortem

How an idle-in-transaction query running for 11 days on a co-located dev database blocked logical replication WAL recycling and pushed production storage to 91% (2.89 TB).

Data EngineeringPostgreSQLCDCDebeziumPostmortem
Read Article →
Jul 8, 2026 • 4 min read

The Silent Timezone Shift: Debugging PySpark's .collect() Offset Bug

How querying a UTC timestamp via PySpark's .collect() magically gained a +7 hour offset, and how to safely serialize dates from the JVM to Python.

Data EngineeringApache SparkPySparkDebuggingTimezones
Read Article →
Jul 8, 2026 • 4 min read

Beyond DISTINCT: The Smart Deduplication Pattern Using Window Functions

How standard DISTINCT logic fails on edge cases, and why ROW_NUMBER() window functions are the ultimate tool for intelligent data deduplication.

Data EngineeringSQLApache SparkDeduplication
Read Article →
Jul 8, 2026 • 4 min read

The Spark 1582 Anomaly: Handling Legacy Dates in Parquet

How a dummy date of 0001-01-01 crashed our production pipeline, and why Spark 3.x enforces the Proleptic Gregorian calendar.

Data EngineeringApache SparkParquetDebugging
Read Article →
Jul 8, 2026 • 6 min read

Taming Spark Event Logs: Cutting Azure Storage Costs by 90% Without Losing Observability

A deep dive into Spark History Server configuration, and how we saved on Azure ADLS Gen2 costs by leveraging ZSTD compression and JVM heap buffering.

Data EngineeringApache SparkAzureCost Optimization
Read Article →
Jul 6, 2026 • 13 min read

Delta Lake Liquid Clustering Benchmark

An empirical deep-dive into the impact of Liquid Clustering on upsert (MERGE) performance using a real-world telematics dataset.

Data EngineeringDelta LakeSparkPerformance
Read Article →
Apr 13, 2026 • 12 min read

Taming the Data Swamp: The Impact of OPTIMIZE, ZORDER, and VACUUM on Delta Tables

An empirical deep-dive into resolving Write Amplification and Small File Problems in Delta Lake on a managed cloud Spark cluster with local M2 benchmarks.

Data EngineeringDelta LakeDelta OSSPerformance Tuning
Read Article →
MRASYADC© 2026
Privacy PolicyEmailLinkedInGitHub