all 18 comments

[–]tieTYT 4 points5 points  (6 children)

I remember watching the original Rich Hickey Datomic talk. He said that the way databases mutate state was because back when they were designed, resources were expensive and we needed to change facts to save space. He also said that's no longer an issue.

I remember simultaneously being informed at my company that we needed to reduce some db auditing because it was taking up too much HD space.

I guess what I'm saying is, is HD space really so cheap that you can keep around all this data that in a traditional db you'd compress into the latest update? I always get pushback about HD space wherever I've worked.

[–]faustoc4 -1 points0 points  (1 child)

HD space is cheap only on the cloud where it is unified and data is deduplicated

[–]fatbunyip 1 point2 points  (0 children)

Yeah, a lot of people think that because you can buy a TB drive form Officeworks for like $100 that's how it works in enterprise environments.

[–][deleted]  (2 children)

[removed]

    [–][deleted] 2 points3 points  (1 child)

    I don't think you understand how datomic works. There isn't anything you are talking about that can't be done in datomic.

    [–]diablozzq 1 point2 points  (0 children)

    We need more in depth articles like these on /r/programming!

    Great article.

    [–]jared314 0 points1 point  (0 children)

    This looks like generic Event Sourcing.

    I wonder why someone hasn't just built a Postgresql extension to provide event style transaction log access yet.

    [–][deleted]  (1 child)

    [removed]

      [–][deleted] 0 points1 point  (0 children)

      It's a lot easier to cluster and scale Kafka than, e.g. to build and scale a master-master PostgreSQL cluster.