[sr-dev] [kamailio/kamailio] dispatcher : better distribution when using hash and destination is not available (#2363)

Kalki70 notifications at github.com
Sun Jun 28 08:20:36 CEST 2020


After careful consideration, I have decided not to implement a new algorithm. My proposal is an enhancement of current hash algorithms. It's an extension.  Without changes it will behave like it has always been, since 2004. **It does not break anything**.

However, if the user wants, via modparam he can activate the extension, so rehash of hash can happen. As we must know, hash of rehash could lead to same original failed server. In that case, a loop of rehashing may happen. It's up to the user to decide how many tries of rehashing. Anyway, if after retrying hashing still no available server is found, algorithm stops and falls back to original, sequential implementation. Fully backward compatible.

I expected this place to be an interesting interacting place of ideas and debating, with several people arguing. For instance, mister  @sergey-safarov, who seemed to like my proposal at issue #2361.

Now, if mister "god" Daniel Constantin Mierla decides to just reject this proposal, because he just did not like it, or because it's  June, we will just happily use at my work my patched version of kamailio, and we can simply forget the subject.

This is one of the benefits of open source.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2363#issuecomment-650703891
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200627/782149be/attachment.html>


More information about the sr-dev mailing list