BigData / Apache Hudi Interview Questions
What is the difference between synchronous and asynchronous table services?
Hudi's table services (compaction, clustering, cleaning, indexing) can run in two modes relative to the ingestion job.
| Synchronous (inline) | Asynchronous |
| Runs as part of the same write job, blocking the next write until done. | Runs as a separate job/thread, decoupled from the write path. |
| Simpler operationally; no extra job to manage. | Keeps write latency low, but needs its own scheduling and monitoring. |
| Better for smaller tables or less frequent writes. | Preferred for high-throughput, low-latency streaming ingestion. |
Most production streaming pipelines run compaction and clustering asynchronously so a slow table-service run never stalls incoming data.
More Related questions...