Home  >  Q&A  >  body text

php - mysql逻辑架构中服务层怎么连接的

每一个客户端发起一个新的请求都由服务器端的连接/线程处理工具负责接收客户端的请求并开辟一个新的内存空间 在服务器端的内存中生成一个新的线程, 当每一个用户连 接到服务器端的时候就会在进程地址空间里生成一个新的线程 用于响应客户端请求 用户发起的查询请求都在线程空间内运行, 结果也在这里面缓存并返回给服务器端.线程的 重用和销毁 都是由连接/线程处理管理器实现的

这段话不理解 我们平时访问网站数据库 到底是客户端发起的请求 还是我们用户发起的请求呢 作为用户来说 压根就没所谓的客户端 我理解的客户端是远程链接工具
求详细解答

仅有的幸福仅有的幸福2700 days ago663

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 13:07:30

    When the user operates the browser, the browser will access the corresponding server. This means that the browser can be viewed as a client, that is, the client makes a request, and the corresponding client is relative to the server, connects to the server, and performs operations on the server. Various operations.

    reply
    0
  • Cancelreply