GithubHelp home page GithubHelp logo

alibaba / tdh_socket Goto Github PK

View Code? Open in Web Editor NEW
167.0 32.0 115.0 1.47 MB

TDH_Socket_Plugin_for_MySQL is a MySQL plugin which like HandlerSocket.

License: GNU General Public License v2.0

C++ 31.34% Shell 0.06% C 63.96% Objective-C 0.11% Python 4.53%

tdh_socket's Introduction

About TDH_Socket_Plugin_for_MySQL

TDH_Socket_Plugin_for_MySQL is a MySQL plugin which like HandlerSocket(https://github.com/DeNADev/HandlerSocket-Plugin-for-MySQL). And it provide more features and better performance. It direct access the MySQL handler to bypass sql parse for better performance, and it use thread pool and a series of strategy to have high performance.

Features:

  1. Like HandlerSocket with Full Functionality
  2. Connection Multiplexing (Dynamic IOStrategy) ,use only one port
  3. DDL no hang (can close opened table manually)
  4. Support stream output (like dump)
    • Large amount of data ,less memory used
  5. Easy to use
  6. Support multithreading modifying operation
    • A table must be executed in a constant thread
    • One table modifying operation can be configured for concurrency (may cause deadlock)
    • Client can assign thead which to execute the request
  7. Dynamic working thread number adjustment (more Physical Reads ,more thread working)
  8. Better performance than HandlerSocket when have many Physical Reads scene
  9. Can Throttling the Physical Reads

More documents are available in doc/.

tdh_socket's People

Contributors

zephyrleaves avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tdh_socket's Issues

长连接qps性能下降严重

在开100个并发时,长期查询,性能感觉不大。
但是在开到1000个并发后,性能下降非常严重,从最初26万qps,压测一晚上。下降到7万多qps。
环境是percona5.5.18 centos6.6

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.