现代的互联网分布式系统,只要稍微大一些,就一定逃不开3类中间件:远程调用(RPC)框架、消息队列、数据库访问中间件。Kafka 是消息队列中间件的代表产品,用 Scala 语言实现; 基本概念 首先,Kafka 中有一些基本的概念需要熟悉。 Topic,指消息的类别,每个消息都必须有; Produc ...
分类:
其他好文 时间:
2018-11-08 16:30:49
阅读次数:
161
1.执行命令 yum groups install "X Window System"安装 X Window System。 2.执行命令 yum groups install "MATE Desktop"安装 MATE Desktop。 3.执行命令 systemctl set-default g ...
分类:
其他好文 时间:
2018-11-08 00:23:42
阅读次数:
191
https://orc.apache.org Optimized Row Columnar (ORC) file 层次结构: file -> stripes -> row groups(10000 rows) 行列混合存储 Background Back in January 2013, we cr ...
分类:
其他好文 时间:
2018-11-07 18:41:19
阅读次数:
272
5 声明(Claims) 这一节说明客户端如何获取关于终端用户声明和验证事件。它还定义了一组标准的基本声明配置。预定义一组可请求的声明,使用特定的scope值或能用于请求参数中的个人声明。声明可以直接来自OpenID提供者或分布式来源。 5.1 标准声明(Standard Claims) 这个规范定 ...
分类:
其他好文 时间:
2018-11-05 11:26:08
阅读次数:
237
You are given an array A of strings. Two strings S and T are special equivalent if after any number of moves, S == T. A move consists of choosing two ...
分类:
其他好文 时间:
2018-10-29 14:13:28
阅读次数:
183
题目链接:http://codeforces.com/gym/101775/problem/A It is said that a dormitory with 6 persons has 7 chat groups ^_^. But the number can be even larger: s ...
分类:
其他好文 时间:
2018-10-28 00:11:13
阅读次数:
245
Jamie's Contact Groups Time Limit: 15000/7000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 747 Accepted Submission(s ...
分类:
其他好文 时间:
2018-10-20 19:56:22
阅读次数:
133
django中将model转换为dict的方法 ...
分类:
其他好文 时间:
2018-10-19 22:05:22
阅读次数:
175
api:hostgroup.get url:https://www.zabbix.com/documentation/3.4/zh/manual/api/reference/hostgroup/get 参数说明:The method allows to retrieve host groups ac ...
RouterRouter和Filter很相似,Router可以用一或多个Filter来取代,不同的是用Router来生成多个组时输入数据只需处理一次,所以效率更高;Router 由一个输入组,一到多个用户定义的输出组和一个默认组组成,每一个用户定义的输出组含一个测试条件,满足条件的输入数据会进入相应 ...
分类:
其他好文 时间:
2018-10-12 11:03:16
阅读次数:
140