Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
31–40 of 240 posts
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#32No schema validation?
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#33I also now remember back to using something that was akin to FaaS but wasn’t called that. I could give them a JAR of some code that would execute on some Ion data for the order data when it changed. Basically FaaS for an ETL pipeline…
Crazy how ahead of the times some companies were.
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#34So basically it's Amazon's version of Apache Avro. Avro supports binary/json serialization, schema evolution , logical types (e.g. timestamp) and other cool stuff. https://avro.apache.org/docs/current/spec.html
Unlike avro, ion doesn't require a schema.
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#35Wow I remember using Ion back at Amazon in 2012. I can’t remember but I think the order data warehouse was using it … I also now remember back to using something that was akin to FaaS but wasn’t called that. I could give them a JAR of some code that would execute on some Ion data for the order data when it changed. Basically FaaS for an ETL pipeline… Crazy how ahead of the times some companies were.
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#36Pretty neat, but isn't it like *two* formats: one binary and one textual?
You can't say the same of, for example, YAML & JSON, since the former (if not the latter?) has constructs unrepresentable in the other.
It's slightly confused because an application might 'serialise to' JSON or YAML or Ion equivalently - but really that's saying the application's data being serialised fits a model that's a subset of the intersection between those formats.
You could call Ion two, but it's more than that in that it's also a promise that they're 1:1 (err, and onto if you like) - their intersection is their union.
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#37Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#38Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#39Wow I remember using Ion back at Amazon in 2012. I can’t remember but I think the order data warehouse was using it … I also now remember back to using something that was akin to FaaS but wasn’t called that. I could give them a JAR of some code that would execute on some Ion data for the order data when it changed. Basically FaaS for an ETL pipeline… Crazy how ahead of the times some companies were.
I wonder why it took 10+ years to share then?
Re: Amazon Ion – A richly-typed, self-describing, hierarchical serialization format
#40First thoughts are:
ION pros: - easy to skip around while reading a file - no need to write a schema - backed by amazon so major langs will have impls - good date support - better concatenation, probably better suited to logging than bare
ION cons - what's the text format even for?
BARE pros: - schemas keep things tightly versioned - smaller binaries (not self describing like ion) - simpler to implement so tons of devs have impl'ed for their favorite lang - better suited to small messages (think REST json api)
BARE cons: - no skip read - no date support
I might do an ion ruby implementation too, to really feel out the difference.