自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

用心做事

生活因技术而美好

  • 博客(11)
  • 资源 (4)
  • 收藏
  • 关注

原创 流行的Go语言web框架简介

Golang被称为云计算时代的C语言,它以其独特的优势逐渐被越来越多的公司所关注和使用。为了充分利用Golang的Web开发优势,有必要熟悉一下Golang的web框架。1  Beego (http://beego.me/)     Beego是一个完全的MVC框架,你可以使用你的Go语言专业技术构建你的web应用程序。Beego框架下,你可

2016-02-29 10:40:48 45224 4

原创 Curator服务发现

3.3.1 服务发现一个服务发现系统提供下面几个机制: 注册它们有用的服务 定位一个单一特殊服务的实例 当一个服务改变时发出通知3.3.1.1 服务实例一个服务实例使用类ServiceInstance作为服务实例类。ServiceInstance有一个名称、id、地址、端口或者ssl端口以及可选负载(用户定义)。ServiceInstances序列化并存储到ZooKeeper服务

2016-02-13 23:50:01 2268

原创 Curator Recipes

3.2.1 技巧Curator实现了除ZooKeeper二次提交外的所有的技巧(recipes)。Curator Recipes可以实现自动化创建节点路径的父节点。3.2.1.1 推选Leader Latch 分布式计算,领导者推选就是指派一个单一进程作为在多台计算机节点间的组织者的处理过程。在任务开始之前,整个网络不会意识到那个节点将会作为任务的”领导者”或者协助者。当一个领导者推选已经运行后,

2016-02-13 13:13:00 7217

原创 Curator框架

Curator简介Curator是一个博物馆或者其它集合的监管者或者管理者,Curator有以下几个组件组成: Recipes: 实现了通用ZooKeeper的recipes, 该组件是在Framework组件为基础构建起来。 Framework: 简化了用来ZooKeeper的高级API, 并增加了一些管理到ZooKeeper集群的连接和重试操作服务的新功能。 Client: 是

2016-02-12 23:16:48 1601

原创 ZooKeeper命名空间约束

1.5 ZooKeeper节点约束任何unicode编码的字符都可以标识ZooKeeper的分级命名空间Path,但是,必须受限下面约束。 null字符不能够成为名称路径(path)的一部分(这引起C语言绑定的客户端问题)。 字符串\u0001 - \u0019 and \u007F - \u009F不能够使用,因为它们不能够正常显示。 字符串\ud800 -uF8FFF

2016-02-07 10:33:13 3326

原创 ZooKeeper客户端支持的语言

ZooKeeper ships with C, Java, Perl and Python client bindings, here are a list of client bindings that are available from the community but not yet included in the release (we encourage developers to

2016-02-06 15:02:05 6923

原创 ZooKeeper监听服务

1.4.2 监听节点ZooKeeper有两个类型的节点:持久和临时。另外,次序号是这个两个类型节点的修饰符。持久和临时节点都可以使用次序号修饰,表示这个节点是次序化的节点。ZooKeeper是用Watch观察命名空间的节点状态变化,一旦有节点状态发生变化,客户端的Watch实例将得到通知(notify)。为了演示这个过程,下面有一个例子。NodeMonitor类定义指定命名空间的监听,一旦有数

2016-02-06 14:48:24 3967

原创 ZooKeeper API操作

ZooKeeper集群中,客户端可以对ZooKeeper的命名空间写入数据,对数据进行各种操作。ZooKeeper API 接口如下表所示:操作接口名称 描述 create 创建指定的ZooKeeper命名空间(PATH)数据。 delete 创建指定的ZooKeeper命名空间(PATH)数据。 exists 检测节点是否存在 getChildren 获取节点孩子列表 g

2016-02-05 23:43:29 1160

原创 ZooKeeper常用命令

1.3.1 集群运行模式ZooKeeper集群状态可以通过zkServer.sh脚本检测,命名如下所示:$ zkServer.sh status JMX enabled by default Using config: /usr/share/zookeeper-3.4.6/bin/../conf/zoo.cfg Mode: standalone从Mode:standlone信息说明,它是

2016-02-05 10:02:09 3293

原创 常用的英语口语(个人收藏)

What are you trying to say?(你到底想说什么?) Don’t be silly.(别胡闹了。) How strong are your glasses?(你近视多少度?) Just because.(没有别的原因。) It isn’t the way I hoped it would be.(这不是我所盼望的。) You will never guess

2016-02-04 22:07:24 766

原创 ZooKeeper架构

ZooKeeper是一个分布式应用程序协调服务,是Google的Chubby一个开源的实现,是众多开源分布式应用的核心组件之一。它是一个为分布式应用提供配置维护、域名服务、分布式同步、分布式锁、服务注册等服务。ZooKeeper具备以下几个特性。1 简单易用ZooKeeper以分布式方式协调各个应用程序,它提供一个共享的分级的命名空间,这个命名空间类似于一个标准的Linux文件系统。命名空间由称之

2016-02-04 19:17:20 711

Machine Learning With Go

The mission of this book is to turn readers into productive, innovative data analysts who leverage Go to build robust and valuable applications. To this end, the book clearly introduces the technical aspects of building predictive models in Go, but it also helps the reader understand how machine learning workflows are being applied in real-world scenarios. Machine Learning with Go shows readers how to be productive in machine learning while also producing applications that maintain a high level of integrity. It also gives readers patterns to overcome challenges that are often encountered when trying to integrate machine learning in an engineering organization. The readers will begin by gaining a solid understanding of how to gather, organize, and parse real-work data from a variety of sources. Readers will then develop a solid statistical toolkit that will allow them to quickly understand gain intuition about the content of a dataset. Finally, the readers will gain hands-on experience implementing essential machine learning techniques (regression, classification, clustering, and so on) with the relevant Go packages.

2017-10-22

Hadoop-2.2.x-eclipse插件

Hadoop-2.2.x-eclipse

2014-02-01

Maven学习教材

Maven教材.The second command we ran in the previous section Maven lifecycle, which begins with a phase to validate the basic integrity of the project and ends with a phase that involves deploying a project to production. Lifecycle phases are intentionally vague, defined solely as validation, testing, or deployment, and they may mean different things to different projects. For example, in a project that produces a Java archive, the package phase produces a JAR; in a project that produces a web application, the package phase produces a WAR.

2013-04-22

多项式,迷宫,纸牌游戏,二叉树,哈夫曼数的课程设计全集

数据结构的课程设计多项式 迷宫纸 牌游戏 哈夫曼 二叉树 cpp课程设计全集可以立刻运行

2009-02-13

空空如也

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

TA关注的人

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