walex icon indicating copy to clipboard operation
walex copied to clipboard

Set up Horde (for running on multiple nodes)

Open cpursley opened this issue 1 year ago • 2 comments

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.

cpursley avatar Jan 26 '24 21:01 cpursley

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 ?

DaemonSnake avatar Apr 28 '24 15:04 DaemonSnake

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.

cpursley avatar Apr 29 '24 22:04 cpursley

Best handled in user's application.

cpursley avatar May 21 '24 20:05 cpursley