Home > Database > Mysql Tutorial > body text

mysql-关于MySQL高并发处理机制

WBOY
Release: 2016-06-06 09:41:48
Original
1378 people have browsed it

mysql线程高并发

大家好,最近面试的时候碰到一道面试题:MySQL在高并发的情况下,如何及时处理这么多连接的同步请求?当时我答得不够好,只知道是用线程池来实现。但是面试官说线程的数目是有限的,如果是1w个连接,仅仅用线程池来实现还是不能够及时响应。后来他说是用户态线程和内核线程调度的机制。但是我搜索过关键字“MySQL高并发机制”等等,都没有找到具体实现。具体是如何实现的呢?请大家指点一下。
另外有什么可以参考的文章推荐?谢谢!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!