Farhan Syah

Badges

Tastemaker
Tastemaker
Gone streaking
Gone streaking

Forums

The problem with multi-model databases: Treating everything as a Document.

Ten years ago, the "database-per-microservice" / polyglot persistence model was the right way to build. But today, the bottleneck isn't the database engine > it's the glue.
What is the "ETL Tax"?

The ETL (Extract, Transform, Load) Tax is the hidden, compounding cost of moving data between specialized databases in a microservice/polyglot architecture. When your data is fractured across Postgres, Redis, Pinecone, and Neo4j, you don't just pay for the databases you pay a massive "tax" to keep them synchronized.

It impacts engineering teams in three fatal ways:

  1. Engineering Time: Developers stop building product features and instead become "plumbers," writing brittle sync scripts, Debezium connectors, and Kafka pipelines.

  2. Data Consistency & Staleness: Dealing with dual-write bugs, race conditions, and out-of-sync data (e.g., a user deletes their account in Postgres, but their embeddings still live in Pinecone).

  3. Network Latency: You cannot do complex, real-time AI queries (like traversing a Graph and doing a Vector search) if the engines have to communicate over a network boundary.

RDX: Is "Docs as Data" the future over MDX?

Hey everyone,

I ve been playing around with RDX (Reactive Document eXpressions) recently and wanted to see what the community thinks about it.

For context: MDX is amazing, but because it allows arbitrary JavaScript execution, it s a massive security risk if you want to allow untrusted users to write content.
RDX takes a different approach: it uses the same familiar JSX-style syntax (<Notice type="warning">), but it parses into a strict, safe AST with zero code execution.

Two things really stood out to me about this approach:

Farhan Syah

2mo ago

RDX - Reactive Document eXpressions: Components as Data, not Code.

The Big Idea MDX changed the game for documentation, but it has a massive Achilles' heel: Security. Because MDX allows arbitrary JavaScript and import statements, you can’t safely let untrusted users author content. Enter RDX. RDX is a strictly typed, declarative document format built as a superset of CommonMark. It gives you the power of rich, interactive components () with the security of a pure data format. No eval(), no JavaScript runtime, and zero risk of XSS.
View more