GithubHelp home page GithubHelp logo

Comments (4)

jmccormick2001 avatar jmccormick2001 commented on May 27, 2024

Hi, thanks for you question...this is indeed a case where you can pick and choose the deployment based on your use case. For folks that need connection pooling, I found a lot of them like pgbouncer. After offering that container up, it was pointed out to me that it offered a failover mechanism which I also exposed for folks to use.

I wrote crunchy-watch purely as a means to do a form of automated failover, that's its whole purpose and can be modifed pretty easily since it is just a bash script essentially. Next year, you will see crunchy-watch however get more sophisticated in terms of failover logic, it might move to a golang implementation and would be part of a more overarching postgres HA solution.

For connection pooling, you also have the pgpool container which does that as well. The killer feature of pgpool being however to route SQL statements to a master or replica based on the type of SQL statement (reads versus writes). Some like pgpool and some do not, but its there for folks to choose what they want to work with.

Stay tuned, around the January time frame I'm going to release an interesting container that
will offer an alternative to pgpool!

I probably need to revise the rather busy architecture diagram as well! :^))

cheers

from crunchy-containers.

dsapala avatar dsapala commented on May 27, 2024

Excellent! Thank you for the detailed answer!!! Any hint as to what program that new container will be based on?

from crunchy-containers.

jmccormick2001 avatar jmccormick2001 commented on May 27, 2024

all new golang code :^)) Apache V2 license.

from crunchy-containers.

dsapala avatar dsapala commented on May 27, 2024

Very cool. We'll definitely be watching to see that. Thank you for your contributions.

from crunchy-containers.

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.