分类 趣谈高并发+趣谈秒杀 下的文章


撰写于    浏览:4866 次  分类: 趣谈高并发+趣谈秒杀
有人提出了疑问:linux的TCP连接数量最大不能超过65535个吗,那服务器是如何应对百万千万的并发的?这是理解是有误的。65535这个最大值指的是你作为客户端去连别人,而你作为服务器,别人来连你,理论上是没有限制的。注意,仅仅理论上。65535是怎么来的?是TCP协议规定的端口字段的最大范围,2个字节,16比特,每一比特有0和1两种状态,按照排[...]

撰写于    浏览:4846 次  分类: 趣谈高并发+趣谈秒杀
1993年,美国伊利诺大学的国家超级计算机应用中心(National Center for Supercomputing Applications,简称NCSA),开发了一个浏览器,命名为Mosaic(马赛克)。Mosaic可以同时展示文字和图片,从此浏览器变得非常有趣,因而在当时人气爆发,大受欢迎。可以说,Mosaic的出现点燃了日后蔚为壮观的因[...]

    最新评论

    SQLSTATE[HY000]: General error: 1032 Can't find record in 'mvc_comments'

    Typecho_Db_Query_Exception: SQLSTATE[HY000]: General error: 1032 Can't find record in 'mvc_comments' in /usr/local/springmvc/var/Typecho/Db/Adapter/Pdo.php:105 Stack trace: #0 /usr/local/springmvc/var/Typecho/Db.php(354): Typecho_Db_Adapter_Pdo->query('SELECT mvc_comm...', Object(PDO), 1, 'SELECT') #1 /usr/local/springmvc/var/Typecho/Db.php(384): Typecho_Db->query(Object(Typecho_Db_Query), 1) #2 /usr/local/springmvc/var/Widget/Comments/Recent.php(61): Typecho_Db->fetchAll(Object(Typecho_Db_Query), Array) #3 /usr/local/springmvc/var/Typecho/Widget.php(221): Widget_Comments_Recent->execute() #4 /usr/local/springmvc/usr/themes/pui/sidebar.php(72): Typecho_Widget::widget('Widget_Comments...') #5 /usr/local/springmvc/var/Widget/Archive.php(1937): require('/usr/local/spri...') #6 /usr/local/springmvc/usr/themes/pui/archive.php(64): Widget_Archive->need('sidebar.php') #7 /usr/local/springmvc/var/Widget/Archive.php(2022): require_once('/usr/local/spri...') #8 /usr/local/springmvc/var/Typecho/Router.php(138): Widget_Archive->render() #9 /usr/local/springmvc/index.php(25): Typecho_Router::dispatch() #10 {main}