Replies: 3 comments 4 replies
-
Hi @jaybe78, very happy for you to consider Partisan! So, we currently have some cluster formation strategies supported and it should be easy to add more.
|
Beta Was this translation helpful? Give feedback.
-
Hi @aramallo thanks so much for the quick response Using I'm going to test that on ECS and I will share the result here. Hopefully I should be fine :) Just last question: Is it possible to disable global.erl (connect_all false) when using partisan ? If I do a GenServer.cast to a process in another node, it's not gonna anymore right ? thanks |
Beta Was this translation helpful? Give feedback.
-
Hey @aramallo the documentation says:
Does that mean Phoenix Tracker, Presence, who relies on PubSubServer would not work anymore ? config
Presence
I'm asking because Razvan Draghici explains here that he created a specific adapter to use PubSub. Is that necessary ? What about GenServer ? the documentation says
If I understand correctly, this would not work
Cheers, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For the context:
I’m currently building an app with an expectation of 2/3 millions concurrent users.
Those users would spread around 300 000 + channels.
So each channel would contain something like 100 users or less joining and they would mostly exchange chat messages.
I read somewhere that after 40/50 nodes, you can start having issues like loss of messages and it generally does not scale well above that number, and thus where I stumbled upon Partisan.
I hear that Partisan is used for very large cluster.
I have not found any documentation to set up locally Partisan in an elixir cluster.
Yes there is [link](Partisan Cheatsheet — partisan v5.0.0-beta.14) to help join nodes manually, though is there way to set up the cluster so that it finds node automatically ?
I think it would be great for the elixir community to have a chance to use it in their project.
Is that something you could provide in this repo?
I've also currently set up a distributed cluster on production on AWS ECS using service discovery and lib cluster which works quite well.
I would like to know whether that would be possible to reproduce the same thing using Partisan, and would that be as seamless as libcluster, like barely any config needed except setting up service discovery.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions