| Segment Sizing & Sharding Architecture (5M rows / 500MB) | Calibrates segment partitioning targeting the golden 5M rows / 500MB standard, configures dynamic partition pruning, and sets shardSpecs to maximize Historical scan vectorization without memory bloat. | Permits unconstrained segment generation with tiny 10MB segments or massive 5GB segments, overloading Coordinator metadata heaps and stalling Broker scatter-gather query fans. | Treats Druid like a traditional relational database; ignores segment granularity and interval boundaries, leading to segment scatter across hundreds of Historical nodes. | Leaves ingestion specs at default partition settings; creates millions of sub-megabyte segments that crash Coordinator loops and exhaust ZooKeeper state nodes. |
| Ingestion-Time Rollup & Pre-Aggregation Strategy | Architects destructive ingestion-time rollup with calibrated timestamp truncation and metric sketches (HyperLogLog, Theta sketches), achieving 10x-100x storage reduction and sub-second aggregations. | Ingests raw millisecond timestamps and high-cardinality transaction IDs as dimensions, completely defeating segment rollup and exploding cloud deep storage costs. | Disables rollup out of caution, forcing Historical nodes to scan billions of raw event rows for simple dashboard sum and count queries. | Applies rollup blindly without understanding downstream drill-down requirements, irreversibly destroying raw dimensions needed for business reporting. |
| Tiered Historical & Broker Decoupled Topology | Architects multi-tier Historical topologies (hot NVMe vs cold SSD/object store) with automated drop/load retention rules, query routing isolation, and independent Broker query pooling. | Runs a single monolithic Historical tier, storing multi-year cold archives on expensive hot compute and risking memory starvation during seasonal reporting peaks. | Co-locates Brokers and Historicals on identical instances, causing query planning thread contention and uncoordinated segment cache eviction. | Over-provisions Broker memory while starving Historical processing thread buffers, resulting in severe GroupBy query timeouts. |
| MiddleManager Kafka/Kinesis Supervisor Concurrency | Calibrates supervisor task counts, worker task slots, and heap/off-heap direct buffers aligned with streaming partitions, ensuring zero-lag ingestion and seamless segment handoffs. | Overallocates supervisor tasks beyond physical MiddleManager worker slots, leaving real-time tasks queued in pending state and falling behind Kafka retention. | Implements custom cron-based micro-batch scripts over HTTP instead of native streaming supervisors, causing frequent data loss and ingestion stalls. | Assigns arbitrary maxRowsInMemory thresholds, causing premature intermediate segment spilling to disk and frequent OutOfMemoryErrors on indexing workers. |
| Cloud Deep Storage Lifecycle (S3/GCS/Azure Blob) | Configures reliable cloud deep storage integrations (S3/GCS/Azure Blob) with lifecycle archive tiers, atomic segment push/pull mechanics, and resilient Coordinator kill-task cleanup policies. | Fails to automate segment deletion or kill-tasks in deep storage, leaving orphan segment files accumulating hundreds of terabytes in cloud object storage. | Mounts shared NFS or local POSIX storage as deep storage, creating single-point-of-failure storage bottlenecks and cluster-wide crash risks. | Deploys Druid without durable deep storage configuration, risking catastrophic cluster-wide data loss upon worker node restarts. |
| Enterprise Security, TLS & Kerberos/RBAC | Implements end-to-end mTLS encryption across all Druid tiers, Kerberos/OIDC authentication, role-based access control (RBAC), and SQL query-level column masking. | Configures basic plaintext HTTP internal communication, leaving cluster control APIs and inter-node segment replication exposed on local networks. | Relies on external edge reverse proxies alone without configuring internal Druid authenticator extensions or role-based datasource permissions. | Disables authentication extensions entirely to bypass configuration complexity, exposing the Druid Coordinator and Router consoles to unauthorized access. |