Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Linux下TCP延迟确认(Delayed Ack)机制导致的时延问题分析

2018-02-01

案例一:同事随手写个压力测试程序,其实现逻辑为:每秒钟先连续发N个132字节的包,然后连续收N个由后台服务回显回来的132字节包。其代码简化如下: char snd...

Linux下TCP延迟确认(Delayed Ack)机制导致的时延问题分析已关闭评论
5,061 热度


Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Nginx反向代理WebSocket响应403的解决办法

2017-12-29

在Nginx反向代理一个带有WebSocket功能的Spring Web程序(源代码地址)时,发现访问WebSocket接口时总是出现403响应,Nginx的配置参考的是官方文档: http { ...

Nginx反向代理WebSocket响应403的解决办法已关闭评论
7,234 热度


Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Google 是如何做负载均衡的?

2017-12-29

Google 使用的技术一般都自带光环,吸引程序员的注意,基础设施方面的东西就更是如此,年初 Google 发布了篇论文介绍内部的负载均衡器的实现,让我们有机会一...

Google 是如何做负载均衡的?已关闭评论
5,618 热度


Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

代理的前世今生

2017-12-28

引言 自己对代理认识不深,也只是会使用而已,由于最近想做一个代理池,于是查了很多资料,发现代理这个东西还是非常有趣的 代理是什么? 从编程上来看,requ...

代理的前世今生已关闭评论
5,475 热度


Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

提升PHP程序运行速度的几个优化方案

2017-06-23

经常有人问,为什么同样的PHP程序在其他人的服务器上运行那么快,而在自己的服务器上运行那么慢?其实影响因素很多,这里说下提升PHP运行速度的几个方法。 1...



Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

Warning: foreach() argument must be of type array|object, string given in /www/wwwroot/stgod/wp-content/themes/akina/archive.php on line 40

多级缓存:支撑海量读服务的瑞士军刀

2016-12-10

缓存技术是一个老生常谈的问题,但它也是解决性能问题的利器,一把瑞士军刀;而且在各种面试过程中或多或少会被问及一些缓存相关的问题,如缓存算法、热点数...