自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (22)
  • 收藏
  • 关注

原创 Redis 排行榜 相同分数根据时间优先排行

1. 需求     Redis 提供了按分数进行排序的有序集合。 比如在游戏里面,比如战斗力排行,充值排行,用默认的Redis 实现就可以达到需求。     但是,比如等级排行,大家都是30级,谁先到30级谁第一。Redis 默认实现是,相同分数的成员按字典顺序排序(0 ~9 , A ~Z,a ~ z),所以相同分数排序就不能根据时间优先来排序。     需要设计一个 【分数 = 等级 +

2016-03-31 13:01:35 15098 2

转载 Codis 的设计与实现 Part 3

性能,HA (高可用),运维等等 「对于一个设计良好的分布式系统来说,单机性能从来不是一个问题 」—— 我 第一篇文章就说了,Codis 采用了 Proxy 的方案,所以必然会带来单机性能的损失,经测试,在不开 pipeline 的情况下,大概会损失 40% 左右的性能,但是 Redis 本身是一个快得吓人的东西,即使单机损失了 40% 仍然是一个很大的数字。 另外一个比较好

2016-03-14 18:27:42 1210

转载 Codis 的设计与实现 Part 2

多 Proxy 架构 在 Codis 的设计中, Proxy 被设计成无状态的,客户端连接任何一个 Proxy 都是一样的。而且每个 Proxy 启动的时候,会在 Zookeeper 上注册一个临时节点, 所以客户端甚至可以根据这个特性实现 HA (其实我在豌豆荚内部就写了一个基于 Jedis 的 Codis HA RoundRobinPool) 当然,这个设计带来的好处是,请

2016-03-14 18:26:21 1248

转载 Codis 的设计与实现 Part 1

最近开源了 Codis,在 Github 上的反响挺不错的,3天已经收集到了 1000 多 stars, 让我比较吃惊。 也从侧面说明了确实分布式缓存是大家都会遇到的问题。于是我打算在本篇和接下来的几篇 Blog 详细说明一下 Codis 的设计和一些背后的考虑,以及对于分布式存储(尤其是缓存)系统的一些思考。 Why proxy? Codis 的架构采用了 Proxy-b

2016-03-14 18:25:07 733

TOGAFVersion9.2 英文版

TOGAF是一个框架——一种详细方法和一套支持工具——用于开发企业架构。该框架可以被任何希望开发用于组织内部的企业架构的组织免费使用,非常好!

2020-03-23

jdk api 1.8_google.CHM

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷歌翻译,非人工翻译。准确性不能保证,请与英文版配合使用

2017-09-14

easytouch5最新版 unity5.20以上可用

easytouch5最新版 unity5.20以上可用

2017-03-15

Unity3D 与 Java 基于 Protobuf 通信实现(客户端)

Unity3D & Java 基于 Protobuf 通信实现,客户端代码

2015-05-28

eclipse run-jetty-run

google 被强了,无法直接用eclipse 更新安装run-jetty-run

2014-08-28

Unity 4.x从入门到精通

Unity 4.x从入门到精通 上、中、下,绝对有用! 一共700M,全彩高清PDF! 机不可失失不再来!

2014-03-06

winrar5 破解 注册版

winrar5破解注册版

2014-01-09

Mac Lua 编辑器 BBEdit

Mac Lua 编辑器 BBEdit 很强大

2013-05-16

PhysicsEditor v1.0.10 破解版

PhysicsEditor是一款可编辑Box2D和Chipmunk collision形状的物理编辑器。您可以使用它来添加图像,跟踪他们的轮廓,以物理参数导出编辑内容。 PhysicsEditor附带的Helper文件,可以只管理shape和物理属性,不负责bodydef和fixturedef的代码,这可以让设计更加灵活随意。 花10分下载来的,请大家珍惜。

2013-02-01

VMsvg Mac OS Display 驱动

VMsvg Mac OS Display 驱动 全屏

2013-01-03

Vmware Mac OS 破解补丁

Vmware Mac OS 破解补丁 无需再用引导,绝对有效。

2013-01-03

smartSVN6.6.1破解版mac

smartSVN6.6.1破解版mac

2012-11-30

The Busy Coder's Guide to Advanced Android Development

The Busy Coder's Guide to Advanced Android Development 一本评价Top 5 的书籍,值得一看。

2012-02-17

国家标准软件开发文档模板

国家标准软件开发文档模板————可以帮助一些不喜欢些项目文档的或者是不知道怎么写文档的朋友解决很大的问题!~试试看

2011-11-19

Acronis Disk Director 11

装机必备软件Acronis Disk Director Suite 10.0,已被实践证明是同类软件中的“佼佼者”:1。无损调整、移动、复制、拆分、合并磁盘分区;2。另集“多重启动管理”“丢失分区恢复”“磁盘高级编辑”于一身;3。支持在Windows XP和Vista系统上对大容量硬盘进行有效操作 网上给的:32YMG9R8-CMKLM7RT-5QHDL3NL-JZHSC6SX-PR4MW9JA-9EYM59P7-DKNBBWFL-72P9VX7K 这个不好用。

2011-10-12

eclipse.rich.client.platform.designing.coding.and.packaging.java.applications

绝对可用 Copyright The Eclipse Series Titles in the Eclipse Series Foreword by John Weigand Foreword by Jeff Norris Acknowledgments Preface About this Book Audience Sample Code Conventions Feedback Part I: Introduction Chapter 1. Eclipse as a Rich Client Platform Section 1.1. Eclipse Section 1.2. The Eclipse Rich Client Platform Section 1.3. Eclipse RCP Over the Years Section 1.4. Uses of RCP Section 1.5. Summary Chapter 2. Eclipse RCP Concepts Section 2.1. A Community of Plug-ins Section 2.2. Inside Plug-ins Section 2.3. Putting a System Together Section 2.4. OSGi Framework Section 2.5. The Runtime Section 2.6. SWT Section 2.7. JFace Section 2.8. UI Workbench Section 2.9. Summary Part II: RCP by Example Chapter 3. Tutorial Introduction Section 3.1. What Is Hyperbola? Section 3.2. The Evolution of Hyperbola Section 3.3. Development Environment Installation Section 3.4. Target Setup Section 3.5. Checkpoint Section 3.6. Sample Code Section 3.7. Learning by Example Section 3.8. Summary Chapter 4. The Hyperbola Application Section 4.1. Hyperbola Hello World Section 4.2. Tour of the Code Section 4.3. Running and Debugging Section 4.4. Summary Chapter 5. Starting the Hyperbola Prototype Section 5.1. Continuing from the Shell Section 5.2. Adding a Contacts View Section 5.3. The Chat Model Section 5.4. Filling in the Contacts View Section 5.5. Adding Images Section 5.6. Summary Section 5.7. Pointers Chapter 6. Adding Actions Section 6.1. Adding to the Menus and Toolbar Section 6.2. Adding to the Status Line Section 6.3. System Tray Integration Section 6.4. Summary Section 6.5. Pointers Chapter 7. Adding a Chat Editor Section 7.1. Views and Editors Section 7.2. Defining the Chat Editor

2011-06-10

SVN培训ppt教程 PPT

SVN培训ppt教程 PPT SVN培训ppt教程 PPT SVN培训ppt教程 PPT

2011-05-17

国际电信联盟Y.1731中文版

对ITU-T的Y.1731的比较不错的翻译。

2011-03-21

java ee 6 tutorial basic and advanced topics

The Java EE 6 Tutorial: Basic Concepts and Advanced Topics

2011-02-14

UML 精華第三版(uml 教程)

uml unified modeling language oo object-oriented omg object management group mda model driver architecture

2009-04-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除