[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [leshan-dev] nginx for UDP load balancing
|
Hi Michael,
thanks for pointing this out. I had been waiting for UDP support in nginx for a long time :-)
I haven't tested this yet but it looks very promising at least. However, given how LWM2M Clients and Servers interact with each other, there might be some obstacles to overcome.
The blog post says:
"Where appropriate, NGINX waits for a response from the server and forwards that response (and any subsequent packets received within the timeout period) back to the client.
If a server fails to respond to a request, NGINX marks it as ‘failed’ and temporarily stops sending datagrams to it. Every few seconds, NGINX checks the server’s health to see if it has recovered by sending it a small amount of live traffic."
This should work for an inital Registration request or a subsequent Update Registration request. However, in between the "requests" are mostly issued by the LWM2M Server. It will need to be seen if nginx will still correctly forward such packets to the LWM2M Client ... maybe it is just a matter of disabling the "proxy_timeout" config property in nginx.
Regards,
Kai
________________________________________
Von: leshan-dev-bounces@xxxxxxxxxxx [leshan-dev-bounces@xxxxxxxxxxx]" im Auftrag von "Michael Huelfenhaus [m.huelfenhaus@xxxxxxxxxxx]
Gesendet: Dienstag, 17. Mai 2016 14:54
An: leshan developer discussions
Betreff: [leshan-dev] nginx for UDP load balancing
Hello
on the cluster page of the wiki it is stated that you are looking for alternative UDP load balancers. I just noticed the addition of this feature to nginx https://www.nginx.com/blog/announcing-udp-load-balancing/ . I think nginx is a better choice as LVS is not so widely used.
Has anybody tested this already in a leshan setup?
Regards,
Michael
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev