‹ BackHN Continuity

Thread

Cloudflare K2: serverless event streams

290 points · 112 comments · elffjs

  1. elendilm · · focus · HN ↗
    Nice.

    Our Monolog is similar in spirit.

    Instead of building Monolog on object storage (R2, S3), we built it on our Dip, thus achieving extreme low latency and parallelism for ingestion and consumption.

    Our novel architecture enables scaling to infinite consumers without upfront partitions (no magic, different tradeoff). This plays nicely with Slyp's data locality and application architecture.

    Monolog is built on Rust, is lightweight, and runs on mobiles and servers alike.

    The original reason for building Monolog was comically outlandish, Kafka was slow and required JVM, Redpanda was eating too much RAM - 2GB min which is absurd for our use case. Redpanda was also consuming so much CPU that the disgusting CPU fan noise had us feel emotional pain.

    We would very much like to build object storage on Dip, but we are currently preoccupied and hence don't have any immediate plans to build one in the short term. Hence, it is R2 for now.

    1. agallego · · focus · HN ↗
      You can use redpanda with interrupts just fine (no fan noise). You don’t need to busy poll for low resource envs. Same for sys alloc
      1. elendilm · · focus · HN ↗
        Glad to know. Rollout of our apps Slyp and SlypBusiness remains our current priority.

        Would have been useful for us if we'd known about it earlier.

        Monolog's use case goes beyond resource usage, but Redpanda users coming across this would definitely find this helpful.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.