Giter Site home page Giter Site logo

Comments (8)

yaoweibin avatar yaoweibin commented on July 20, 2024

Could you disable the session creation for the your health check URL?

from nginx_upstream_check_module.

seanloook avatar seanloook commented on July 20, 2024

those sessions is created every 3 second(interval=3000), not created by my health check URL. My loadbalancer can handle failover well, so I don't want to know the backend servers status until I refresh the healcheck URL.

from nginx_upstream_check_module.

seanloook avatar seanloook commented on July 20, 2024

Reply to: I know the session is created by the tomcat. Could you disable the tomcat to create the session with the specific health check URL?

I know. I mean there must be a mechanism you check backend tomcats status, such as send a request to tomcat every 3 seconds, I don't know THIS request URL to disable session (NOT my health ckeck URL like http://hostname/nginx_status) .

from nginx_upstream_check_module.

seanloook avatar seanloook commented on July 20, 2024

In my mind, what's the nginx_upstream_check_module do is that nginx communicat with tomcats throght some way. According to what I see, there must be a request sent erery interval time. My browser can keep the same sessionID for serveral request, but not this healcheck module--one request,one new session in tomcat. It's not about the URL because it has nothing to do with whether I vist the url to see status.

from nginx_upstream_check_module.

seanloook avatar seanloook commented on July 20, 2024

this situation will appear when I "curl http://localhost:80/", every time I get a new sessionID, but not in my browser. Coud you explain it for me? 谢谢! (还是习惯用中文。。)

from nginx_upstream_check_module.

seanloook avatar seanloook commented on July 20, 2024

你好,我看见有个Closed Issue说upstream_check模块跟jvm_route不兼容。我没试过jvm_route,但我看它好像与nginx_sticky_module模块实现的功能是一样的,我在ngnix_sticky_module里面看到这么一句话“Warnings: sticky module does not work with the nginx_http_upstream_check_module.”, is there any difference? And this healthcheck_nginx_upstreams module...pretty confused. Thanks!

from nginx_upstream_check_module.

yaoweibin avatar yaoweibin commented on July 20, 2024

都是需要patch结合,使用这个patch就可以用sticky模块:https://github.com/yaoweibin/nginx_upstream_check_module/blob/master/nginx-sticky-module.patch

from nginx_upstream_check_module.

yaoweibin avatar yaoweibin commented on July 20, 2024

Now the upstream check module can support keepalive connection

from nginx_upstream_check_module.

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.