walex
walex copied to clipboard
Set up Horde (for running on multiple nodes)
https://github.com/cpursley/walex/issues/41
Similar to Nebulex
defmodule MyApp.Cache do
use Nebulex.Cache,
otp_app: :my_app,
adapter: Nebulex.Adapters.Horde,
horde: [
members: :auto,
process_redistribution: :passive
# any other Horde options ...
]
end
But perhaps just in regular config instead of a module.
heya Any news on this ? Would be interested in using walex in a Failover multi-node setup. Would that be compatible with what you had in mind ?
I did some initial experiment but didn't get too far. Ran into a situation where multiple nodes were subscribes and I was still getting duplicate events. I'd love to see progress on this and open to ideas / PRs.
Best handled in user's application.