Code Monkey home page Code Monkey logo

Comments (6)

sgotti avatar sgotti commented on May 13, 2024

@kafkapre Probably this should be cleanly documented. Stolon does ha using streaming replication and by default all the stolon standbys are hot standbys. Currently, to access them, you have to discover or know the standbys addresses/ports (for "static" environments) or in future you can use the stolon proxy (to make it easy to connect to standbys under dynamic environments like kubernetes) (see #132).

Or do you mean something different?

from stolon.

sgotti avatar sgotti commented on May 13, 2024

@kafkapre Did my previous comment answered your question?

from stolon.

kafkapre avatar kafkapre commented on May 13, 2024

Sorry for late response. Yes, I intended something like that. I like that stolon proxies would have "mapped" all postgres instances (master + slaves) and they woluld manage and loadbalance read requests among them. But it seem that this functionality is not implemented yet. When do you intend to imlement it? Thanks.

from stolon.

sashgorokhov avatar sashgorokhov commented on May 13, 2024

@sgotti so that means that in default installation all standbys are in hot standby mode and stolon proxies proxy read requests to them?

from stolon.

kafkapre avatar kafkapre commented on May 13, 2024

Yes, exactly as you wrote. Only it does not have to be set up as default, it is enough to switch to it via e.g. environment property.

from stolon.

sgotti avatar sgotti commented on May 13, 2024

As of now the main purpose is to provide ha and communication to the current master via the proxy. Future use of the proxy to also balance readonly connections to standbys is covered in #132.

from stolon.

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.