Loading

摘要: HTTP/1.0 无状态:服务器不跟踪不记录请求过的状态 无连接:浏览器每次请求都需要建立tcp连接 HTTP/1.0规定浏览器和服务器保持短暂的连接。浏览器的每次请求都需要与服务器建立一个TCP连接,服务器处理完成后立即断开TCP连接(无连接),服务器不跟踪每个客户端也不记录过去的请求(无状态) 阅读全文
posted @ 2024-07-03 21:41 Duancf 阅读(74) 评论(0) 推荐(0)
摘要: 线程池参数 ThreadPoolExecutor tpe = new ThreadPoolExecutor( 10, 20, 1L, TimeUnit.SECONDS, new ArrayBlockingQueue<>(100), new ThreadPoolExecutor.CallerRunsP 阅读全文
posted @ 2024-07-03 20:43 Duancf 阅读(47) 评论(0) 推荐(0)