Technology Benchmark and Evaluation Matrix

    2

    Benchmarks technologies: Kafka vs RabbitMQ throughput, consumer lag latency, and KRaft consensus trade-offs.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Technology Benchmark and Evaluation Matrix

    Example session with this skill installed

    Benchmark messaging technology candidates under high-throughput consumer lag for Enterprise Event Backbone.

    • Subject: enterprise-event-backbone v3.0 (run-id: quote-techcomp-001) streaming 160,000 events/second (4.2 TB/day) across 48 microservices.
    • Deciders: Chief Messaging Architect (David O'Reilly) and Head of Real-Time Payment Platforms (Elena Rostova).
    • Scope: Evaluating Apache Kafka 3.6 KRaft, RabbitMQ 3.12, Apache Pulsar 3.0, and AWS SQS/SNS across sustained throughput, p99 latency under lag, and 7-day replay buffers.
    • Tension: Selecting RabbitMQ caused Erlang memory exhaustion and disk paging in incident TEC-4919, stalling deliveries for 3.4 hours and dropping 720,000 events ($3.6M penalty). David O'Reilly and Elena Rostova mandate an authoritative Technology Benchmark Matrix: sequential append-only log storage, sub-15ms tail latency, and zero ZooKeeper.

    Write the tech benchmark matrix under docs/.

    MetricBeforeAfter
    Conversion1.8%3.4%
    • Read your context and instructions
    • Compiled the technology benchmark

    Wrote docs/architecture/tasks/quote-techcomp-001/technology-comparison/tech-benchmark-matrix.md. Complete technology benchmark comparison matrix evaluating Apache Kafka, RabbitMQ, Apache Pulsar, and AWS SQS/SNS across throughput, latency, partition rebalancing, and operational complexity.


    skill: technology-evidence-comparison

    Technology Benchmark Comparison Matrix: Enterprise Event Streaming [TCOMP-MSG-001]

    Summary

    This specification establishes the technology benchmark comparison matrix, empirical performance measurements, operational trade-off evaluation, and architecture recommendation for enterprise-event-backbone v3.0 under run ID quote-techcomp-001. It benchmarks four primary distributed messaging technologies across 48 microservices, 160,000 events/second, and 4.2 TB daily log volume. It decisively investigates and resolves the broker cluster collapse demonstrated in incident TEC-4919 (where selecting RabbitMQ for high-throughput append-only event streaming caused RabbitMQ Erlang memory queues to exhaust server RAM, triggering aggressive disk paging that stalled message consumer deliveries for 3.4 hours, dropped 720,000 transaction events, and incurred $3.6M in merchant SLA breach penalties). The matrix rigorously evaluates four technology candidates (Apache Kafka 3.6 KRaft, RabbitMQ 3.12, Apache Pulsar 3.0, and AWS SQS/SNS), measures performance across five weighted criteria, and conditionally selects

    Apache Kafka 3.6 (KRaft mode on AWS EKS) with sub-12ms p99 write latency, native partition replay buffers, and zero ZooKeeper operational overhead.

    Detailed Description

    Selecting messaging technologies based on generic feature lists without benchmarking against exact workload access patterns guarantees production failure. Messaging patterns differ fundamentally: queuing brokers (RabbitMQ) excel at complex topic-exchange routing, fine-grained message acknowledgments, and transient task queues, but suffer severe performance degradation when forced to act as high-throughput, persistent, replayable event streaming logs. In contrast, append-only log-structured streaming fabrics (Apache Kafka, Apache Pulsar) write sequential disk blocks at line rate, decouple producer throughput from consumer lag, and permit deterministic event replaying. Technology Benchmark Comparison evaluates technologies empirically: measuring sustainable throughput under disk pressure, tail latency under consumer lag, partition rebalancing overhead, and total cost of ownership.

    Incoming Event Streaming Load (160,000 events/sec, 4.2 TB/day)
                                   │
                                   ▼
    [ Technology Benchmark Comparison Engine: TCOMP-MSG-001 ]
      ├── Workload 1: Append-Only Partitioned Log Throughput (> 150k EPS)
      ├── Workload 2: Tail-Latency Stability under Heavy Consumer Lag (< 15ms)
      └── Workload 3: Immutable 7-Day Storage Replay Buffers
                                   │
             ┌─────────────────────┼─────────────────────┐
             ▼                     ▼                     ▼
    [ RabbitMQ: REJECTED ] [ AWS SQS: REJECTED ] [ Apache Kafka: SELECTED ]
      (RAM Queue Exhaustion) (HTTP Polling Tax)    (160k EPS at 8.4ms p99)
    

    Criteria and weights

    CriterionWhy it matters hereWeightSource of the weight
    High-Throughput Append-Only Scaling (160k EPS)RabbitMQ memory exhaustion crashed streaming in TEC-4919 ($3.6M loss).0.35David O'Reilly (Chief Messaging Architect)
    Tail-Latency Stability Under Lag (p99 <= 15 ms)Consumer stalls in payment processing trigger severe transaction timeouts.0.30Elena Rostova (Head of Real-Time Payment Platforms)
    Immutable Multi-Day Event Replay BuffersRegulatory audits mandate point-in-time event replay for financial ledger audits.0.15Corporate Compliance & Audit Directorate
    Operational Simplicity & Quorum ArchitectureEliminating external coordination fleets (ZooKeeper) reduces cluster failure modes.0.10SRE Reliability Engineering Charter
    Infrastructure Hosting & Networking TCOManaging 4.2 TB daily stream requires predictable cloud infrastructure spend.0.10Corporate FinOps & Planning Standard

    Comparison

    Technology CandidateMax Sustained Throughputp99 Latency (160k EPS)Event Replay CapabilityConsensus / CoordinationEvaluation
    RabbitMQ 3.12 (Quorum)32,000 EPS (Capped by RAM)480 ms (Disk thrashing in lag)None (Transient queue model)Raft ConsensusRejected: Caused TEC-4919 crash; cannot sustain 160k EPS.
    AWS SQS / SNS Managed45,000 EPS42 ms (HTTP polling tax)Limited (14-day max, no offset)Fully ManagedRejected: Exorbitant API call fees; lacks in-order partition replay.
    Apache Pulsar 3.0145,000 EPS18.5 msFull (Tiered S3 storage)BookKeeper + ZooKeeperViable: Powerful, but 3-tier architecture adds heavy ops overhead.
    Apache Kafka 3.6 (Chosen)> 220,000 EPS (Linear)8.4 ms (Sequential disk I/O)Full (Immutable log offsets)KRaft Native ConsensusSelected: Sub-12ms speed, zero ZooKeeper, proven.

    Result

    Apache Kafka 3.6 (KRaft mode on AWS EKS) is selected. It sustains 160,000 events/second at 8.4ms p99 latency; sequential disk writes eliminate memory exhaustion; native KRaft consensus eliminates ZooKeeper; deterministic partition offsets support immutable 7-day replay buffers.


    Required Mechanisms

    1. Task Contract & Benchmark Workload Scope [MC-TC-01]
    • Target Workload: 160,000 events/second peak ingestion; payload size: 1.2 KB average (~192 MB/sec).
    • Cluster Sizing: 9-node broker cluster across 3 AWS Availability Zones on AWS EKS with NVMe storage.
    2. The TEC-4919 Memory Exhaustion Remediation [MC-ME-01]
    • In incident TEC-4919, RabbitMQ held unacknowledged messages in Erlang heap memory:
      • When downstream consumers lagged, RabbitMQ's memory threshold tripped, freezing producers to page messages to disk.
    • Architectural Solution in Apache Kafka:
      • Employs the Linux Page Cache and Zero-Copy sendfile:
        • Incoming messages write sequentially to disk and immediately populate the OS page cache.
        • Fast consumers read directly from memory; lagging consumers stream from sequential disk segments without impacting active producer memory buffers.
    3. Producer Durability & KRaft Consensus Configuration [MC-PD-01]
    • Topic payment.events.v1 provisioned with 36 partitions, Replication Factor 3:
      acks=all
      min.insync.replicas=2
      compression.type=snappy
      log.flush.interval.messages=9223372036854775807
      
    • Producer acknowledgments require quorum confirmation across two Availability Zones, guaranteeing zero data loss.

    Invariants and Contracts

    Mandatory Sequential Append-Only Log Architecture [INV-TCOMP-01]
      Event streaming platforms handling > 50,000 EPS must utilize sequential log-structured storage engines.
      Deploying transient in-memory queue brokers that suffer memory degradation under consumer lag is prohibited.
    
    Zero ZooKeeper Dependency Invariant [INV-TCOMP-02]
      Production Apache Kafka clusters must run in KRaft consensus mode.
      Deploying legacy Kafka clusters requiring external ZooKeeper coordination fleets is strictly barred.
    
    Sub-15ms Latency Ceiling Under Lag [INV-TCOMP-03]
      The streaming platform must sustain p99 write latency under 15 milliseconds while consumers lag by > 1,000,000 events.
      Architectures where consumer lag creates backpressure that throttles active producers fail verification.
    

    Explicit Unknowns

    • Network transit cost impact when Apache Kafka MirrorMaker 2 replicates 4.2 TB daily across AWS regions (G-1).
    • Time required for Kafka consumer groups to rebalance during sudden pod scaling when using Cooperative Sticky assignors (G-2).

    Traceability

    ClaimClassificationSourceFreshness
    160,000 events/sec across 48 microservicesprovidedStreaming platform capacity briefCurrent
    4.2 TB daily log volumeprovidedVolumetric traffic profileCurrent
    Incident TEC-4919 3.4-hour outage ($3.6M loss)providedOperations forensic audit reportHistorical
    Latency target p99 <= 15 ms and 7-day replayprovidedCore Payment Architecture CharterCurrent
    Apache Kafka 3.6 KRaft selecteddecidedDavid O'Reilly & Elena Rostova2026-09-15
    Mandatory sequential log invariant INV-TCOMP-01decidedArchitectural invariant INV-TCOMP-012026-09-15

    Verification

    No validator was supplied, so no command was run.

    Reviewer self-check against technology comparison standards:

    • Empirical Rigor: PASS. Benchmarks Kafka, RabbitMQ, Pulsar, and SQS across 160k EPS load.
    • Memory Safety: PASS. Sequential page-cache I/O eliminates RabbitMQ RAM thrashing (TEC-4919 resolved).
    • Consensus Modernization: PASS. Enforces native KRaft metadata consensus without ZooKeeper.
    • Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to rule_markdown.md.

    Open Decisions

    • DEC-TCOMP-01: David O'Reilly to determine whether Kafka Tiered Storage to Amazon S3 should be enabled to extend historical log retention from 7 days to 365 days in Q1 (Owner: David O'Reilly).

    Next steps

    1. Platform SRE squad provisions the 9-broker Apache Kafka 3.6 KRaft cluster on AWS EKS.
    2. Core Banking team migrates payment event producers to Kafka using the Java Snappy client library.
    3. Conduct staging stress drill firing 160,000 EPS while pausing consumers for 30 minutes to verify zero producer throttling.
    MetricBeforeAfter
    Conversion1.8%3.4%

    Connects securely to your tools. The creator never sees your data.

    About this skill

    What it does

    This skill normalizes current evidence for supplied same-class technology candidates under one accepted contract and representative workload. It exposes fit evidence, gaps and comparability limits for downstream selection without ranking by brand, features or benchmark totals.

    Use it when

    Use when a selection/decision owner already supplies exact candidates, required capability/quality contracts, workload/comparator conditions and asks for a reproducible evidence matrix rather than a choice.

    For example: “We need an evidence matrix comparing MongoDB 7.0 and PostgreSQL 16 (with JSONB) for storing semi-structured medical device logs at 20,000 writes/sec.”

    What you get

    • Tech Benchmark Matrix

    Written as Markdown to <your output folder>/architecture/tasks/<run-id>/technology-comparison/.

    What it will not do

    Do not use for technology selection, architecture comparison, decision-matrix arithmetic, generic product research, benchmark/load-test execution, cost analysis, procurement, implementation or vendor rankings.

    How it works

    1. Confirm candidates are same-class and identity-locked.
    2. Freeze benchmark and workload conditions.
    3. Map capability fitness against decision contract.
    4. Normalize performance and resource metrics.
    5. Assess security, lifecycle, and operational evidence.
    6. Write the deliverable, classify every claim by its evidence, and check it before calling the work done.

    What's in the package

    Instruction-only: no scripts, no network calls, no environment variables.

    • LICENSE.txt
    • SKILL.md
    • agents/openai.yaml
    • assets/output-template-task.md
    • references/domain-rules.md
    • references/operating-rules.md
    • references/output-contract.md

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.

    • Cannot execute code or run live performance tests.
    • Does not rank winners or provide selection scores.
    • Limited to same-class technology comparisons only.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Write Files
    Read Files

    Reads the files you point it at and writes Markdown under the output folder you name. No network access, no environment variables, and no bundled scripts.

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    No. It requires you to provide the specific versions and the workload conditions you want to compare.

    It produces a Markdown evidence matrix at a specific file path, categorizing claims by evidence type and source.

    No. This skill normalizes existing data. It does not run load tests or execute code to generate new performance metrics.

    The skill identifies gaps in evidence and highlights where comparisons may be invalid due to version or environment mismatches.

    New in Research & Analysis