I’m using horde for distributed supervision and registry. My current challenge is to implement state handoff. I want to avoid any external systems like redis and use the tools I already have: either the BEAM or Postgres.
I use binary term for this in the 2 provided state backends:
But the providers themselves decide whether to use a binary term or something else like json (or protobuf, etc). There certainly could be advantages to json, like if you for some reason wanted to query the state of grains (your processes) in the postgres table, but I think term_to_binary suits most needs.
Thanks. Probably not going to use Erleans (not sure if you were implying I should use it ), but glad that the concept of using Postgres for state is used somewhere.
I’ll start with something simple, without any extra libraries, and see how it goes.