The server_id type is integer, which I consider to be more than enough for any very large
deployment (the positive range is over 2 billion values, I am quite confident it is more
than any foreseeable deployment would have in terms of number of server/kamailio
instances).
The scope of server_id is to be fast in matching, not to add too much penalty. Otherwise
it could have been a string.
You may want to store a value that is larger than integer, but others later may want to
store something else where even long long is enough.
So in my opinion, integer is enough, server id is supposed to be a unique integer value in
the deployment, not something else. But I am open to see opinions from others, if they
find benefits or drawbacks.
--
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/issues/1322#issuecomment-346428804