Giter Site home page Giter Site logo

Comments (2)

fititnt avatar fititnt commented on September 23, 2024

Good to know that the official HAProxy configuration for redis have at https://www.haproxy.com/blog/haproxy-advanced-redis-health-check/ seems to not work with lastest version of HAProxy because of missings "".

So what in the documentation was

backend bk_redis
 option tcp-check
 tcp-check send PINGrn
 tcp-check expect string +PONG
 tcp-check send info replicationrn
 tcp-check expect string role:master
 tcp-check send QUITrn
 tcp-check expect string +OK
 server R1 10.0.0.11:6379 check inter 1s
 server R2 10.0.0.12:6379 check inter 1s

Should be more like

(...)
     tcp-check send PING\r\n
     tcp-check expect string +PONG
     tcp-check send info\ replication\r\n
     tcp-check expect string role:master
     tcp-check send QUIT\r\n
     tcp-check expect string +OK
     server delta 173.249.10.99:6379 check inter 5s
     server echo 167.86.127.220:6379 check inter 5s
     server foxtrot 167.86.127.225:6379 check inter 5s

from ap-application-load-balancer.

fititnt avatar fititnt commented on September 23, 2024

I put this on-hold for now.

This is not a priority for the ALB v0.8.x and clustering related options #17, in special because of this commend #22 (comment) and the MVP of Consul storage adapter to lua-resty-auto-ssl #25 have a working redis cluster is not a strong requisite.

Anyway, have this type of health check still very interesting. Maybe will do it if start to make AP-ALB also have health checks for other databases like MariaDB

from ap-application-load-balancer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.