macrocreation
Hi All,
Anyone using partisan in production? Seems like an interesting framework but I can’t find any documentation on it. @cmeiklejohn any ideas?
Thanks,
Hafeez
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All Posts (oldest first)
- Show All Posts (newest first)
jerdew
Partisan does look to be used in production, and have a new maintainer: Handing off Maintenance of Partisan
Eiji
Isn’t
hexpackage giving everything you need? There are the links to theGitHubrepository as well as documentation which includes even it’s own cheatsheet.macrocreation
There just seem to be many concepts as per the video https://www.youtube.com/watch?v=KrwhOkiifQ8 . They are not covered in the documents e.g.
how do you connect the nodes? Is there any auth like you have with disterl.
do they need to be on the same subnet etc
how do you enable the the different topologies (peer, client server, membership models)
how do you do tracing and replay etc.
There’s a lot of stuff not covered by the docs. Just curious if there was anything else incl a partisan elixir book.
hb
macrocreation
Some more…
thanks
hb
aramallo
Hi @macrocreation
Good to hear you are interested in Partisan. As mentioned above I am maintaining the library and working hard on getting v5 out including the docs.
BTW notice the latest docs are in Partisan — partisan v5.0.0-beta.21.
Being an Erlang lib you can obviously call it from Elixir but we are currently working on having an Elixir API (wrapper modules for Erlang’s).
We’ve been using Partisan in production since v3.
Let’s see if I can answer all your questions.
partisan_peer_service:join/1passing it the result of callingpartisan:node_spec/0on the target node (or building the spec by hand.partisan_peer_discovery_agentwhich allows you to use a seed list of nodes or DNS lookup. Alternatively you can implement your own backed for the agent.There is a third alternative I still need to validate works with the latest changes and is the Orchestration modules in Partisan which offer an implementation for K8s.
We are using the DNS agent within K8s with great results in production.
Nope. You can use TLS though, and I will be working on enabling Cryptosign (equivalent to TLS but without certificates).
You do that by setting the config parameter
peer_service_managerto the module implementing the topology.Some of them are enabled via config parameters (
partisan_configmodule) and some other are defined in the Options of the API functions.I am working on documenting those features as we speak.
aramallo
In v5 we go beyond messaging
I set myself 4 goals for v5:
partisan_pluggable_peer_service_managerusingpartisan_full_memebership_strategy)partisan_hyparview_peer_service_managerr)I am one test case away from having both 1 and 2 done and I consider the implementation of 3 and 4 to be good to go (OTP implementation passes the Erlang’s Test Suites)
So some of the capabilities you are asking for are already exposed by the
partisanmodule and thepartisan_gen_*behaviours.Mind you OTP only works for full mesh topology at the moment.
Ankhers
Thank you @aramallo for taking over the partisan project. It is a great project that shows how far we can take distributed Erlang and still be very performant. I look forward to the evolution of the project and hope I can find some room to contribute more than the tiny bit I have. I also hope I can actually use it in a project some day.
aramallo
Thanks a lot @Ankhers! All the kudos to @cmeiklejohn for creating the library. I am still learning all its capabilities (now turning my focus on HyParView as it is where the real distinctive value of Partisan lies).
BTW I hope I improved on your remote monitor implementation
. Still some more work to do there, specially if we want to try and cater for HyParView.
Looking forward to your contribs!
Ankhers
I’m sure you did lol. I don’t remember the details, but I think I implemented it fairly quickly based on a discussion somewhere because I wanted to get my hands dirty with partisan.
Is there some place outside of github that you and others involved in the project hangout? I know there used to be a gitter space or whatever it was called. Not sure if it is active now with new maintainers.
aramallo
We only have GitHub but I can open up a channel at Bondy.io’s Slack (recently created)