摘要: myisamchk 阅读全文
posted @ 2017-01-12 23:24 papering 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 字符串和整数一一映射的算法 公司每人的英文名不同,现在给每个英文名一个不同的数字编号,怎么设计? 走ipv4/6 2/32 2/128就够了,把“网段”概念对应到“表或库”,ip有a_e5类,这概念都可以引过来 和 时间 年月日 店铺 sellid marketplaceid amazon 平台参数 阅读全文
posted @ 2017-01-12 19:55 papering 阅读(337) 评论(0) 推荐(0) 编辑
摘要: w公共查询表复制至每一个碎片 http://www.agildata.com/database-sharding/ In the Bookstore example, the Primary Shard Table is the ‘customer’ entity. This is the tabl 阅读全文
posted @ 2017-01-12 18:49 papering 阅读(219) 评论(0) 推荐(0) 编辑
摘要: w横切 http://www.agildata.com/database-sharding/ When Database Sharding is Appropriate Database Sharding is an excellent fit for many types of business 阅读全文
posted @ 2017-01-12 18:48 papering 阅读(159) 评论(0) 推荐(0) 编辑
摘要: w分布式查询、数据聚合、跨碎片join是可且应避免的、自增主键管理、基于-会话/事务/语句-选择碎片、通过-主键/模块/碎片索引-碎片化数据 http://www.agildata.com/database-sharding/ Database Sharding Challenges Due to 阅读全文
posted @ 2017-01-12 18:47 papering 阅读(188) 评论(0) 推荐(0) 编辑
摘要: w将单个服务器上的单个数据库打碎为多个服务器上的单个数据库 http://www.agildata.com/database-sharding/ Database Sharding provides a method for scalability across independent server 阅读全文
posted @ 2017-01-12 17:51 papering 阅读(178) 评论(0) 推荐(0) 编辑
摘要: w主写从读、集群节点间时时内存复制、单表横切纵切、分析报表系统通过服务器联表 http://www.agildata.com/database-sharding/ Database Partitioning Options It has long been known that database p 阅读全文
posted @ 2017-01-12 17:08 papering 阅读(220) 评论(0) 推荐(0) 编辑
摘要: wIO瓶颈 http://www.agildata.com/database-sharding/ What Drives the Need for Database Sharding? Database Sharding is a highly scalable approach for impro 阅读全文
posted @ 2017-01-12 17:06 papering 阅读(167) 评论(0) 推荐(0) 编辑
摘要: w玻璃碎片、0共享 http://www.agildata.com/database-sharding/ The Rise of Database Sharding The concept of Database Sharding has been gaining popularity over t 阅读全文
posted @ 2017-01-12 17:05 papering 阅读(145) 评论(0) 推荐(0) 编辑
摘要: http://blog.sciencenet.cn/home.php?mod=space&uid=287179&do=blog&id=425373 教科书书常用“定义—定理”的体系,先给出数学定义,然后给出若干性质, 从公式 到 公式,逐步推导。有的教科书采用用信号“反褶、平移、相乘、积分”给出几何 阅读全文
posted @ 2017-01-12 14:46 papering 阅读(159) 评论(0) 推荐(0) 编辑
摘要: https://www.sccs.swarthmore.edu/users/02/jill/graphics/hw3/hw3.html http://web.cs.ucdavis.edu/~ma/ECS175_S00/Notes/0411_b.pdf 阅读全文
posted @ 2017-01-12 13:55 papering 阅读(252) 评论(0) 推荐(0) 编辑
摘要: http://openinx.github.io/2013/01/01/plane-sweep-thinking/ 平面直角坐标系中有N个点,给出N个点的坐标,请设计一个高效算法计算最近点对距离。 阅读全文
posted @ 2017-01-12 13:46 papering 阅读(197) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/22625187 https://www.zybuluo.com/yulin718/note/93148 概况:2014年微信红包使用数据库硬抗整个流量,2015年使用cache抗流量。 微信的金额什么时候算? 答:微信金额是拆的时候实时 阅读全文
posted @ 2017-01-12 09:18 papering 阅读(317) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/19668212?columnSlug=WebNotes 微信红包是一次病毒营销的经典案例,其实也可以从传染病学的估算模型来判断究竟有多少用户会被「感染」。 阅读全文
posted @ 2017-01-12 09:06 papering 阅读(182) 评论(0) 推荐(0) 编辑