On 28. feb. 2011, at 15.32, Jaime Medrano Navarro wrote:

> Hi.
> 
> At tuenti, we have found a performance degradation on UDP that can be
> solved using a range of ports instead of a single one.
> 
> More info on the problem and the solution can be found here:
>   http://blog.tuenti.com/dev/using-udp-in-memcached/
> 
> And the patch with the implementation:
>   
> https://github.com/tuenti/memcached-tuenti-multiport/commit/50736adb879b687b59918bac2559e3a99116141b
> 
> We'd like that patch to be included, since it's very little invasive
> and the performance gain is huge.
> 

I don't have any huge objections to this patch, but I'd rather change the logic 
so instead of specifying the number of ports and have them in a range I'd 
prefer if we used multiple -h hostname:port and -U hostname:port. That would 
allow you to bind to multiple specific interfaces and multiple port numbers.. 
ex: -h *:11211 -h *:11212 -h *:11213 etc

what do you think?

Trond

Reply via email to