网络营销:构建可扩展微博架构-50P.pptVIP

  • 3
  • 0
  • 约3.1千字
  • 约 51页
  • 2015-08-17 发布于浙江
  • 举报
单点问题 ? 单点故障, SIGSEGV ? 如何应对 –1. Consistent hash –2. Read-through cache Consistent hash ? 原理 ? 优点 –震荡最小 Read-through cache Read-through and Write- through ? Products or projects – MySQL memcached UDF – Cache money for Ruby on Rails ? Or wrap a proxy for the db driver, in any language Evictions问题 ? Evections: cache数据被踢 ? 性能的噩梦 ? Latency产生的源头之一 如何避免evictions ? 规划cache容量 ? 将永久数据与临时数据分开 ? 不使用随机字符作为key Multiget问题 When memcached servers are CPU bound, adding more memcached servers doesnt help serve more requests. - Jeff Rothschild, Vice President of Technology at Facebook Multiget Multiget Mult

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档