dmitry027 Posted April 3 Share Posted April 3 Hello everyone, I am trying to set up Ant Media cluster with Nginx as load balancer and noticed that config on the man page https://github.com/ant-media/Ant-Media-Server/wiki/Nginx-Load-Balancer contains the following settings for edge group: proxy_connect_timeout 7d; proxy_send_timeout 7d; proxy_read_timeout 7d; Could you please explain why we need these values to be so high? And if the values are correct, why they are set for edge group only? Link to comment Share on other sites More sharing options...
1 Murat Eminoglu Posted April 5 Share Posted April 5 We added those lines because of 504 errors. You can decrease them. 1 Link to comment Share on other sites More sharing options...
0 dmitry027 Posted April 5 Author Share Posted April 5 1 hour ago, Murat Eminoglu said: We added those lines because of 504 errors. You can decrease them. @Murat Eminoglu thank you for the reply. Could you please explain more detailed what are the conditions for this error to occur? And why we have these lines only for edge group, but not for origin? Link to comment Share on other sites More sharing options...
0 Murat Eminoglu Posted April 5 Share Posted April 5 (edited) These are the settings we used when testing 150K (reverse proxy timeout settings) Because of that added to only the edge side. I hope it 's clear now.http://nginx.org/en/docs/http/ngx_http_proxy_module.html Edited April 5 by Murat Eminoglu Link to comment Share on other sites More sharing options...
0 dmitry027 Posted April 5 Author Share Posted April 5 2 minutes ago, Murat Eminoglu said: These are the settings we used when testing 150K (reverse proxy timeout settings) Because of that added to only the edge side. Is it clear now ? http://nginx.org/en/docs/http/ngx_http_proxy_module.html So you used these settings for stress testing and they are for extremely high load? Am I understand correct? Link to comment Share on other sites More sharing options...
0 Murat Eminoglu Posted April 5 Share Posted April 5 2 minutes ago, dmitry027 said: So you used these settings for stress testing and they are for extremely high load? Am I understand correct? Yes, correct. 1 Link to comment Share on other sites More sharing options...
Question
dmitry027
Hello everyone,
I am trying to set up Ant Media cluster with Nginx as load balancer and noticed that config on the man page https://github.com/ant-media/Ant-Media-Server/wiki/Nginx-Load-Balancer contains the following settings for edge group:
Could you please explain why we need these values to be so high? And if the values are correct, why they are set for edge group only?
Link to comment
Share on other sites
Top Posters For This Question
3
3
Popular Days
Apr 5
5
Apr 3
1
Top Posters For This Question
Murat Eminoglu 3 posts
dmitry027 3 posts
Popular Days
Apr 5 2023
5 posts
Apr 3 2023
1 post
Popular Posts
Murat Eminoglu
We added those lines because of 504 errors. You can decrease them.
Murat Eminoglu
Yes, correct.
5 answers to this question
Recommended Posts