南通最专业的开锁公司 南通最好的开锁公司 君威遥控器电池 君威专用汽车钥匙电池雷诺科雷傲汽车钥匙遥控器电池更换方法 南通开锁公司电话_南通修锁 换锁芯 开汽车锁 崇川区 港闸区 如皋 如东开锁 南通开锁公司电话 南通金钥匙开锁服务部-专业开修锁 换锁芯(正规公安工商备案) 南通开锁公司电话 南通开锁公司修锁 装锁电话|崇川区开锁|港闸区开锁 led吸顶灯光源 吸顶灯32w 吸顶灯 灯管 吸顶灯 节能灯泡 led吸顶灯灯泡 三头吸顶灯 led吸顶灯灯管 欧普圆形吸顶灯 55w吸顶灯 吸顶灯光源 旅游壶 真空保温 汉方养生壶 美的电热水壶15s08a2 半球牌电饭煲 美的 mg123-d hd2 飞科 三洋洗衣机全自动 新安怡 学饮杯 黑苦荞黄酮软胶囊 苦荞糖安胶囊 五彩凉山苦荞茶 苦荞茶250g 全胚芽黑苦荞茶500 内蒙特产苦荞茶 富贵康苦荞茶 苦荞面包邮 正中苦荞茶包邮 正中苦荞茶 包邮 苦荞香茶西部 苦荞香茶 西部 轩庆苦荞玫瑰鲜花饼 苦荞真空 苦荞500克 苦荞茶120 苦荞 真空 0.02安全套包邮0.2大力马鱼线0.4mm0.4鱼线0.5l氮纤维高压瓶007sh充电器007电子请柬00高达xn-raiser01102400018401背囊0-25微米千分尺03g101系列全套图集0-3个月婴儿连体哈衣05-08本田奥德赛05ffc23套机05版河南动感地带0603贴片电阻包06年款英派斯06斯巴鲁森林人cd机07军衔07军用水壶07款福克斯两厢07数码迷彩07速腾大灯总成 泰好大门锁 泰好豪华大门锁 cei超b级锁芯 玻璃橱门锁 指纹锁耶鲁4109 耶鲁凯特曼指纹锁 防盗挂锁包邮 包挂锁 包梁挂锁 新君威门锁 新君威门锁扣 指纹锁木门 太空铝黑色门锁 泰好浴室铜门锁 浴室门锁不锈钢 1178冷库门锁 南通配新桑塔纳2000 3000 时代超人 志俊汽车钥匙_配帕桑塔纳钥匙遥控器_帕萨特钥匙全丢重配崇川区 南通配宝来汽车钥匙_配宝来遥控器_宝来钥匙全丢如皋 南通配帕萨特汽车钥匙_配帕萨特遥控器_帕萨特钥匙全丢通州 南通配凯越汽车钥匙_配凯越遥控器_凯越钥匙全丢如东

  • 格子衬衣女 长袖 秋
  • t男恤 短袖 韩版包邮
  • 男士职业衬衫
  • 衬衫 女 长袖点点
  • 衬衫 素色 男 宽松 休闲
  • 职场气质衬衫女
  • t恤男短袖加大码不掉色
  • 帅T 小西装
  • 裤子棕色长裤男
  • 衬衣 女 灯芯绒
  • 衬衣 女商务
  • 女士职业衬衫短袖
  • 休闲裤 男 修身
  • jamesearl纯棉休闲长裤
  • 占姆士女式长袖衬衫
  • 男黑色商务休闲棉长裤
  • 女士长袖衬衫
  • 男士绿色休闲长裤
  • 全棉短袖衬衫 男 薄
  • 女士长袖纯棉衬衫
  • 秋裤男直筒
  • 马自达3汽车挂件吊坠饰品 高档琉璃汽车挂饰品蒙迪欧致胜汽车挂件吊坠饰品 高档琉璃汽车挂饰品 启辰D50汽车挂件吊坠饰品 高档琉璃汽车挂饰品起亚K2汽车挂件吊坠饰品 高档琉璃汽车挂饰品索纳塔汽车挂件吊坠饰品 高档琉璃汽车挂饰品天籁汽车挂件吊坠饰品 高档琉璃汽车挂饰品 天语SX4汽车挂件吊坠饰品 高档琉璃汽车挂饰品英朗GT汽车挂件吊坠饰品 高档琉璃汽车挂饰品英伦SC7汽车挂件吊坠饰品 高档琉璃汽车挂饰品自由舰汽车挂件吊坠饰品 高档琉璃汽车挂饰品雨燕汽车挂件吊坠饰品 高档琉璃汽车挂饰品雪佛兰迈锐宝汽车挂件吊坠饰品 高档琉璃汽车挂饰品

    秋冬季现代瑞纳 宝马5系 帕萨特 日产骐达专用汽车毛绒方向盘套 江苏省盐城市地图2014 最新版 江苏省卫星地图2014 最新版 百度地图-谷歌地图-中国地图-北京地图-搜狗地图google地图 广本凌派汽车座垫 凌派秋冬季汽车坐垫 四季通用 长安福特福克斯油耗详解 宝来汽车遥控钥匙电池 更换方法 图解宝来遥控钥匙的电池换法 宝骏630车钥匙遥控器电池更换步骤 更换方法 迈腾车钥匙电池 迈腾更换遥控器电池详解逍客汽车钥匙电池 遥控器逍客智能钥匙的电池更换步骤 新天籁智能遥控钥匙电池 新天籁智能钥匙如何更换纽扣电池 golf6 汽车钥匙遥控器换电池 图解高尔夫6遥控钥匙的电池换法 长安福特福克斯加速时间详解[图] 福克斯汽车钥匙电池 福克斯钥匙电池更换作业 Q5车钥匙更换电池方法 图解新凯越车钥匙更换电池
  • 汽车坐垫 可爱
  • wrc汽车坐垫
  • 汽车坐垫套四季通用
  • 明锐冰丝 汽车坐套
  • 骐达汽车脚垫全包围
  • 三菱蓝瑟汽车坐垫
  • 捷达汽车脚垫 3d
  • 奥迪S7坐垫
  • 别克荣御坐垫
  • Jeep指南者坐垫
  • 力帆320坐垫
  • 路虎卫士坐垫
  • 双龙爱腾坐垫
  • 斯柯达Yeti坐垫
  • 现代途胜坐垫
  • 一汽威乐坐垫
  • 哈飞路宝汽车坐垫
  • 吉利远景汽车坐垫
  • 吉利全球鹰汽车坐垫
  • 房门锁执手锁 防盗挂锁
  • 运动短裤
  • 短裤 男
  • 半裙
  • 手工拖鞋鞋底
  • iphone4皮套 手机套
  • 机油滤清器扳手工具
  • 桑塔纳3000机油
  • 家居摆件现代
  • 玻璃摆件
  • 瓷器摆件
  • 马到成功摆件
  • 高档瓷器摆件
  • 宝马山地自行车包邮
  • 根雕工艺品摆件
  • 家居摆件吊脚娃娃
  • 泰国佛像摆件工艺品
  • 美利达儿童自行车
  • 天鹅摆件结婚
  • 龙龟摆件纯铜
  • 金摆件聚宝盆
  • 亲子自行车 女式
  • 客厅卧室装饰摆件
  • 贵宾狗摆件
  • 木摆件
  • 羚羊头摆件
  • 招财兔摆件
  • 自行车前包
  • 牛仔短裤
  • 短裤 男 休闲
  • 高腰短裤
  • 夏季短裤
  • 蕾丝短裤
  • 连体短裤
  • 裙裤
  • 裤裙
  • 拖鞋 海外
  • 拖鞋 浴室
  • 拖鞋 防滑
  • 拖 鞋 男
  • 拖鞋 女
  • 浴室拖鞋
  • 家居拖鞋
  • 凉拖鞋
  • 夏天拖鞋
  • 香菇丸
  • 韩国饮料
  • 打草绳小松打草绳二手挖掘机小松 小松割灌机配件 钢木书桌办公桌钢木桌玻璃杯子水壶钢化玻璃水壶钢木办公桌钢木电脑桌进口玻璃水壶玻璃水成份防冻玻璃水包邮防冻玻璃水车用 环保果皮箱环保垃圾袋环保垃圾桶小松120-6常州小松割草机小松打草头小松割灌机小松割灌机配件 咖啡厅员工制服_咖啡厅服务员制服_西餐咖啡服务员制服_咖啡馆制服_咖啡店西餐
  • 5号充电电池8节套装
  • 5-7号电池充电器
  • 充电电池5号正品
  • 可充电电池5号
  • 7号充电电池批发
  • 7号电池包邮
  • 1.5v充电电池5号
  • 5号充电器电池免邮
  • 双鹿电池5号正品
  • 双鹿9v电池
  • 双鹿电池批发
  • 双鹿7号电池
  • 双鹿1号电池
  • 双鹿碱性电池
  • 三星s4电池原装正品
  • 三星s4原装电池后盖
  • n7100原装电池
  • 小米2s原装电池
  • galaxy s4大容量电池
  • galaxy s4原装电池
  • galaxy s3电池
  • galaxy nexus电池
  • 三星galaxy s4电池后盖
  • 品胜小米2s电池
  • 品胜手机电池
  • 小米2a电池品胜
  • 背夹电池iphone4s
  • note2背夹电池
  • 三星s4背夹电池皮套
  • 自行车fixedgear 自行车眼镜 近视 婴儿推车小自行车 自行车骑行眼镜风镜 钻石自行车 山地自行车立管 led自行车气嘴专用灯 三鼎自行车坐椅儿童 自行车线管 金镶玉玉器挂件 自行车脚踏双轴承 铬钼钢架自行车 邦德自行车女式 山地公路自行车 自行车骑行手电筒 自行车灯架 灯夹包邮 自行车水壶支架 自行车 组装 mosso 自行车载mp3 26自行车 男生单车 自行车 折叠 复古 giant山地车 自行车 炫彩自行车 七彩马亲子自行车 ucc山地车 自行车 贝嘉琦 女孩自行车 zxc自行车配件码表 自行车前置安全椅 女童自行车 小龙哈比 自行车碳纤维垫圈 自行车骑行用品 装饰木板板材 美式壁挂装饰 家具装饰配件 衣服装饰亮片 婚礼礼品实用 公司开业庆典礼品 婴儿衣柜 儿童欧式公主床 床围栏护栏嵌入式 床靠背套 派克圆珠笔芯 卧室台灯床头灯现代 个性笔袋 派克im签字笔 彩色铅笔包邮 派克宝珠笔芯 派克笔芯正品 百乐摩可擦笔笔芯 斑马油笔 微型钢笔钓鱼竿 电子教鞭遥控笔 镭射灯激光笔 彩色水笔芯 黑色水笔笔芯 公爵宝珠笔芯 touch3代马克笔 韩国文具笔包邮 水溶性彩色铅笔 马可 sgp触控笔 礼品创意笔筒 铂金 项链 pt950 男 老竹笔筒 竹雕笔筒 六福珠宝铂金手镯 8.9寸笔记本电脑 三菱签字笔1.0 华硕游戏笔记本 插座面板

    Tumblr架构 – 页面浏览量150亿/月并且比Twitter更难拓展

    Tumblr每个月增长30% , 一天5亿网页浏览,40K/sec , 每天3TB的数据存储在1000+的服务器上。最开始只有4名工程师来处理所有事情,当有20多个工程师的时候,才有实力出一些有趣的解决方案。
        Tumblr最开始是典型的大型LAMP应用,现在的分布式服务模型使用了Scala, HBase, Redis, Kafka , Finagle等,现在在处理PHP应用的问题,开始走向面向服务的设计。
        分布式系统工程师 Blank Matheny讲述Tumblr的架构

    现状

    • 每天5亿PV
    • ~20 工程师
    • 平均每秒4W请求
    • 每天1+ TB 数据写入到Hadoop集群
    • 每天更多TB的数据写入到 MySQL/HBase/Redis/Memcache
    • 每月增长超过30%
    • ~1000 硬件服务器
    • 每个工程师每天分摊的PV将近10亿
    • 每天提交 50GB . Follower列表更新每天产生2.7TB 的数据。
    • Dashboard 每秒百万的读取和每秒5万的写入, 并且还在增长.

    软件

    • 开发使用OS X , 服务器使用Linux (CentOS, Scientific)
    • Apache
    • PHP, Scala, Ruby
    • Redis, HBase, MySQL
    • Varnish, HA-Proxy, nginx,
    • Memcache, Gearman, Kafka, Kestrel, Finagle
    • Thrift, HTTP
    • Func – a secure, scriptable remote control framework and API
    • Git, Capistrano, Puppet, Jenkins

    硬件

    • 500 web servers
    • 200 database servers (许多服务器是容灾的需要)
      • 47 pools
      • 30 shards
    • 30 memcache servers
    • 22 redis servers
    • 15 varnish servers
    • 25 haproxy nodes
    • 8 nginx
    • 14 job queue servers (kestrel + gearman)

    架构设计

    • Tumblr 相对其他社会网络有不同的使用模式
      • 网状的分发结构,每天超过5000万的提交需要分发到用户的Follower , 很多用户都有数百个Follower ,百万Follower的用户也不是一两个。所以Tumblr的规模极具挑战性。
      • 由于存在图片和视频,让用户停留时间比较长。
      • 返回给用户的内容和用户的联系人有关,不是简单的数据流。
      • 需要做大量的数据分析(用户数量,用户平均活动范围,用户提交的高质量的内容等)
    • Tumblr 运行在托管服务器上 . 设计上需要考虑未来的地理分布。
    • Tumblr作为一个平台有2部分组成: 公共Tumblr日志 和面板
      • 公共Tumblr日志是一个博客平台 . 容易缓存
      • 控制面板类似 Twitter 时间表 . 需要实时更新用户follower的内容.
        • cache不管用,尤其对活跃的用户
        • 需要实时和一致,不应该显示陈旧数据,所以会有每天提交50GB,Follower列表更新需要2.7TB。(多媒体存储在S3上)
      • 多数用户把Tumblr作为内容消费工具, 70%浏览来自面板.
      • 面板的可用性非常好了,Tumblr日志因为遗留的架构问题导致可用性不好。

    老的Tumblr

    • Tumblr公司开始托管在Rackspace ,他们给每个自定义域blog一个A记录(域名管理方面的内容),当迁出Rackspace的时候需要迁移大量用户,2007年前,使用 HAProxy and Varnish来负责均衡。许多像这样的遗留问题
    • 一个传统的 LAMP 演进.
      • 历史原因,每个工程师都用PHP。
      • 最开始阶段一台web服务器,一台数据库服务器,一台PHP应用服务器。
      • To scale they started using memcache, then put in front-end caching, then HAProxy in front of the caches, then MySQL sharding. MySQL sharding has been hugely helpful.
      • 最开始使用memcache ,然后转到前端缓存,使用HAProxy 在缓存前,然后使用Mysql水平分区,Mysql水平分区非常有用。
      • 最开始中心化,过去的几年中采用了2台用C语言写的后端服务器来做2件事情:生成ID 和 Staircar ,使用Redis来处理面板通知
    • 面板采用了 scatter-gather 的方式,当用户访问他们面板的时候采用事件驱动的方式,由于采用事件顺序,分片方案不是工作的很好。

    新的Tumblr

    • 因招聘和开发速度的原因,转向JVM。
    • 目标是移除PHP的所有应用,采用服务的方式。所有应用是很薄的一层,通过访问服务来鉴权和呈现。
    • Scala and Finagle 的选择
      • 内部人员很多回Ruby和PHP,所以Scala语言比较容易接受
      • Finagle 是Scala写的,解决了大部分的分布式问题,同时它是免费的。
      •  Finagle 提供了初始阶段所有想要的东西 (Thrift, ZooKeeper, etc).
      • Finagle 被 Foursquare和Twitter使用 . Meetup在使用Scala
      • 喜欢Thrift的应用接口 , 主要是高性能方面。
      • 喜欢Netty, 但是不喜欢Java , Scala是个不错选择
      • 选择 Finagle 可以通过更少的代码解决分布问题。 
      • Node.js不被选择是因为JVM平台更有优势,Node.js没有开发标准和好的开发策略,没有通过大型系统的代码验证。Scala 可以使用java代码,可拓展性好,5毫秒的响应速度,有许多大型java应用可以参考。
    • 内部服务从基于C/libevent转向基于 Scala/Finagle
    • 使用非关系型数据库HBase和Redis ,  但是大半数据存储在Mysql集群,没有使用HBase替代MySQL。
    • HBase 被用来备份数十亿的短网址和历史数据分析,被用来解决高并发写的问题,例如:每秒百万写级别的面板重置。HBase 没有替代Mysql是因为项目经验少,不能打赌。
    • MySQL和shard(分片数据库)在时序数据上的问题是,一个分片总是热点块,并且由于在slave端的平行插入而导致读端的复制总是落后。
    • Created a common services framework.
      • Spent a lot of time upfront solving operations problem of how to manage a distributed system.
      • Built a kind of Rails scaffolding, but for services. A template is used to bootstrap services internally.
      • All services look identical from an operations perspective. Checking statistics, monitoring, starting and stopping all work the same way for all services.
      • Tooling is put around the build process in SBT (a Scala build tool) using plugins and helpers to take care of common activities like tagging things in git, publishing to the repository, etc. Most developers don’t have to get in the guts of the build system.
    • 前置层使用 HAProxy. Varnish , 40台机器.
    • 500 台web服务器上跑着Apache和PHP应用.
    • 200台数据库服务器,部分服务器是容灾需要;成本考虑,硬件使用MTBF。
    • 6种后端服务支撑PHP应用。有一个小组专门来开发这种服务,每2,3周都会推出 一种新的服务。包括: Includes dashboard notifications, dashboard secondary index, URL shortener, and a memcache proxy to handle transparent sharding.
    • MySQL足够了,所以没有用MongoDB.
    • Gearman , 一个工作队列系统。用来跑长时间运行的或者无需人工干预的工作。
    • Availability is measured in terms of reach. Can a user reach custom domains or the dashboard? Also in terms of error rate.
    • 历史最高需求已经被搞定。现在,如果一部分需求不能满足要求,我们会从用户角度和应用角度对错误的模型进行分析和系统的处理来达到成功的目的。
    • 最初使用了Finagle的Actor模型,后来去掉了。使用了twitter的utility library的Futures接口来处理异步的需求。
    • Scala鼓励不适用共享状态。Finagle 在twitter的产品中得到了很好的测试验证,在机器上无状态运行,保证了开发人员不用去担心线程和锁。
    • 22 Redis servers. Each server has 8 – 32 instances so 100s of Redis instances are used in production.
      • Used for backend storage for dashboard notifications.
      • A notification is something  like a user liked your post. Notifications show up in a user’s dashboard to indicate actions other users have taken on their content.
      • High write ratio made MySQL a poor fit.  
      • Notifications are ephemeral so it wouldn’t be horrible if they were dropped, so Redis was an acceptable choice for this function.
      • Gave them a chance to learn about Redis and get familiar with how it works.
      • Redis has been completely problem free and the community is great.
      • A Scala futures based interface for Redis was created. This functionality is now moving into their Cell Architecture.
      • URL shortener uses Redis as the first level cache and HBase as permanent storage.
      • Dashboard’s secondary index is built around Redis.
      • Redis is used as Gearman’s persistence layer using a memcache proxy built using Finagle.
      • Slowly moving from memcache to Redis. Would like to eventually settle on just one caching service. Performance is on par with memcache.

    内部的Firehose(通信管道)

    • Internally applications need access to the activity stream. An activity steam is information about users creating/deleting posts, liking/unliking posts, etc.  A challenge is to distribute so much data in real-time. Wanted something that would scale internally and that an application ecosystem could reliably grow around. A central point of distribution was needed.
    • Previously this information was distributed using Scribe/Hadoop. Services would log into Scribe and begin tailing and then pipe that data into an app. This model stopped scaling almost immediately, especially at peak where people are creating 1000s of posts a second. Didn’t want people tailing files and piping to grep.
    • An internal firehose was created as a message bus. Services and applications talk to the firehose via Thrift.
    • LinkedIn’s Kafka is used to store messages. Internally consumers use an HTTP stream to read from the firehose. MySQL wasn’t used because the sharding implementation is changing frequently so hitting it with a huge data stream is not a good idea.
    • The firehose model is very flexible, not like Twitter’s firehose in which data is assumed to be lost.
      • The firehose stream can be rewound in time. It retains a week of data. On connection it’s possible to specify the point in time to start reading.
      • Multiple clients can connect and each client won’t see duplicate data. Each client has a client ID. Kafka supports a consumer group idea. Each consumer in a consumer group gets its own messages and won’t see duplicates. Multiple clients can be created using the same consumer ID and clients won’t see duplicate data. This allows data to be processed independently and in parallel. Kafka uses ZooKeeper to periodically checkpoint how far a consumer has read.

    Cell Design for Dashboard Inbox(业务方面的实现,未翻译)

    • The current scatter-gather model for providing Dashboard functionality has very limited runway. It won’t last much longer.
      • The solution is to move to an inbox model implemented using a Cell Based Architecture that is similar to Facebook Messages.
      • An inbox is the opposite of scatter-gather. A user’s dashboard, which is made up posts from followed users and actions taken by other users,  is logically stored together in time order.
      • Solves the scatter gather problem because it’s an inbox. You just ask what is in the inbox so it’s less expensive then going to each user a user follows. This will scale for a very long time.
    • Rewriting the Dashboard is difficult. The data has a distributed nature, but it has a transactional quality, it’s not OK for users to get partial updates.
      • The amount of data is incredible. Messages must be delivered to hundreds of different users on average which is a very different problem than Facebook faces. Large date + high distribution rate + multiple datacenters.
      • Spec’ed at a million writes a second and 50K reads a second. The data set size is 2.7TB of data growth with no replication or compression turned on. The million writes a second is from the 24 byte row key that indicates what content is in the inbox.
      • Doing this on an already popular application that has to be kept running.
    • Cells
      • A cell is a self-contained installation that has all the data for a range of users. All the data necessary to render a user’s Dashboard is in the cell.
      • Users are mapped into cells. Many cells exist per data center.
      • Each cell has an HBase cluster, service cluster, and Redis caching cluster.
      • Users are homed to a cell and all cells consume all posts via firehose updates.
      • Each cell is Finagle based and populates HBase via the firehose and service requests over Thrift.
      • A user comes into the Dashboard, users home to a particular cell, a service node reads their dashboard via HBase, and passes the data back.
      • Background tasks consume from the firehose to populate tables and process requests.
      • A Redis caching layer is used for posts inside a cell.
    • Request flow: a user publishes a post, the post is written to the firehose, all of the cells consume the posts and write that post content to post database, the cells lookup to see if any of the followers of the post creator are in the cell, if so the follower inboxes are updated with the post ID.
    • Advantages of cell design:
      • Massive scale requires parallelization and parallelization requires components be isolated from each other so there is no interaction. Cells provide a unit of parallelization that can be adjusted to any size as the user base grows.
      • Cells isolate failures. One cell failure does not impact other cells.
      • Cells enable nice things like the ability to test upgrades, implement rolling upgrades, and test different versions of software.
    • The key idea that is easy to miss is:  all posts are replicated to all cells.
      • Each cell stores a single copy of all posts. Each cell can completely satisfy a Dashboard rendering request. Applications don’t ask for all the post IDs and then ask for the posts for those IDs. It can return the dashboard content for the user. Every cell has all the data needed to fulfill a Dashboard request without doing any cross cell communication.
      • Two HBase tables are used: one that stores a copy of each post. That data is small compared to the other table which stores every post ID for every user within that cell. The second table tells what the user’s dashboard looks like which means they don’t have to go fetch all the users a user is following. It also means across clients they’ll know if you read a post and viewing a post on a different device won’t mean you read the same content twice. With the inbox model state can be kept on what you’ve read.
      • Posts are not put directly in the inbox because the size is too great. So the ID is put in the inbox and the post content is put in the cell just once. This model greatly reduces the storage needed while making it simple to return a time ordered view of an users inbox. The downside is each cell contains a complete copy of call posts. Surprisingly posts are smaller than the inbox mappings. Post growth per day is 50GB per cell, inbox grows at 2.7TB a day. Users consume more than they produce.
      • A user’s dashboard doesn’t contain the text of a post, just post IDs, and the majority of the growth is in the IDs.
      • As followers change the design is safe because all posts are already in the cell. If only follower posts were stored in a cell then cell would be out of date as the followers changed and some sort of back fill process would be needed.
      • An alternative design is to use a separate post cluster to store post text. The downside of this design is that if the cluster goes down it impacts the entire site.  Using the cell design and post replication to all cells creates a very robust architecture.
    • A user having millions of followers who are really active is handled by selectively materializing user feeds by their access model (see Feeding Frenzy).
      • Different users have different access models and distribution models that are appropriate. Two different distribution modes: one for popular users and one for everyone else.
      • Data is handled differently depending on the user type. Posts from active users wouldn’t actually be published, posts would selectively materialized.
      • Users who follow millions of users are treated similarly to users who have millions of followers.
    • Cell size is hard to determine. The size of cell is the impact site of a failure. The number of users homed to a cell is the impact. There’s a tradeoff to make in what they are willing to accept for the user experience and how much it will cost.
    • Reading from the firehose is the biggest network issue. Within a cell the network traffic is manageable.
    • As more cells are added cells can be placed into a cell group that reads from the firehose and then replicates to all cells within the group. A hierarchical replication scheme. This will also aid in moving to multiple datacenters.

    团队结构

    • Teams: 技术设施, 平台开发,架构, SRE (侧重可靠性和可拓展性方面的问题解决), 产品, 测试, services(趋向于战略研究).

    软件部署

    • 开发一套rsync脚本来部署PHP,当机器超过200台的时候出现各种状态问题。
    • 接下来,使用Capistrano(一个开源工具,可以在多台服务器上运行脚本)在服务堆栈中构建部署进程(开发、分期、生产)。在几十台机器上部署可以正常工作,但当通过SSH部署到数百台服务器时,再次失败。
    • 现在,所有的机器上运行一个协调软件。基于Redhat Func(一个安全的、脚本化的远程控制框架和接口)功能,一个轻量级的API用于向主机发送命令,以构建扩展性。
    • 建立部署是在Func的基础上向主机发送命令,避免了使用SSH。比如,想在组A上部署软件,控制主机就可以找出隶属于组A的节点,并运行部署命令。
    • 部署命令使用Capistrano来实现。使用http的方式从git从库上来检出和上传。
    • Func API用于返回状态报告,报告机器上的软件版本号
    • 安全重启任何服务,因为他们先关闭连接,然后重启。
    • 所有功能在激活前都运行dark mode下

    开发

    • 从哲学上将,任何人都可以使用自己想要的任意工具。但随着团队的发展壮大,这些工具出现了问题。新员工想要更好地融入团队,快速地解决问题,必须以他们为中心,建立操作的标准化。
    • 过程类似于Scrum(一种敏捷管理框架),非常敏捷。
    • 每个开发人员都有一台预配置的开发机器,并按照控制更新。
    • 开发机会出现变化,测试,分期,乃至用于生产。
    • 开发者使用VIM和TextMate。
    • 测试是对PHP程序进行代码审核。
    • 在服务方面,他们已经实现了一个与提交相挂钩的测试基础架构,接下来将继承并内建通知机制。

    招聘流程

    • 面试通常避免数学、猜谜、脑筋急转弯等问题,看重实际工作技能。
    • 编程能力是重中之重。
    • 找到合适的人,不是比较人
    • 挑战在于找到具有可用性、扩展性经验的人才,以应对Tumblr面临的网络拥塞。
      • Example, for a new ID generator they needed A JVM process to generate service responses in less the 1ms at a rate at 10K requests per second with a 500 MB RAM limit with High Availability. They found the serial collector gave the lowest latency for this particular work load. Spent a lot of time on JVM tuning.

    Lessons learned

    • 无处不在的自动化。
    • MySQL 添加水平分区, 应用则不需要。
    • Redis是惊人的(是不是提醒大家用一下)。
    • Scala应用程序执行效率和出色。
    • 取消不能工作的项目。
    • 雇佣的人不要因为他们有对团队无用的技能,雇佣的人应该适应团队和工作。
    • 找到帮你找到合适人的stack
    • 围绕团队技能开展工作
    • 阅读论文和博客
    • 多与同行交流
    • 技术追求需要循序渐进。在正式投入使用前,Tumblr用心研究HBase和Redis , 这样可以降低线上服务风险。
    posted @ 2012-03-24 10:33  ChaunceyHao  阅读(598)  评论(0编辑  收藏  举报
  • 汽车羊毛坐垫长毛
  • 车垫四季通用
  • 御车宝
  • 凯美瑞坐垫四季通用
  • 手编冰丝坐垫
  • 珍珠戒指新款
  • 汽车皮坐垫四季垫
  • 汽车四季坐垫新款
  • 汽车皮坐垫四季通用
  • 汽车羊毛坐垫短毛
  • 包女
  • 汽车亚麻坐垫包邮
  • 汽车布坐垫
  • 汽车布坐垫套
  • 紫风铃亚麻四季坐垫
  • 蒙奇奇汽车
  • 蒙奇奇汽车毛绒坐垫
  • 蒙奇奇坐垫三件套
  • 尼罗河车坐垫
  • 尼罗河手编坐垫
  • 尼罗河四季垫
  • 羊剪绒坐垫
  • 牧宝冬季坐垫
  • 牧宝四季垫正品
  • 牧宝羽绒坐垫
  • 牧宝汽车垫羊毛
  • 高压洗车机
  • 高压洗车器
  • 高压洗车水泵
  • 高压洗车泵
  • 熊猫洗车
  • 洗车器高压220v
  • 洗车器便携高压
  • 高压水枪洗车机
  • 220v高压水枪洗车机
  • 家用洗车水枪高压枪
  • 汽车洗车水枪
  • 虎贝尔洗车水枪
  • 水枪头洗车
  • 洗车水枪水管
  • 洗车水枪套装
  • 洗车水枪接头
  • 佳百丽洗车水枪
  • 洗车工具套装
  • 洗车用品工具
  • 家用洗车工具
  • 汽车洗车工具
  • 洗车设备工具
  • 洗车刷子
  • 现代途胜保险杠
  • 现代新胜达保险杠
  • 保险杠车贴纸
  • 后保险杠车贴纸
  • 前保险杠车贴
  • 雨燕保险杠
  • 后保险杠贴纸
  • 前保险杠贴纸
  • 汽车保险贴纸
  • rav4后保险杠
  • 专业运动文胸htc c715e evo design 4g
  • htc evo 4g a9292
  • htc x515m g17 evo 3d
  • htc one x s720e
  • htc x920e
  • 名牌手表男正品
  • povos 奔腾 pffn3003苏泊尔电热水壶正品
  • tcl tcl电热水壶ta-kb181a
  • 乔邦181j
  • 乔邦不锈钢电热水壶
  • supor 苏泊尔 swf15j3-150
  • 逸动空气滤芯
  • 空气压缩机喷漆
  • 德国车载空气净化器
  • sr927w手表电池
  • cartier手表蓝气球
  • 机械手表男士名表
  • anne klein手表
  • 手表柜台展示柜
  • 女士皮带 头层牛皮
  • 女士皮带 头层纯牛皮
  • jeep皮带 纯牛皮
  • 女皮带 真皮 牛皮
  • 女士皮带 真皮
  • 头层牛皮皮带
  • 女士皮带 时尚
  • 真皮皮带头层牛皮女
  • 女士皮带 包邮
  • 皮带条 头层牛皮
  • 女士皮带 时尚 宽
  • 头层牛皮纯铜扣皮带
  • 女士皮带 纯牛皮
  • 女士皮带头层纯牛皮
  • 女士皮带头层牛皮
  • jeep皮带纯牛皮
  • 女皮带真皮牛皮
  • 女士皮带真皮
  • 女士牛皮皮带包邮
  • 女士皮带时尚
  • 三星微单镜头
  • 三星单反镜头
  • 三星50-200镜头
  • 三星7100镜头保护膜
  • 三星i9210
  • 三星i9210手机套面包蛋糕酸奶机
  • 鸡蛋牛奶面包干饼干
  • 面包片饼干
  • 摩托车机油