- `计算机知识` 租云服务器, Docker
supimo
计算机知识服务器运维docker
catalog云服务器Docker阿里云重载系统创建用户配置免密登录安装tmux安装DockerDocker命令配置统一镜像docker容器配置云服务器云平台的作用存放docket容器,让运算操作运行在云端获得一个公网IP,让别人可以访问云服务器的分类1,毛坯,即这个服务器是NULL的,然后我们自定义的去配置.比如一些项目框架django,thrift,是使用这种2,现成,比如数据库db,不用我们
- thrift RPC调用性能对比
飞稀饭你的微笑
1.测试环境CPU:IntelE5-26402.50GHz(8cores)内存:16GBCentOS6.5,Go1.4、Gcc4.4.6,开启tcpreuse,tcprecycle;2.测试数据对比如下一、单进程下,长短连接,两个RPC框架和两大语言对比二二.多进程(线程,协程)下,两大RPC框架和两大语言对比总结:1)Thrift框架性能比gRPC框架快两倍以上;2)高并发场景下,使用Thrif
- python快速实现dbc转excel
大柠檬鲸
python开发语言
步骤1-安装canmatrix包打开cmd输入:python-mpipinstallcanmatrix步骤2-打开要转换dbc所在的文件夹路径步骤3-在下图的路径框中输入cmd后直接按回车键步骤4-输入cmd在弹出的cmd中输入canconvertxxx.dbctarget.xlsx其中xxx.dbc为要转换的dbc,target.xlsx为输出的excel在当前路径下即生成转换后的excel
- python利用pyhive 连接hive
Leonban
《Python基础知识》pythonhive大数据
1.下载需求包pipinstallsaslpipinstallthriftpipinstallthrift-saslpipinstallPyHive2.连接hive注意端口默认为10000frompyhiveimporthiveconn=hive.Connection(host='192.168.100.100',port=10000,username='root',database='defau
- python连接hive--Pyhive
Elvis_hui
hivehivepythonsql
Pyhive安装包pipinstallsaslpipinstallthriftpipinstallthrift-saslpipinstallPyHive#安装对应的包sasl可能会报错#下载sasl文件sasl下载执行语句第一种frompyhiveimporthivedefselect_pyhive(sql):#创建hive连接conn=hive.Connection(host='##',port
- Spark-第六周
fightingD&W
Sparkspark大数据分布式
1.sparksql运行流程【Spark精讲】一文讲透SparkSQL执行过程_sparksql执行过程-CSDN博客摸鱼大数据——SparkSQL——SparkSQL的运行机制-CSDN博客2.熟练使用thriftserver服务thriftserver和beeline的使用,代码连接server(连接hive)_thrift连接hive-CSDN博客【八】thriftserver和beelin
- 从零开始基于go-thrift创建一个RPC服务
weixin_30371875
golangphpjson
Thrift是一种被广泛使用的rpc框架,可以比较灵活的定义数据结构和函数输入输出参数,并且可以跨语言调用。为了保证服务接口的统一性和可维护性,我们需要在最开始就制定一系列规范并严格遵守,降低后续维护成本。Thrift开发流程是:先定义IDL,使用thrift工具生成目标语言接口(interface)代码,然后进行开发。官网:http://thrift.apache.org/github:http
- 大规模时序数据存储(三)| 核心功能设计
AIOPstack
作者简介运小尧百度高级研发工程师一、简介基本功能方面,我们的TSDB在数据的收集上提供了HTTP、Thrift等API;对查询,除了提供API之外还提供了命令行工具(CLITool),这些基本功能的设计在不同的TSDB中大同小异,因此本文不再赘述。由于数据规模庞大且出于业务数据隔离和定期清理的需要,我们设计了分库分表功能;为了提升历史数据存储和查询效率,同时节省存储成本,我们又设计了多级降采样功能
- spark CTAS nuion all (union all的个数很多)导致超过spark.driver.maxResultSize配置(2G)
鸿乃江边鸟
背景该sql运行在spark版本3.1.2下的thriftserver下现象在运行包含多个union的sparksql的时候报错(该sql包含了50多个uinon,且每个union字查询中会包含join操作),其中union中子查询sql类似如下:SELECTa1.order_no,a1.need_column,a1.join_idFROMtemp.actul_aa1jointemp.actul_
- 微服务(四)
Jiandong
服务发现这是第四章,这本书是关于用微服务构建应用。第一章介绍了微服务架构模式和讨论了采用微服务的优缺点。第二章和第三章描述了微服务之间通讯的各个方面。本章,我们探索服务发现相关的问题。为什么要用服务发现?让我们想象一下你正在写一些代码通过RESTAPI或ThriftAPI调用一个服务。为了发起一个请求,你的代码需要知道这个服务实例的网络地址(IP地址和端口号)。运行在物理机上的传统应用,服务实例的
- Java原生序列化和Kryo序列化性能比较
编码前线
1.背景最近几年,各种新的高效序列化方式层出不穷,不断刷新序列化性能的上限,最典型的包括:专门针对Java语言的:Kryo,FST等等跨语言的:Protostuff,ProtoBuf,Thrift,Avro,MsgPack等等这些序列化方式的性能多数都显著优于hessian2(。有鉴于此,我们为dubbo引入Kryo和FST这两种高效Java序列化实现,来逐步取代hessian2。其中,Kryo是
- springboot与vertx异步并发对比
千寻_GHSA
springboot目前主要还是阻塞式响应,需要等到服务端计算完成,才会返回。vertx本身异步响应,客户端发出请求后,服务端计算完成后,通知返回。系统的处理能力会大大提升。针对同样的业务,做一个200并发的测试springbootspringboot的average在165秒vertxvertx的average在85秒从cpu的使用率对比vertx的CPU使用率较低;springboot的CPU
- 接口自动化测试,完整入门篇
.咖啡加剁椒
软件测试功能测试软件测试自动化测试程序人生职场和发展
目录1.什么是接口测试2.基本流程3.需求分析4.用例设计5.脚本开发6.结果分析7.完整脚本8.参考资料1.什么是接口测试顾名思义,接口测试是对系统或组件之间的接口进行测试,主要是校验数据的交换,传递和控制管理过程,以及相互逻辑依赖关系。其中接口协议分为HTTP,WebService,Dubbo,Thrift,Socket等类型,测试类型又主要分为功能测试,性能测试,稳定性测试,安全性测试等。在
- Spark 使用之操作Hudi表
AlienPaul
HudiSpark使用本篇为大家带来通过Sparkshell和SparkSQL操作Hudi表的方式。Hudi表还可以通过SparkThriftServer操作,参见通过Sparkthriftserver操作Hudi表。Hudi编译我们使用如下软件环境:Scala2.12Flink1.15Spark3.3Hudi0.13.1Hudi编译的时候会遇到依赖下载缓慢的情况。需要换用国内源。修改settin
- rpc协议中,字段值类型改变的思考
赤子心_d709
背景今天遇到了一个场景,下游强行把某个字段的类型给改了(字段顺序没有变),上线的过程中上下游都没有出错,和我预想的不一样,我认为上游反序列化解析的时候会出错python语言,thrift协议当然这样的做法不推荐,这里只说明一下上游没有报错的原因代码框架上:用的是thrift,当然是公司封装了一层,对于我rpcclient,也就是上游,影响的代码如下eliffid==11:ifftype==TTyp
- c# 访问hbase_【C#】透过Thrift操作HBase系列
weixin_39946500
c#访问hbase
题外话:C#调用Java的几种方法1.将Java端的接口通过WebService方式发布,C#可以方便的调用2.先使用C++通过JNI调用Java,C#调用C++的接口3.使用开源的库直接使用C#调用Java,详细信息请点击4.使用IKVM实现C#调用Java,参考:http://www.ikvm.net/之所以说这些,是因为自己这边客户端要调用HBase接口(Java实现),刚开始我是使用WS方
- thrift协议抓包解析(tcpdump+wireshark or thrift-tool)
struggle6688
常用技术
目前thrift使用较多,所以我们可能会遇到线上查case或者想拉取一些具体请求的场景,这种需求下如果没有提前打日志就只能通过抓包来分析了。一、tcpdump+wireshark抓包第一反应就是通过tcpdump命令来抓取,其中比较常用的命令就是sudotcpdump-iany-Xvvdstport11311andtcp这种情况下的包通常都是二进制的格式,通过-Xvv也就能展现成这个样子:当然我们
- Wireshark不显示Thrift协议
cuijiecheng2018
网络/服务器wireshark网络
使用Wireshark对thrift协议进行抓包,但是只显示了传输层的tcp协议:"右键"->"DecodeAs"选择thrift的tcp端口将“当前”修改为Thrift,然后点击“确定”设置后,可以发现Wireshark里面显示的协议从Tcp变为Thrift了参考:《thrift协议抓包解析(tcpdump+wiresharkorthrift-tool)》《pinterest/thrift-to
- springboot hikari jooq mongodb thrift 相关配置
Helen_Cat
image.png之前使用的数据库连接池是ali的Druid,不过springboot默认是使用Hikari作为数据库连接池的,听说要比Druid更优秀一些。正常我们使用Druid和spring的jdbcTemplate一起操作,不过JDBCTemplate好像不是纯面向对象的数据库操作,拼写sql,总是感觉弱弱的,也容易出错还有就是mybatis,这个吧,要为每个sqltemplate都要配置一
- 5年经验之谈:2年功能测试、3年自动化测试,从入门到不可自拔...
豆子熊
毕业3年了,学的是环境工程专业,毕业后零基础转行做软件测试。已近从事测试行业8年了,自己也从事过2年的手工测试,从事期间越来越觉得如果一直在手工测试的道路上前进,并不会有很大的发展,所以通过自己的努力,早几年已经成功的转入自动化测试的方向,又过去了这么久,现在就职于美团测试开发框架组,搭建过美团platuo测试框架,thrift测试框架,自动化测试平台,熟悉python3,java,vue,在多家
- 数据格式--二进制格式
MontyOak
Thrift与ProtocolBuffers在大量调用或者需要传输大量数据的时候,数据编码之后的体积大小就是一个尤为关键的因素。ApacheThrift和ProtocolBuffers(protobuf)就是业界最为知名的两种二进制编码格式。其中前者由Facebook发起并贡献给了Apache作为开源项目,后者则有Google发起并开源。两者格式有很多相似之处,一般都是作为接口定义语言(IDL)配
- Kuberntes DNS
zhixingheyi_tian
DNSkubernetes
查找服务端点#kubectlgetendpointsNAMEENDPOINTSAGEdocker-registry172.17.0.10:500019dkubernetes10.0.2.41:844319drouter10.0.2.41:1936,10.0.2.41:80,10.0.2.41:44319dsparkthrift-headless172.17.0.12:18887dWhenyouar
- 使用Dubbo实现微服务之间的高效通信
程序吟游
分布式微服务dubbo
目录一、RPC与Dubbo二、Springboot整合Dubbo服务端实现消费端实现一、RPC与DubboRPC(RemoteProcedureCall)是指远程过程调用。常见的RPC框架有Dubbo(Alibaba)、gRPC(Google)、Thrift(Facebook)。其中Dubbo是一款JavaRPC框架,致力于提供高性能的RPC远程服务调用方案。以帮助开发人员快速构建高效的分布式系统
- 使用haproxy做impala的负载均衡
要树立远大的理想
Impala负载均衡impalahaproxy
1.IMPALA组件概述Impala组件包含3个子模块(ImpalaCatalogServer、ImpalaStateStore、ImpalaDaemon),如图所示:其中ImpalaCatalogServer与ImpalaStateStore是无数据、无状态的模块,没有高可用的需求更不需要做负载均衡;ImpalaDaemon模块的每一个节点都可以提供jdbc和thrift服务(作为coordin
- vertx添加后获取记录id
Levi_9d29
直接用户queryWithParams方法执行添加sql就可以了,如果是postgresql需要在sql语句最后加上returningid,其他数据库没试过
- HBase实践篇 _ 为HBase的ThriftAPI设计连接池
大猿小猿向前冲
[toc]1.摘要客户端连接HBase,常用的方式主要有两种,直连Zookeeper和连接HBaseThriftServer。第一种是Java中常用的方式,官方在hbase-client包里提供了丰富的API,另一种是HBase的thriftapi,主要在跨语言环境中使用。我们线上大部分的业务是由happybase封装的PythonAPI来提供数据的读写服务,小部分业务则是用Java语言,例如:F
- (四)hive的搭建2
调试大师
大数据Hadoophivehadoop数据仓库
在(三)hive的搭建1中我们搭建好了hive环境,但是只能本地访问,在本节中配置Hive的访问方式。1.元数据服务的方式1.1编辑hive-site.xmlsudovihive-site.xml在文件最后增加以下内容hive.metastore.uristhrift://hadoop-master:90831.2启动metastore执行命令hive–servicemetastore(此命令启动
- DNS 代理?Pipy:这我也可以
dotNET跨平台
Pipy是个可编程代理,曾经我们做过TCP/HTTP代理、MQTT代理、Dubbo代理、Redis代理、Thrift代理。前几天有人问DNS[1]的代理能不能做?当然可以,而且DNS代理已经应用在跨集群流量调度中,文末经对此进行简单地介绍。阅读本文将了解到:•DNS的基本介绍以及DNS的处理流程•使用编码实现一个DNS代理•在代理中增加智能线路解析功能DNS介绍DNS(DomainNameSyst
- 程序媛在公司的进修之路(三)
小芹菜_4d69
这次隔了两周,因为是双周任务和总结,学习任务如下:学习vertx框架,重点学习core、web、dataaccess三个组件。在这之前自己什么框架也没有学过,包括MVC,,,,所以完全不知道该如何入手。大体自己的学习思路如下:1、直接上官网:https://vertx.io/docs/#web看手册,了解相关的概念的知识,运行出第一个helloword(例子都是官网现成的)。这里英文不好的就去看中
- Java在网络通信中应该如何选择合适的序列化框架?
coffee_babe
Netty网络IOjava开发语言序列化
前言说到网络通信就会牵涉到数据的序列化与反序列化,现如今序列化框架也是层出不穷,比如FST、Kryo、ProtoBuffer、Thrift、Hessian、Avro、MsgPack等等,有的人可能会有疑问,为什么市面上有这么多框架,JDK不是已经有自带的Serializable序列化接口吗?很遗憾地说出这个事实,作为JDK自带地序列化机制,无论是在时间还是空间上的性能不尽人意,但凡时间或者空间上性
- ASM系列五 利用TreeApi 解析生成Class
lijingyao8206
ASM字节码动态生成ClassNodeTreeAPI
前面CoreApi的介绍部分基本涵盖了ASMCore包下面的主要API及功能,其中还有一部分关于MetaData的解析和生成就不再赘述。这篇开始介绍ASM另一部分主要的Api。TreeApi。这一部分源码是关联的asm-tree-5.0.4的版本。
在介绍前,先要知道一点, Tree工程的接口基本可以完
- 链表树——复合数据结构应用实例
bardo
数据结构树型结构表结构设计链表菜单排序
我们清楚:数据库设计中,表结构设计的好坏,直接影响程序的复杂度。所以,本文就无限级分类(目录)树与链表的复合在表设计中的应用进行探讨。当然,什么是树,什么是链表,这里不作介绍。有兴趣可以去看相关的教材。
需求简介:
经常遇到这样的需求,我们希望能将保存在数据库中的树结构能够按确定的顺序读出来。比如,多级菜单、组织结构、商品分类。更具体的,我们希望某个二级菜单在这一级别中就是第一个。虽然它是最后
- 为啥要用位运算代替取模呢
chenchao051
位运算哈希汇编
在hash中查找key的时候,经常会发现用&取代%,先看两段代码吧,
JDK6中的HashMap中的indexFor方法:
/**
* Returns index for hash code h.
*/
static int indexFor(int h, int length) {
- 最近的情况
麦田的设计者
生活感悟计划软考想
今天是2015年4月27号
整理一下最近的思绪以及要完成的任务
1、最近在驾校科目二练车,每周四天,练三周。其实做什么都要用心,追求合理的途径解决。为
- PHP去掉字符串中最后一个字符的方法
IT独行者
PHP字符串
今天在PHP项目开发中遇到一个需求,去掉字符串中的最后一个字符 原字符串1,2,3,4,5,6, 去掉最后一个字符",",最终结果为1,2,3,4,5,6 代码如下:
$str = "1,2,3,4,5,6,";
$newstr = substr($str,0,strlen($str)-1);
echo $newstr;
- hadoop在linux上单机安装过程
_wy_
linuxhadoop
1、安装JDK
jdk版本最好是1.6以上,可以使用执行命令java -version查看当前JAVA版本号,如果报命令不存在或版本比较低,则需要安装一个高版本的JDK,并在/etc/profile的文件末尾,根据本机JDK实际的安装位置加上以下几行:
export JAVA_HOME=/usr/java/jdk1.7.0_25  
- JAVA进阶----分布式事务的一种简单处理方法
无量
多系统交互分布式事务
每个方法都是原子操作:
提供第三方服务的系统,要同时提供执行方法和对应的回滚方法
A系统调用B,C,D系统完成分布式事务
=========执行开始========
A.aa();
try {
B.bb();
} catch(Exception e) {
A.rollbackAa();
}
try {
C.cc();
} catch(Excep
- 安墨移动广 告:移动DSP厚积薄发 引领未来广 告业发展命脉
矮蛋蛋
hadoop互联网
“谁掌握了强大的DSP技术,谁将引领未来的广 告行业发展命脉。”2014年,移动广 告行业的热点非移动DSP莫属。各个圈子都在纷纷谈论,认为移动DSP是行业突破点,一时间许多移动广 告联盟风起云涌,竞相推出专属移动DSP产品。
到底什么是移动DSP呢?
DSP(Demand-SidePlatform),就是需求方平台,为解决广 告主投放的各种需求,真正实现人群定位的精准广
- myelipse设置
alafqq
IP
在一个项目的完整的生命周期中,其维护费用,往往是其开发费用的数倍。因此项目的可维护性、可复用性是衡量一个项目好坏的关键。而注释则是可维护性中必不可少的一环。
注释模板导入步骤
安装方法:
打开eclipse/myeclipse
选择 window-->Preferences-->JAVA-->Code-->Code
- java数组
百合不是茶
java数组
java数组的 声明 创建 初始化; java支持C语言
数组中的每个数都有唯一的一个下标
一维数组的定义 声明: int[] a = new int[3];声明数组中有三个数int[3]
int[] a 中有三个数,下标从0开始,可以同过for来遍历数组中的数
- javascript读取表单数据
bijian1013
JavaScript
利用javascript读取表单数据,可以利用以下三种方法获取:
1、通过表单ID属性:var a = document.getElementByIdx_x_x("id");
2、通过表单名称属性:var b = document.getElementsByName("name");
3、直接通过表单名字获取:var c = form.content.
- 探索JUnit4扩展:使用Theory
bijian1013
javaJUnitTheory
理论机制(Theory)
一.为什么要引用理论机制(Theory)
当今软件开发中,测试驱动开发(TDD — Test-driven development)越发流行。为什么 TDD 会如此流行呢?因为它确实拥有很多优点,它允许开发人员通过简单的例子来指定和表明他们代码的行为意图。
TDD 的优点:
&nb
- [Spring Data Mongo一]Spring Mongo Template操作MongoDB
bit1129
template
什么是Spring Data Mongo
Spring Data MongoDB项目对访问MongoDB的Java客户端API进行了封装,这种封装类似于Spring封装Hibernate和JDBC而提供的HibernateTemplate和JDBCTemplate,主要能力包括
1. 封装客户端跟MongoDB的链接管理
2. 文档-对象映射,通过注解:@Document(collectio
- 【Kafka八】Zookeeper上关于Kafka的配置信息
bit1129
zookeeper
问题:
1. Kafka的哪些信息记录在Zookeeper中 2. Consumer Group消费的每个Partition的Offset信息存放在什么位置
3. Topic的每个Partition存放在哪个Broker上的信息存放在哪里
4. Producer跟Zookeeper究竟有没有关系?没有关系!!!
//consumers、config、brokers、cont
- java OOM内存异常的四种类型及异常与解决方案
ronin47
java OOM 内存异常
OOM异常的四种类型:
一: StackOverflowError :通常因为递归函数引起(死递归,递归太深)。-Xss 128k 一般够用。
二: out Of memory: PermGen Space:通常是动态类大多,比如web 服务器自动更新部署时引起。-Xmx
- java-实现链表反转-递归和非递归实现
bylijinnan
java
20120422更新:
对链表中部分节点进行反转操作,这些节点相隔k个:
0->1->2->3->4->5->6->7->8->9
k=2
8->1->6->3->4->5->2->7->0->9
注意1 3 5 7 9 位置是不变的。
解法:
将链表拆成两部分:
a.0-&
- Netty源码学习-DelimiterBasedFrameDecoder
bylijinnan
javanetty
看DelimiterBasedFrameDecoder的API,有举例:
接收到的ChannelBuffer如下:
+--------------+
| ABC\nDEF\r\n |
+--------------+
经过DelimiterBasedFrameDecoder(Delimiters.lineDelimiter())之后,得到:
+-----+----
- linux的一些命令 -查看cc攻击-网口ip统计等
hotsunshine
linux
Linux判断CC攻击命令详解
2011年12月23日 ⁄ 安全 ⁄ 暂无评论
查看所有80端口的连接数
netstat -nat|grep -i '80'|wc -l
对连接的IP按连接数量进行排序
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
查看TCP连接状态
n
- Spring获取SessionFactory
ctrain
sessionFactory
String sql = "select sysdate from dual";
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
String[] names = wac.getBeanDefinitionNames();
for(int i=0; i&
- Hive几种导出数据方式
daizj
hive数据导出
Hive几种导出数据方式
1.拷贝文件
如果数据文件恰好是用户需要的格式,那么只需要拷贝文件或文件夹就可以。
hadoop fs –cp source_path target_path
2.导出到本地文件系统
--不能使用insert into local directory来导出数据,会报错
--只能使用
- 编程之美
dcj3sjt126com
编程PHP重构
我个人的 PHP 编程经验中,递归调用常常与静态变量使用。静态变量的含义可以参考 PHP 手册。希望下面的代码,会更有利于对递归以及静态变量的理解
header("Content-type: text/plain");
function static_function () {
static $i = 0;
if ($i++ < 1
- Android保存用户名和密码
dcj3sjt126com
android
转自:http://www.2cto.com/kf/201401/272336.html
我们不管在开发一个项目或者使用别人的项目,都有用户登录功能,为了让用户的体验效果更好,我们通常会做一个功能,叫做保存用户,这样做的目地就是为了让用户下一次再使用该程序不会重新输入用户名和密码,这里我使用3种方式来存储用户名和密码
1、通过普通 的txt文本存储
2、通过properties属性文件进行存
- Oracle 复习笔记之同义词
eksliang
Oracle 同义词Oracle synonym
转载请出自出处:http://eksliang.iteye.com/blog/2098861
1.什么是同义词
同义词是现有模式对象的一个别名。
概念性的东西,什么是模式呢?创建一个用户,就相应的创建了 一个模式。模式是指数据库对象,是对用户所创建的数据对象的总称。模式对象包括表、视图、索引、同义词、序列、过
- Ajax案例
gongmeitao
Ajaxjsp
数据库采用Sql Server2005
项目名称为:Ajax_Demo
1.com.demo.conn包
package com.demo.conn;
import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;
//获取数据库连接的类public class DBConnec
- ASP.NET中Request.RawUrl、Request.Url的区别
hvt
.netWebC#asp.nethovertree
如果访问的地址是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree%3C&n=myslider#zonemenu那么Request.Url.ToString() 的值是:http://h.keleyi.com/guestbook/addmessage.aspx?key=hovertree<&
- SVG 教程 (七)SVG 实例,SVG 参考手册
天梯梦
svg
SVG 实例 在线实例
下面的例子是把SVG代码直接嵌入到HTML代码中。
谷歌Chrome,火狐,Internet Explorer9,和Safari都支持。
注意:下面的例子将不会在Opera运行,即使Opera支持SVG - 它也不支持SVG在HTML代码中直接使用。 SVG 实例
SVG基本形状
一个圆
矩形
不透明矩形
一个矩形不透明2
一个带圆角矩
- 事务管理
luyulong
javaspring编程事务
事物管理
spring事物的好处
为不同的事物API提供了一致的编程模型
支持声明式事务管理
提供比大多数事务API更简单更易于使用的编程式事务管理API
整合spring的各种数据访问抽象
TransactionDefinition
定义了事务策略
int getIsolationLevel()得到当前事务的隔离级别
READ_COMMITTED
- 基础数据结构和算法十一:Red-black binary search tree
sunwinner
AlgorithmRed-black
The insertion algorithm for 2-3 trees just described is not difficult to understand; now, we will see that it is also not difficult to implement. We will consider a simple representation known
- centos同步时间
stunizhengjia
linux集群同步时间
做了集群,时间的同步就显得非常必要了。 以下是查到的如何做时间同步。 在CentOS 5不再区分客户端和服务器,只要配置了NTP,它就会提供NTP服务。 1)确认已经ntp程序包: # yum install ntp 2)配置时间源(默认就行,不需要修改) # vi /etc/ntp.conf server pool.ntp.o
- ITeye 9月技术图书有奖试读获奖名单公布
ITeye管理员
ITeye
ITeye携手博文视点举办的9月技术图书有奖试读活动已圆满结束,非常感谢广大用户对本次活动的关注与参与。 9月试读活动回顾:http://webmaster.iteye.com/blog/2118112本次技术图书试读活动的优秀奖获奖名单及相应作品如下(优秀文章有很多,但名额有限,没获奖并不代表不优秀):
《NFC:Arduino、Andro