GithubHelp home page GithubHelp logo

Broken SQL Connection pooling about k3s HOT 1 CLOSED

morzan1001 avatar morzan1001 commented on September 7, 2024
Broken SQL Connection pooling

from k3s.

Comments (1)

brandond avatar brandond commented on September 7, 2024

Kine does use the default golang sql client connection pool support. There is nothing here that is K3s or Kine specific.

Connection pooling does not help you if your database is slow. If a client makes a request from the apiserver that requires a query to the datastore, and there are no pooled connections available (because all the current connections are tied up waiting for an existing query to complete), it will open a new connection. You now have even more queries running, and the database just gets even slower.

I would probably try to figure out why your database is running so slow. Is compaction failing? You should see this in your logs. If it is, you could try manually compacting, or just letting a single K3s server run for a while and see if it is able to compact successfully without additional client load.

from k3s.

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.