leef
leef on Hacker News
Posted by
leef on Friday May 08, 2026 @02:36PM
from the aws.amazon.com dept.
That is kind of the point of this repo. If your API implementation is too expensive for lambda move the same container to run on EKS/ECS fargate or ec2. The opposite holds as well - if you can save money by moving it from fargate to lambda then you can use the same container.
Ion has a binary format but is not specifically about real-time streaming. It is a JSON replacement.
Ion originated 10+ years ago from the Amazon catalog team - the team that kept data about the hundreds of millions of items available on Amazon. Nearly every team in the company called the catalog to get information about items all the time - scanning the entire catalog, parts of the catalog, millions of individual item lookups every second, etc.
They did the math and some very large percentage of network traffic in Amazon Retails data centers was catalog data. If that data, currently in XML or JSON format, was sent in a more compact format it would save some ridiculous millions of dollars every year. So Ion was born and eventually open sourced.
I have my Calibre library store to Dropbox.
Remarkable integrates with Dropbox so my library is always in sync!
Works pretty well.
Posted by
leef on Wednesday October 26, 2022 @11:34AM
from the proton.me dept.
Posted by
leef on Thursday January 31, 2019 @09:56PM
from the uwaterloo.ca dept.
Posted by
leef on Tuesday November 27, 2018 @06:05PM
from the aws.amazon.com dept.
Posted by
leef on Tuesday November 27, 2018 @03:18PM
from the aws.amazon.com dept.
Posted by
leef on Tuesday November 27, 2018 @12:03AM
from the firecracker-microvm.github.io dept.
Posted by
leef on Tuesday November 27, 2018 @12:01AM
from the aws.amazon.com dept.
Posted by
leef on Monday November 26, 2018 @10:51PM
from the aws.amazon.com dept.
Posted by
leef on Tuesday October 16, 2018 @10:48PM
from the adam.shostack.org dept.
Posted by
leef on Tuesday September 25, 2018 @02:18AM
from the blog.cloudflare.com dept.
Posted by
leef on Thursday December 07, 2017 @01:21AM
from the metaparticle.io dept.
Posted by
leef on Tuesday July 11, 2017 @08:07PM
from the misti.com dept.
I finally got into emacs using the prelude distribution -
https://github.com/bbatsov/preludeIt has sane defaults and contextual tips that help when you're getting started (and can turn off later).
Posted by
leef on Tuesday March 28, 2017 @10:37AM
from the businesswire.com dept.
The intent of the stored schema isn't really for self-description. A typical use case for Avro is data storage over long periods of time.
It is expected that the schema will evolve at some point during this time. Therefore you still need to specify a target schema to read the data into which is allowed to be different than the stored schema. Avro then maps the stored data into the target schema by using the stored schema. Most avro libraries expect you to get the target schema from a separate source before reading data.
Ion has functions to turn Ion into JSON which will, of course, lose information. Annotations are dropped, decimals turn into a JSON number type which may lose precision, etc.
That's not true. Avro at least existed at the time. However they wanted something self-describing to replace JSON/XML usage. Avro is better suited as a data storage format rather than a transit oriented format. Of course, both Ion and Avro can be used for either, but Avro will give you better compression on disk, but Ion is less cumbersome since it doesn't require a schema
Finally! I've had to live the JSON nightmare since I left Amazon.
Some of the benefits over JSON:
* Real date type
* Real binary type - no need to base64 encode
* Real decimal type - invaluable when working with currency
* Annotations - You can tag an Ion field in a map with an annotation that says, e.g. its compression ("csv", "snappy") or its serialized type ('com.example.Foo').
* Text and binary format
* Symbol tables - this is like automated jsonpack.
* It's self-describing - meaning, unlike Avro, you don't need the schema ahead of time to read or write the data.
Why the severe restriction on users? $300/mo to go beyond five users eliminates any advantage on log volume.
I realize your previous comment was more in reference to transient network partitions so my comment is out of place. But whether the mechanism is manual or automatic once a network partition is discovered the reshuffle begins.
Really it doesn't matter and your point only goes to show one of Cassandra's flaws. When either a network partition or a server failure happens Cassandra starts reshuffling data amongst multiple hosts and filling network pipes. Contrast this with a setup where you have a static partitioning of hosts to partition and a leader per partition. Then you only need to (possibly) elect a new leader and carry on.
This is especially relevant when you need to do these things because of unexpected load increases or the loss of hosts in your cluster.
Posted by
leef on Tuesday April 14, 2015 @06:46PM
from the 0xdabbad00.com dept.
Posted by
leef on Thursday April 09, 2015 @02:00PM
from the aws.amazon.com dept.
Posted by
leef on Thursday April 09, 2015 @01:58PM
from the aws.amazon.com dept.