Am 15.02.2019 um 22:11 schrieb Joao Morais:
> 
>> Em 15 de fev de 2019, à(s) 08:43, Aleksandar Lazic <[email protected]>
>> escreveu:
>> 
>> Hi Joao.
>> 
>> Am 15.02.2019 um 11:15 schrieb Joao Morais:
>>> 
>>> Hi Aleks, sure. Regarding the config, it has currently about 4k lines
>>> only in the largest frontend because of the number of hostnames and paths
>>> being supported. About 98% is acl declarations, http-request, reqrep,
>>> redirect scheme, use_backend. Most of them I'll move to the backend and
>>> this will already improve performance. The question is: what about the
>>> 2200+ `use_backend` - is there anything else that could be done?
>> 
>> As I don't know the config, even a snippet could help, let me suggest you
>> to try to use a map for lookup for the backends.
>> 
>> https://www.haproxy.com/blog/introduction-to-haproxy-maps/
>> 
> Hey Aleks, this made my day. Thank you for remember me that map exist and a
> big thank you to The Author of map, map_beg and map_reg converters! Time to
> achieve a 5 digits rps.

Wow you mean from 600 rps to 60000 rps "just" to switch to map.
That's amazing 8-O, especially it was just a wild guess ;-)

Would you like to share your config now?

>> Do you use DNS resolving for the hostnames?
>> 
> Nops. My guess so far is the size of the frontend and my tests have confirmed
> this.
> 
>>> / # haproxy -vv HA-Proxy version 1.8.17 2019/01/08
>> 
>> Event it's not critical, it would be nice when you can try 1.8.19 or
>> better 1.9.4 ;-)
>> 
> Moving to 1.8.19 soon and waiting 1.9.5 =)

;-)

> ~jm

Regards
Aleks

Reply via email to