Work distribution with Jump Consistent Hashing

So I was trying to solve a problem where I needed to distribute workload in my cluster of phoenix apps. They’re clustered up using :libcluster . I wanted to make sure given an event a task only runs once. So I built a small GenServer and used jump consistent hashing to distribute the workload. You can read all about it here. Let me know if you have any feedback!

1 Like