• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • spense 10 minutes

    warpstream was built around this idea as a lower cost competitor to kafka.

    https://www.warpstream.com/blog/kafka-is-dead-long-live-kafk...

    https://www.warpstream.com/blog/warpstream-s3-express-one-zo...

  • toomuchtodo 4 minutes

    > Q. Did anyone at Amazon know you were doing this?

    > A. Absolutely not. If they knew, they would have had to try to stop me. Amazonians aren't just people I work with; they're my friends, and I don't want anyone to get in trouble for me being irredeemably weird.

    This is a badge of honor, wear it proudly. Weird people build cool things. Great work.

  • mef 17 hours

    nefarious! I love it

  • bob1029 33 minutes

    I think the marginal cost per gigabyte thru S3 might actually be cheaper for Amazon than a low latency network link between two arbitrary points in space.

    I have a feeling there would not be any kind of TOS consequences for this.

  • nvartolomei 33 minutes

    Love this. Warpstream and friends did put this in production.

  • pizzafeelsright 1 minutes

    How is there a market or charge for this?

    It seems rather trivial, which is to say, I want to understand.

    I have found a few other methods to ship data rather cheaply but any time "at scale" happens the cost really has not been an issue because $2k is a lot to me but in my $5M project it's not worth the hour of effort.

  • datadrivenangel 15 hours

    Very clever to take advantage of the S3 to EC2 being free within regions.

  • booi 17 hours

    I'm struggling to understand how this against ToS. All it really does is shed some light on the absurdity of the inter-AZ transit cost.

    aeyes 16 minutes

    Why would it be? Whole enterprises were built on trying to reduce AWS cost by using the tools that AWS provides in clever ways.

    cobwebcheck 5 minutes

    [dead]

    munch-o-man 41 minutes

    I feel like it would almost be cheaper if you need replication to use something like the https://github.com/afreidah/s3-orchestrator orchestration tool I built and configure both buckets as separate backends and do broadcast writes so that it writes to both simultaneously and you just get hit with the ingress of each and no egress/transfer fees...and add compression to shrink the ingress/egress size.

    But I'm not super up-to-date on how s3 pricing works across AZs and stuff.

    cperciva 16 hours

    I'm struggling to understand how this against ToS.

    I don't think it is. Amazon might have some objections to the name, but they don't have a trademark on "S3"...

    10 hours

  • amluto 1 hours

    I think this mostly illustrates how absurd AWS pricing is. This in-and-out-of-S3 traffic surely costs AWS at least an order of magnitude more more than ordinary cross-AZ traffic: it gets checksummed; it goes through the fancy S3 metadata layer three times (and the write and subsequent delete are atomic!); it needs to be stored durably and deleted durably; and it still needs to cross AZs!

    This likely indicates that cross-AZ traffic is marked up 100x and likely quite a bit more. And the NAT gateway somehow adds another 4.5x on top.

    oofbey 41 minutes

    I've known teams taking advantage of this same trick at scale for years. Maybe something will change now that somebody is pointing it out with a generic tool?

    I'd guess the underlying reason is that S3's pricing is very competitive, and people pay attention to it. But things like networking that generally don't amount to much people just accept whatever the price is. So AWS can get away with absurd markup.

    ignoreusernames 36 minutes

    > This likely indicates that cross-AZ traffic is marked up 100x

    Or even higher. Their AZ traffic pricing has always been borderline criminal. I think they just treat it as a hidden tax for bigger enterprises (smaller companies usually don't worry about cross-AZ resilience). I put it on the same class as SAS companies treating SSO functionality as some extremely complex thing hidden behind "enterprise class" pricing.

    hnlmorg 19 minutes

    Are you sure you’re not thinking of cross-region? Which is very expensive and definitely not something your average business would worry about.

    Whereas I’d expect most businesses to be multi-AZ since it’s very easy and usually cost effective to implement.

    cperciva 49 minutes

    There are some possibilities which could make S3 replication legitimately cheaper: It doesn't need to track security groups or connections, and it might run at a lower QoS.

    But I think the right answer to that is "give us an option for discounted low-priority traffic".

    lima 14 minutes

    The cost of matching ACLs is trivial compared to S3, where metadata writes go through a distributed database with strict consistency and multi-round consensus.

    S3 writes synchronous within a region with read-after-write consistency, so they can't treat it as low-prio traffic either without killing write latency.