铁路12036系统又崩了
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">2019年即将过去,过年回家的火车票,你们买到了吗?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨网络<span style="color: black;">机构</span>的<span style="color: black;">博主</span><span style="color: black;">晓得</span>你们<span style="color: black;">非常多</span>人都<span style="color: black;">无</span>买到,我能感受到你们内心的绝望。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">前几天12306崩了,<span style="color: black;">非常多</span>人在痛骂12306,有<span style="color: black;">非常多</span>人问<span style="color: black;">为何</span>12306总是动不动就崩溃,和<span style="color: black;">月经</span><span style="color: black;">同样</span>不给力。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">明明只是一个简单的卖票软件,怎么搞成这个鬼样子,人家QQ<span style="color: black;">微X</span>几亿人<span style="color: black;">同期</span>在线聊天,激情互动,还有<span style="color: black;">各样</span>小视频。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">另一边双十一几亿人<span style="color: black;">同期</span>购物疯狂败家剁手都<span style="color: black;">无</span>问题,<span style="color: black;">为何</span>12306一出手,<span style="color: black;">便是</span>炸穿裤衩的用户体验?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">下面就让哈尔滨网站制作的<span style="color: black;">博主</span>来给你们科普一下。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">12306到底面临多大的业务压力和挑战。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你们这么多人一拥而上,<span style="color: black;">她们</span>当然受不了,谁受得了呢。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">虽然本篇<span style="color: black;">文案</span>会有<span style="color: black;">海量</span>极为硬核的技术术语,<span style="color: black;">然则</span><span style="color: black;">博主</span>会说的<span style="color: black;">尽可能</span>简单,<span style="color: black;">大众</span><span style="color: black;">必定</span>要认真听,多记笔记,过年在饭桌上吹牛的时候,这都是王炸,<span style="color: black;">不消</span>谢我了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">不是说你看了这篇<span style="color: black;">文案</span>就能买到票,<span style="color: black;">实质</span>上买票是一个玄学。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">只是说,能死的明白点。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">非常多</span>人拿12306和双十一来比较,认为双十一这么多订单都能撑住,12306就撑不住,显然是<span style="color: black;">由于</span>技术水平不到位。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这一<span style="color: black;">起始</span>就走了弯路了<span style="color: black;">伴侣</span>,12306的业务模式和双十一是有本质<span style="color: black;">区别</span>的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这种<span style="color: black;">区别</span>,就<span style="color: black;">引起</span>了12306的难度要比双十一大的多的多的多多多~</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span>说双十一的难度是人间模式,<span style="color: black;">那样</span>12306差不多相当于是地狱十八层,还要再挖个坑的难度。</p><strong style="color: blue;">1</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第1</span>,双十一的流量再大,<span style="color: black;">亦</span>只<span style="color: black;">不外</span>是纯线上业务,什么叫纯线上业务?所有用户都是在网页<span style="color: black;">或</span>APP下单,<span style="color: black;">全部</span>数据其实是闭环的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就<span style="color: black;">引起</span>双十一其实只是一个纯粹的线上流量问题, <span style="color: black;">处理</span>起来相对纯粹,就像一个单纯的小<span style="color: black;">伴侣</span><span style="color: black;">同样</span>好欺负。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而12306不是,12306不是<span style="color: black;">仅有</span>一个APP和网站的<span style="color: black;">伴侣</span>,所有人在线下售票厅以及线下<span style="color: black;">设备</span>里产生的交易,<span style="color: black;">亦</span>会影响<span style="color: black;">全部</span>12306的数据系统。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">实质</span>上现实生活中非常多的买火车票返乡的人,例如辛苦的农民和工人<span style="color: black;">伴侣</span>,<span style="color: black;">非常多</span>都是不会线上操作的,<span style="color: black;">她们</span>只会线下彻夜排队,非常辛苦,<span style="color: black;">因此</span>12306<span style="color: black;">亦</span>必须照顾<span style="color: black;">她们</span>的感受,<span style="color: black;">不可</span>断掉线下业务。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就<span style="color: black;">引起</span>了12306本身是一个线下与线上同享数据的<span style="color: black;">繁杂</span>业务,<span style="color: black;">繁杂</span>度要高出双十一 一个数量级的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">和纯粹简单的双十一相比,12306就像一个饱经社会摧残的老油条,你永远不<span style="color: black;">晓得</span><span style="color: black;">她们</span>会什么时候会<span style="color: black;">显现</span>什么幺蛾子。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就像一个纯洁男孩<span style="color: black;">第1</span>次和他的男<span style="color: black;">伴侣</span>约会,怕他不来,又怕他乱来。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p><strong style="color: blue;">2</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第二,抛开线上线下不说,毕竟这是欺负12306,<span style="color: black;">咱们</span>谈谈业务本身的计划性和可预测性。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span>认真思考,你会<span style="color: black;">发掘</span>,双十一是一个有<span style="color: black;">知道</span>计划和操作节点的业务,而12306不是。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">双十一活动并不是<span style="color: black;">仅有</span>11月11号当天,其实是<span style="color: black;">一月</span>前<span style="color: black;">乃至</span>几个月前就<span style="color: black;">已然</span><span style="color: black;">起始</span>了,<span style="color: black;">海量</span>的用户都<span style="color: black;">已然</span>支付了定金,<span style="color: black;">海量</span>的商家<span style="color: black;">亦</span><span style="color: black;">已然</span>锁定了库存和<span style="color: black;">营销</span>额,只<span style="color: black;">不外</span><span style="color: black;">最后</span>的结算是在11月11号当天进行的<span style="color: black;">罢了</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就<span style="color: black;">表率</span>着,双十一面对的是一个高确定性的任务,只要有确定性,流量再大<span style="color: black;">亦</span>不是<span style="color: black;">尤其</span>难的问题。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">当你<span style="color: black;">晓得</span>困难会在什么时候<span style="color: black;">出现</span>的时候,这个困难就<span style="color: black;">再也不</span>困难了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">真正的困难,在于不可知。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">什么叫不可知?12306<span style="color: black;">便是</span>不可知。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">由于</span>你永远不可能测算出会有多少人在哪一天去哪一个<span style="color: black;">地区</span>,一个从浙江回山东的人,他为了回家,<span style="color: black;">选取</span>的线路和时间会非常诡异多变。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">他<span style="color: black;">能够</span>买浙江到山东,<span style="color: black;">能够</span>买浙江到上海到山东,<span style="color: black;">能够</span>买浙江到南京到山东,<span style="color: black;">能够</span>买千岛湖到山东,<span style="color: black;">能够</span>买浙江到北京到山东,<span style="color: black;">能够</span>买浙江到黑龙江到山东,<span style="color: black;">乃至</span><span style="color: black;">能够</span>买浙江到广东再飞回山东,只要能回山东,啊我的大葱。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">他<span style="color: black;">能够</span>接受1号出发,2号出发,3号出发,5号出发,10086号出发,只要能出发。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就<span style="color: black;">表率</span>了谁<span style="color: black;">亦</span>不<span style="color: black;">晓得</span><span style="color: black;">需要</span>的流量会是多么的突发,购买的内容会是多么<span style="color: black;">繁杂</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨SEO优化的<span style="color: black;">博主</span>再举一个例子<span style="color: black;">大众</span>就懂了,<span style="color: black;">博客</span>厉害吧?<span style="color: black;">每日</span>这么大的流量,这么多的关注度。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">然则</span><span style="color: black;">为何</span>经常<span style="color: black;">忽然</span>一个明星出轨<span style="color: black;">或</span>结婚<span style="color: black;">或</span><span style="color: black;">消极</span><span style="color: black;">资讯</span>,<span style="color: black;">博客</span>就要挂掉?是<span style="color: black;">无</span>技术实力还是服务器资源<span style="color: black;">不足</span>?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">都不是,是<span style="color: black;">由于</span>这种流量是突发性的,谁<span style="color: black;">亦</span>不<span style="color: black;">晓得</span>会<span style="color: black;">忽然</span><span style="color: black;">显现</span>这种爆炸增长,<span style="color: black;">因此</span>服务器就挂掉了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就和泼水节上<span style="color: black;">大众</span>都做好了心理准备,<span style="color: black;">然则</span>你泼开水<span style="color: black;">同样</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这谁遭得住啊。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span><span style="color: black;">意见</span>所有明星出轨之前,先<span style="color: black;">博客</span>报备一下,<span style="color: black;">这般</span><span style="color: black;">她们</span>出轨的<span style="color: black;">安心</span>,<span style="color: black;">咱们</span>吃瓜吃的<span style="color: black;">亦</span>安心。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">他好,我<span style="color: black;">亦</span>好。</p><strong style="color: blue;">3</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第三,电<span style="color: black;">商场</span>务不是一个一次性要完成所有流程的业务,<span style="color: black;">然则</span>12306必须一次性完成,这进一步加大了难度。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">大众</span>思考一下,电商购物,<span style="color: black;">实质</span>上是并不是一次性的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">一个典型的电商购物流程是,浏览,和商家撕逼价格,下单,和商家撕逼运费以及快递,物流发货,买家收货,和商家撕逼售后。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">即使排除撕逼这些事情,电商购物流程<span style="color: black;">亦</span>是有<span style="color: black;">非常多</span>节点的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">全部</span>流程下来最快最快次日达<span style="color: black;">亦</span>要24小时。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就<span style="color: black;">表率</span>电商的数据压力<span style="color: black;">无</span>想象中<span style="color: black;">那样</span>大,<span style="color: black;">能够</span>异步处理,完全<span style="color: black;">能够</span>先<span style="color: black;">所有</span>付款完成,<span style="color: black;">而后</span>再慢慢处理发货,<span style="color: black;">而后</span>再慢慢处理售后。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">就像你要刷B站,又要烧开水,你完全<span style="color: black;">能够</span>先烧开水,在烧水的过程中刷B站,这<span style="color: black;">便是</span>异步的好处,<span style="color: black;">能够</span><span style="color: black;">同期</span>多任务并行,<span style="color: black;">况且</span>不影响用户的核心体验。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你下单后3小时发货和5小时发货,不影响用户,容错率高。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而12306不<span style="color: black;">同样</span>,卖票<span style="color: black;">便是</span>要立刻完成。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">从下单,到付款,到锁定票,都是一气呵成的,<span style="color: black;">无</span>任何缓冲时间,不存在我下单一个票2天后告诉我成功<span style="color: black;">或</span>失败这种事情,头都给消费者打爆。<span style="color: black;">因此</span>12306等于是<span style="color: black;">无</span>这种缓冲周期,需要直面所有的流量,在最<span style="color: black;">短期</span>内满足所有人的所有<span style="color: black;">需要</span>,所有的业务都要在极<span style="color: black;">短期</span>内处理完成,这<span style="color: black;">便是</span>会被一下子塞满。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">一样</span>是1亿用户,4个<span style="color: black;">过程</span>,电商<span style="color: black;">能够</span>分4个<span style="color: black;">过程</span>淡定处理,<span style="color: black;">每一个</span><span style="color: black;">过程</span>处理1亿流量,<span style="color: black;">况且</span><span style="color: black;">能够</span>分多小时,多天处理。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">12306就只能一口气处理4亿,<span style="color: black;">无</span>缓和,这个压力可想而知。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">咱们</span>都<span style="color: black;">晓得</span>,再厉害的东西,被强行塞满,都是会坏掉的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你们不要瞎想,我说的是公路。</p><strong style="color: blue;">4</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第四,电<span style="color: black;">商场</span>务的库存管理是相对简单的,而12306是极其<span style="color: black;">繁杂</span>的,<span style="color: black;">繁杂</span>到我给你简单讲讲你都会抑郁。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">想想看,<span style="color: black;">做为</span>电商平台,管理货物虽然<span style="color: black;">亦</span>有难度,但本身的<span style="color: black;">统一</span><span style="color: black;">不外</span>固定<span style="color: black;">制品</span>的增删改查,有多少<span style="color: black;">便是</span>多少,付款了就减一,上量<span style="color: black;">或</span>退货就加一,顶多<span style="color: black;">显现</span>最后一个商品被2人<span style="color: black;">同期</span>拍下的小概率事件,这都是小事儿。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而12306是完全<span style="color: black;">区别</span>的难度,二者难度差别大概相当于草履虫大战那美克星人。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨<span style="color: black;">微X</span><span style="color: black;">研发</span>的<span style="color: black;">博主</span>举个例子,<span style="color: black;">倘若</span>你是一个在北京读书的人,家在北京南边,过年要回家。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">随便选一辆北京往南开的车,G65这辆高铁,北京始发终到珠海,一共17个站,共计10小时55分钟。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/a3ac5a85f7dd4e26a010eab16c40e8fd~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1730056714&x-signature=a4rW06GlPVkvTbQsmac2c75aVf4%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">就这一个路线,17个站,支持随意站上车,随意站<span style="color: black;">落车</span>,会有多少种可能性?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">由于</span>坐车不可能只做单站循环,<span style="color: black;">便是</span><span style="color: black;">不可</span>北京到北京。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span>是从1加到16,一共136种可能性,<span style="color: black;">重视</span>哦,电商<span style="color: black;">一样</span>的场景<span style="color: black;">仅有</span>增删改查4种可能性。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这般</span>一个线路的实时库存,做起来是非常令人头大的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">假如有人买了从北京到广州,<span style="color: black;">那样</span>对应的所有库存就要减1,<span style="color: black;">然则</span>广州到珠海的库存不减。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">假如有人买了从武汉到珠海,<span style="color: black;">那样</span>对应的<span style="color: black;">便是</span>武汉到珠海沿途所有线路的库存减1,<span style="color: black;">然则</span>北京到武汉不减。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">假如有人买了石家庄到漯河西,<span style="color: black;">那样</span>北京到保定,北京到石家庄<span style="color: black;">不消</span>变,漯河西到珠海段,<span style="color: black;">不消</span>变。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">其余所有可能性都要变,<span style="color: black;">由于</span>只要经过这两个站点的路线,都受到影响。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">实质</span>业务中,<span style="color: black;">这般</span>的变动,会<span style="color: black;">引起</span><span style="color: black;">全部</span>库存实时变动,并且是P级别的数据变动,<span style="color: black;">倘若</span>对数据库稍微有所<span style="color: black;">认识</span>,都<span style="color: black;">晓得</span>这种数据变动<span style="color: black;">针对</span>资源的消耗有多么恐怖,一个1GB的电子表格跑<span style="color: black;">查找</span>都能把<span style="color: black;">非常多</span>高性能电脑跑崩掉,<span style="color: black;">初期</span>电子表格<span style="color: black;">乃至</span>限制在6万5千行,<span style="color: black;">便是</span>防止把电脑跑崩。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而这种级别的数据,需要消耗的资源说出来都违反<span style="color: black;">宣传</span>法。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span><span style="color: black;">为何</span>12306夜里11点到早上要<span style="color: black;">守护</span>?<span style="color: black;">这般</span>的数据库<span style="color: black;">倘若</span>不是天天<span style="color: black;">守护</span><span style="color: black;">守护</span>缓存,早就彻底完犊子了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">每一天,12306都是拿命来奋斗。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span>之后买票的时候,要宠溺一点,温柔一点,你买的不是票,是工程师们的头发。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p><strong style="color: blue;">5</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第五,业务去重需要<span style="color: black;">海量</span>的判断。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">电<span style="color: black;">商场</span>务其实严格<span style="color: black;">来讲</span>是不需要用户实名制的,<span style="color: black;">亦</span>不需要对用户的身份去重,只要你付钱,有货就发货,除非是限购商品稍微拦截一下,<span style="color: black;">然则</span>面对黄牛党,<span style="color: black;">亦</span><span style="color: black;">便是</span>象征性的挣扎一下,毕竟<span style="color: black;">大众</span>都是出来卖的,不会跟钱过不去。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而12306不<span style="color: black;">同样</span>,12306的模式是,每一个人都要限购。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">同路线,<span style="color: black;">同期</span>间,要限购。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨<span style="color: black;">微X</span>平台制作的<span style="color: black;">博主</span>就拿北京到珠海举例,12306是不<span style="color: black;">准许</span>一个人在同一天购买<span style="color: black;">海量</span>北京到珠海的车票的,这对其他人不公平,<span style="color: black;">因此</span>要限制人的出发时间和购买路线。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">那样</span>问题来了,<span style="color: black;">倘若</span>要加限购,<span style="color: black;">那样</span>就要把这个人的当前购买信息,时间,<span style="color: black;">所有</span>缓存下来,这个人的每一笔交易,都要和他当前的已有行程进行去重匹配。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这对数据资源的消耗是非常恐怖的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">并且,并且,查重还有另一个现实问题,<span style="color: black;">便是</span>12306本身是<span style="color: black;">准许</span>非<span style="color: black;">自己</span>买票的,<span style="color: black;">便是</span>我<span style="color: black;">能够</span>给我的爸妈买票,我爸妈<span style="color: black;">亦</span><span style="color: black;">能够</span>给我买票,只要添加乘车人就<span style="color: black;">能够</span>了,这就<span style="color: black;">表率</span>着,同一个人的信息,完全<span style="color: black;">能够</span>在<span style="color: black;">区别</span>的时间节点被<span style="color: black;">区别</span>的买家添加,这又带来了巨大的计算压力。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这就和人生<span style="color: black;">同样</span>,太难了。</p><strong style="color: blue;"> 6</strong>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第六,和12306比流量,什么<span style="color: black;">机构</span>都<span style="color: black;">无</span>资格。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">非常多</span>人真的以为双十一<span style="color: black;">便是</span>流量的巅峰的了,其实并不是,12306才是最恐怖的流量巅峰。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">为何</span>?<span style="color: black;">由于</span>电商的业务模式不会<span style="color: black;">引起</span>用户重复点击,而12306无时无刻不在被所有用户重复点击。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨<span style="color: black;">微X</span>营销推广<span style="color: black;">博主</span>举个例子,你在双十一买东西,是不是买了就走了?买不到你<span style="color: black;">便是</span>骂几句,<span style="color: black;">而后</span><span style="color: black;">亦</span>走了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">一个用户的点击是有限的,你就算单身30年,给你放开了点,你能点多快?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">要<span style="color: black;">晓得</span>对系统而言,每一次点击,都是一次数据交换。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">12306面对的点击流量,要大的多,你买票的时候,是会<span style="color: black;">持续</span>刷新操作的,你在<span style="color: black;">查找</span>余票的时候,每一次都是要跑所有的数据库来帮你同步当前的余票信息,这个负载量和计算量是天量。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">况且</span>,<span style="color: black;">此刻</span>非常非常多的人在用抢票软件。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">所说</span>的抢票软件,原理<span style="color: black;">便是</span><span style="color: black;">一直</span>地用<span style="color: black;">设备</span>去读取12306的数据接口,<span style="color: black;">设备</span>的速度绝对是比你单身30年的手速还要威猛几十倍,一秒刷几百次,1个人用抢票软件,<span style="color: black;">能够</span><span style="color: black;">导致</span>几千个人<span style="color: black;">一块</span>刷产生的数据压力。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">各大抢票软件<span style="color: black;">机构</span>加起来用户几千万是有的,14亿人刷出几百亿人的流量都绰绰有余。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你<span style="color: black;">晓得</span>12306的流量负载有多强了么?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在12306上,人人都是火影忍者,天天影分身。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">会有人问,既然挑战这么大,12306这么<span style="color: black;">不易</span>,<span style="color: black;">那样</span><span style="color: black;">为何</span>不去像国外先进技术取经?<span style="color: black;">为何</span>不去加大投入服务器?<span style="color: black;">为何</span>还在找借口?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">为何</span>12306不引入国外的先进技术呢?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">答案其实很简单,国外<span style="color: black;">亦</span>罩不住啊。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">早在2012年,12306就有公开招标,预算不设限,只要能<span style="color: black;">处理</span>问题,世界顶级<span style="color: black;">公司</span>都来竞标了,<span style="color: black;">然则</span>最后基本都放弃了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">由于</span>当时的技术环境<span style="color: black;">无</span>人能<span style="color: black;">处理</span>这个问题。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">国外<span style="color: black;">非常多</span>技术的确先进,<span style="color: black;">然则</span><span style="color: black;">无</span>一个国家<span style="color: black;">或</span><span style="color: black;">机构</span>,历史上接受过14亿人的数百亿级别流量的挑战,你能说出来的世界顶级<span style="color: black;">机构</span>,<span style="color: black;">无</span>一家能承受这么强的即时交易流量。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">她们</span>有的流量更大,但就和电<span style="color: black;">商场</span>务<span style="color: black;">同样</span>,是<span style="color: black;">能够</span>异步操作,不需要身份<span style="color: black;">独一</span>性,<span style="color: black;">无</span>这么<span style="color: black;">繁杂</span>的路线存量计算的,你们<span style="color: black;">亦</span><span style="color: black;">晓得</span>国外的高铁和<span style="color: black;">轻轨</span>是什么垃圾水平,<span style="color: black;">咱们</span>遇到的问题<span style="color: black;">她们</span>从来<span style="color: black;">无</span>遇到过。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">这是很现实的一件事情。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">全中国14亿人的出行<span style="color: black;">需要</span>面前,<span style="color: black;">大众</span>都是<span style="color: black;">同样</span>菜。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">说到<span style="color: black;">这儿</span>,想到了行业里的一个笑话,有个脸书的<span style="color: black;">初期</span>工程师回国加入阿里巴巴,离开前,他说要去拯救阿里巴巴的数据系统,结果回来之后才<span style="color: black;">发掘</span>,他在脸书遇到的数据挑战,和阿里巴巴比起来,简直是幼儿园水平。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在数据挑战上,<span style="color: black;">咱们</span>遇到的数据挑战绝对是世界最强梯队的,<span style="color: black;">非常多</span>时候<span style="color: black;">无</span>之一。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">那样</span><span style="color: black;">为何</span>不加服务器呢?技术<span style="color: black;">不足</span>,硬件来凑。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">加服务器面临的核心问题有3个。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第1</span>个,加服务器只是<span style="color: black;">增多</span>了储存能力,并<span style="color: black;">不可</span><span style="color: black;">处理</span>数据库的问题,这就和一个<span style="color: black;">女性</span>生<span style="color: black;">孩儿</span>要10个月,不<span style="color: black;">表率</span>你找10个<span style="color: black;">女性</span>就能在1个月内生<span style="color: black;">孩儿</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第二个,<span style="color: black;">怎样</span>驱动这些服务器?当年阿里云领先世界的技术,<span style="color: black;">便是</span>突破了<span style="color: black;">同期</span>驱动5000台服务器,<span style="color: black;">作为</span>世界三大云之一。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">要<span style="color: black;">晓得</span>,阿里云面对的只是双十一,而12306的挑战要更加恐怖,需要<span style="color: black;">同期</span>驱动的服务器数量<span style="color: black;">更加多</span>,这<span style="color: black;">亦</span>是有技术挑战在的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">另一</span>,阿里云<span style="color: black;">亦</span>确实参与了12306的建设。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">第三个,成本问题。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">12306<span style="color: black;">常常</span>全年都表现良好,<span style="color: black;">仅有</span>重大节假日才会偶尔<span style="color: black;">显现</span>崩溃,你为了应付一年中为数不多的重大节假日,采购了这么多高折旧率的服务器,平时<span style="color: black;">基本</span>用不上,这是一种浪费钱的<span style="color: black;">行径</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">中国铁路本身<span style="color: black;">便是</span>巨额亏损,国家<span style="color: black;">连续</span><span style="color: black;">补助</span>的,这种<span style="color: black;">状况</span>下,为了<span style="color: black;">短期</span>的<span style="color: black;">需要</span>,投入海量的成本,这笔账<span style="color: black;">不消</span>多说吧?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你<span style="color: black;">瞧瞧</span>隔壁<span style="color: black;">博客</span>,宁可每次被流量击溃<span style="color: black;">亦</span><span style="color: black;">不愿</span><span style="color: black;">长期</span>维系<span style="color: black;">海量</span>服务器,<span style="color: black;">博客</span>看财报每年都是盈利的,金额都是<span style="color: black;">根据</span>亿来结算的,人家都是这个态度,你<span style="color: black;">晓得</span>12306有多<span style="color: black;">不易</span>了吧。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">况且</span>这可都是纳税人的钱。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">到最后,买票问题的本质,还是供需关系。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">全国这么多人,在这么短的时间内要完成这么多的出行,远远超过了铁路本身的运载能力,在这种供<span style="color: black;">少于</span>求的<span style="color: black;">状况</span>下,怎么调配资源,都<span style="color: black;">无</span>办法<span style="color: black;">处理</span>供需问题。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">东西就这么多,<span style="color: black;">大众</span><span style="color: black;">皆想</span>要,能怎么办呢?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">加钱,继续扩建?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">要<span style="color: black;">晓得</span><span style="color: black;">非常多</span>线路<span style="color: black;">仅有</span>春节才爆满,平时都空车亏损,为了满足小部分人<span style="color: black;">短期</span>的出行,<span style="color: black;">海量</span>浪费资金投入到<span style="color: black;">已然</span>富余的路线中,并不划算的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">有这个钱,应该去投入到<span style="color: black;">更加多</span>的<span style="color: black;">地区</span>。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最后</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">12306这种<span style="color: black;">基本</span><span style="color: black;">设备</span>,天然<span style="color: black;">便是</span>挨骂的,做的好,<span style="color: black;">大众</span>不会夸,做的有一点点<span style="color: black;">欠好</span>,会被骂到死,这是<span style="color: black;">基本</span><span style="color: black;">设备</span>的悲哀,所有人都有不<span style="color: black;">恰当</span>的期待。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">何况,12306在只花了这么少预算的<span style="color: black;">状况</span>下,做到<span style="color: black;">此刻</span>这个程度,<span style="color: black;">已然</span>是超神操作了。</p>不<span style="color: black;">思虑</span>资金成本和技术成本张口就骂,是一种不太理智的<span style="color: black;">行径</span>。
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">哈尔滨冷空气网络科技<span style="color: black;">研发</span>有限<span style="color: black;">机构</span></p>
页:
[1]