自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (279)
  • 问答 (4)
  • 收藏
  • 关注

转载 HBase篇(1)-特性与应用场景

结束了Zookeeper篇, 接下来我们来说下Google三驾马车之一BigTable的开源实现:HBase,要讲的内容暂定如下:这是第一篇我们先不聊技术实现,只讨论特性和场景hbase的特点千万级高并发 PB级存储 非结构化存储 动态列,稀疏列 支持二级索引 强一致性,可靠性,扩展性(CP系统,可用性做了一点让步)场景1. 写密集型应用,每天写入量巨大,而相对读数...

2019-11-24 12:31:40 269

转载 MySQL数据行溢出的深入理解

一、从常见的报错说起故事的开头我们先来看一个常见的sql报错信息:相信对于这类报错大家一定遇到过很多次了,特别对于OMG这种已内容生产为主要工作核心的BG,在内容线的存储中,数据大一定是个绕不开的话题。这里的数据“大”,远不止存储空间占用多,其中也包括了单个(表)字段存储多、大,数据留存时间长,数据冗余多,冷热数据不明显导致的体量大,访问峰值随着热点变化明显,逻辑处理复杂导致数据存储压...

2019-11-24 12:26:11 1255

转载 MySQL行溢出与最大行

#MySQL行溢出与最大行MySQL每个表有4096个列的硬限制,MySQL表的最大行大小限制为65535字节-- innodb_page_sizeshow variables like 'innodb_page_size';-- 文件格式show variables like 'innodb_file_format';-- 行格式show table status like 'ta...

2019-11-24 12:18:10 408

原创 MySql表大小、行大小和列大小的限制

参见官网文档:https://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html#row-size-limitshttp://dev.mysql.com/doc/refman/5.7/en/table-size-limit.htmlhttp://dev.mysql.com/doc/refman/5.7/en/column-cou...

2019-11-24 01:14:11 650

转载 mysql对表列数和行大小的限制

列计数限制MySQL对于每个表具有4096个列的硬限制,但给定表的有效最大值可能较少。精确的列限制取决于几个因素: 表的最大行大小限制列的数量(可能是大小),因为所有列的总长度不能超过此大小。请参阅行大小限制 单个列的存储要求限制了适合给定最大行大小的列数。某些数据类型的存储要求取决于存储引擎,存储格式和字符集等因素。请参见数据类型存储要求 存储引擎可能会施加限制表列...

2019-11-24 01:13:28 6982

转载 [How to]HBase集群备份方法--Replication机制

1.简介  HBase备份的方法在[How to]HBase集群备份方法文章中已经有些介绍,但是这些方法都不是HBase本身的特性在支持,都是通过MR计算框架结合HBase客户端的方式,或者直接拷贝HBase的底层hdfs数据的方式进行备份的,但从操作上来说也比较繁琐复杂,数据完整性和及时性上也做的并不是很好。  本文介绍另外一种集群间的数据自动备份特性,这个特性是HBase的内部特性,用...

2019-11-23 23:50:05 227

转载 使用Spring StateMachine框架实现状态机

Spring StateMachine框架可能对于大部分使用Spring的开发者来说还比较生僻,该框架目前差不多也才刚满一岁多。它的主要功能是帮助开发者简化状态机的开发过程,让状态机结构更加层次化。前几天刚刚发布了它的第三个Release版本1.2.0,其中增加了对Spring Boot的自动化配置,既然一直在写Spring Boot的教程,所以干脆就将该内容也纳入进来吧,希望对有需求的小伙伴有一...

2019-11-15 22:55:32 234

转载 状态机引擎选型

状态机引擎选型date: 2017-06-19 15:50:18概念有限状态机是一种用来进行对象行为建模的工具,其作用主要是描述对象在它的生命周期内所经历的状态序列,以及如何响应来自外界的各种事件。在电商场景(订单、物流、售后)、社交(IM消息投递)、分布式集群管理(分布式计算平台任务编排)等场景都有大规模的使用。状态机的要素状态机可归纳为4个要素,即现态、条件、动作、次态。“...

2019-11-15 18:25:58 569

原创 JPA freemaker动态的拼接SQL

spring-data-jpa-extrahttps://github.com/slyak/spring-data-jpa-extraspring-data-jpa-template项目地址:https://gitee.com/silentwu/spring-data-jpa-template.git

2019-11-13 05:43:20 627

转载 Phoenix二级索引使用

1.添加二级索引配置 为使用Phoenix二级索引,需要开启HBase regionServer相关参数配置<property><name>hbase.regionserver.wal.codec</name><value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEdi...

2019-11-10 22:12:12 190

转载 phoenix建表映射有命名空间的hbase表

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/XDSXHDYY/article/details/964615761.先开启schema与namespace的对应关系在phoenix中与hbase的命名空间相对应的是schema概念,默认是没有开启的,需要在hbase的hbase-s...

2019-11-10 21:20:40 989

转载 浅谈Phoenix在HBase中的应用

一、前言业务使用HBase已经有一段时间了,期间也反馈了很多问题,其中反馈最多的是HBase是否支持SQL查询和二级索引,由于HBase在这两块上目前暂不支持,导致业务在使用时无法更好的利用现有的经验来查询HBase。虽然HBase本身不支持SQL,但业界还是有现成的方案来支持,如Hive、Impala、Phoenix等。众多方案各有各的优势,本文主要对Phoenix作一个大概的介绍。Ph...

2019-11-08 11:35:13 699

转载 AOP切入同类调用方法-AopContext.currentProxy()

本文链接:https://blog.csdn.net/u014788227/article/details/90111662常规使用spring的AOP功能,就是对一个service的B方法进行切入记录日志,AOP能起作用。但是假如B方法被service中的A方法调用,切入会失效,无法记录日志(这里的切入失效是指对B的切入记录日志失效,对A方法的切入还是有用的)。解释,要求熟悉动态代理原理...

2019-11-07 12:02:51 1234 1

转载 Spring AOP注解失效的坑及JDK动态代理

@Transactional @Async等注解不起作用之前很多人在使用Spring中的@Transactional, @Async等注解时,都多少碰到过注解不起作用的情况。为什么会出现这些情况呢?因为这些注解的功能实际上都是Spring AOP实现的,而其实现原理是通过代理实现的。JDK动态代理以一个简单的例子理解一下JDK动态代理的基本原理:? 1 2...

2019-11-07 12:01:52 1670

转载 java堆外内存泄漏

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/f529352479/article/details/51908655问题描述最近有个系统在做压力测试,环境配置:4核CPU 8g内存 jdk1.6.0_25,jvm配置-server -Xms2048m -Xmx2048m...

2019-11-06 11:24:37 586

转载 Kafka HA Kafka一致性重要机制之ISR(kafka replica)

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/qq_37502106/article/details/80271800一、kafka replica当某个topic的replication-factor为N且N大于1时,每个Partition都会有N个副本(Replica)。kaf...

2019-11-04 20:27:27 383

转载 Kafka中的HW、LEO、LSO等分别代表什么?

HW、LEO等概念和上一篇文章所说的ISR有着紧密的关系,如果不了解 ISR 可以先看下ISR相关的介绍。HW(High Watermark)俗称高水位,它标识了一个特定的消息偏移量(offset),消费者只能拉取到这个offset之前的消息。下图表示一个日志文件,这个日志文件中只有9条消息,第一条消息的offset(LogStartOffset)为0,最有一条消息的offset...

2019-11-04 19:13:07 2129

转载 mysql中覆盖索引、联合索引、索引下推区别

1、覆盖索引:如果查询条件使用的是普通索引(或是联合索引的最左原则字段),查询结果是联合索引的字段或是主键,不用回表操作,直接返回结果,减少IO磁盘读写读取正行数据2、最左前缀:联合索引的最左 N 个字段,也可以是字符串索引的最左 M 个字符3、联合索引:根据创建联合索引的顺序,以最左原则进行where检索,比如(age,name)以age=1 或 age= 1 and name=‘张三’...

2019-11-04 16:38:09 1320

转载 MySQL索引解析(联合索引/最左前缀/覆盖索引/索引下推)

本节内容:1)索引基础2)索引类型(Hash索引、有序数组、B+树)3)索引的几个常见问题 1)联合索引 2)最左前缀原则 3)覆盖索引 4)索引下推1. 索引基础索引对查询的速度有着至关重要的影响,理解索引也是进行数据库性能调优的起点,索引就是为了提高数据查询的效率。索引可以包含一个或多个列的值,如果索引包含多个列的值,则列的顺序也十分重要,因为...

2019-11-04 16:33:18 222

mariadb-5.5.34-winx64.zip

MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL的代替品。在存储引擎方面,使用XtraDB(英语:XtraDB)来代替MySQL的InnoDB。 MariaDB由MySQL的创始人Michael Widenius(英语:Michael Widenius)主导开发,他早前曾以10亿美元的价格,将自己创建的公司MySQL AB卖给了SUN,此后,随着SUN被甲骨文收购,MySQL的所有权也落入Oracle的手中。MariaDB名称来自Michael Widenius的女儿Maria的名字。

2018-05-12

canal.deployer-1.0.25.tar.gz

阿里巴巴mysql数据库binlog的增量订阅&消费组件 基于日志增量订阅&消费支持的业务: 数据库镜像 数据库实时备份 多级索引 (卖家和买家各自分库索引) search build 业务cache刷新 价格变化等重要业务消息

2018-05-12

mariadb-10.3.6-winx64.zip

MariaDB is free and open source software The MariaDB database server is published as free and open source software under the General Public License version 2. You can download and use it as much as you want free of charge. All use of the binaries from mariadb.org is at your own risk as stated in the GPLv2. While we do our best to make the world’s best database software, the MariaDB Foundation does not provide any guarantees and cannot be hold liable for any issues you may encounter. The MariaDB Foundation does not provide any help or support services if you run into troubles while using MariaDB. Support and guarantees are available on commercial terms from multiple MariaDB vendors. There are alse many resources you can use to learn MariaDB and support yourself or get peer support online.

2018-05-09

canal--mysql数据库binlog的增量订阅&消费组件

名称:canal [kə'næl] 译意: 水道/管道/沟渠 语言: 纯java开发 定位: 基于数据库增量日志解析,提供增量数据订阅&消费,目前主要支持了mysql 关键词: mysql binlog parser / real-time / queue&topic;

2018-05-08

redis2.8 windows 64

redis2.8 windows 64位版本的,在本地测试使用 Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。从2010年3月15日起,Redis的开发工作由VMware主持。从2013年5月开始,Redis的开发由Pivotal赞助。

2018-04-16

DevCenter--Cassandra

DataStax for Developers Learn and build with your favorite language and a friendly GUI.

2018-01-17

指令集时钟周期

ASM为Assembly的简写,ASM指令的含义为汇编指令(泛指Intel 80X86 CPU中的指令集)。 ASM指令是为编程人员编写程序准备的,编译器将会把ASM指令真正的翻译成机器代码(能控制CPU做出操作的代码)。 ASM至今运用广泛,2015年所有的个人电脑,大型服务器绝大多数使用ASM指令集。 ASM的优点在于指令广泛和丰富,处理大型数据游刃有余,但是缺点也是显而易见的,由于指令的长度不等与指令的复杂,其耗能大,CPU体积也大。

2017-12-21

JAVA面试资料

JAVA面试资料,包含了Java的知识的各个方面的基本概括和原理

2017-11-21

rabbitmq-server-windows-3.6.12.zip

RabbitMQ 3.6.12 is a maintenance release. Upgrades and Compatibility See the "Upgrading clusters" section of the documentation for general documentation on upgrades. This release has no other known incompatibilities with versions 3.6.7 through 3.6.11. See the upgrade and compatibility sections in the 3.6.7 release notes if upgrading from an earlier release. Core Server Bug Fixes Process responsible for running the autoheal partition handling strategy could run into a deadlock with its peers, preventing autoheal from completing. GitHub issue: rabbitmq-server#1346 Garbage collection of mirrored queue metrics on nodes that did not host a master or mirror for a queue affected delivery and acknowledgement rates. This could result in rates being 0 or negative when they should not be. GitHub issue: rabbitmq-server#1340 Stats emission could prevent queue mirrors from performing garbage collection and consume memory even when they were empty. GitHub issue: rabbitmq-common#220 (continuation to rabbitmq-common#196) RABBITMQ_SCHEDULER_BIND_TYPE and RABBITMQ_DISTRIBUTION_BUFFER_SIZE now can be set via rabbitmq-env.conf. GitHub issue: rabbitmq-server#1338 Shovel Management Plugin Bug Fixes Passwords in source and destination URIs are now redacted out. GitHub issue: rabbitmq-federation-management#15 Federation Management Plugin Bug Fixes Passwords in upstream URIs are now redacted out. GitHub issue: rabbitmq-federation-management#15 Upgrading To upgrade a non-clustered RabbitMQ simply install the new version. All configuration and persistent message data are retained. When upgrading using definitions export/import from versions earlier than 3.6.0, see http://rabbitmq.com/passwords.html. To upgrade a RabbitMQ cluster, follow the instructions in RabbitMQ documentation.

2017-10-30

R-3.4.1(R语言sdk)

R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.

2017-08-23

RStudio-1.0.153

RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, and a variety of robust tools for plotting, viewing history, debugging and managing your workspace. Learn More about RStudio features.

2017-08-23

LuaForWindows

Installation of Lua for the Windows operating systems including many lua libraries. NOTICE Development move to GitHub https://github.com/rjpcomputing/luaforwindows Overview Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. Lua for Windows (LfW) combines Lua binaries, Lua libraries with a Lua-capable editor in a single install package for the Microsoft Windows operating system. LfW contains everything you need to write, run and debug Lua scripts on Windows. A wide variety of libraries and examples are included that are ready to use with Microsoft Windows. LfW runs on Windows 2000 and newer versions of Windows. Lua and its associated libraries are also available for other operating systems, so most scripts will be automatically cross-platform.

2017-06-21

SwitchHosts

SwitchHost! 这是一个用于快速切换 hosts 文件的小程序,基于 Python 和 wxPython 开发。 功能特性: •快速切换 hosts •跨平台(基于 wxPython) •hosts 文件语法高亮 •可为不同的 hosts 方案设置不同的图标 •切换 hosts 方案时浮出窗口提示 更新历史: •2011-12-14 允许输入超长的 hosts 方案。 •2011-10-09 发布 0.1.6 版,修复若干 bug,增加自动检查最新版本的功能。 •2011-09-29 发布 0.1.5 版,新增 hosts 内容语法高亮。 •2011-09-28 发布 0.1.4 版,新增“添加”、“删除”按钮;hosts 内容修改后自动保存;修改若干 bug。 •2011-09-19 发布 0.1.3 版,修复若干 bug。 •2011-09-15 发布 0.1.2 版,添加主面板,可以主面板上对 hosts 进行增加、删除、编辑、重命名等操作。 •2011-09-02 发布 0.1.0 版,完成基本功能。 不起作用的话,请运行管理员权限运行

2017-02-22

erlang19安装包

Erlang/OTP 19.1 is a service release containing mostly bug fixes, as well as a number of new features and characteristics improvements. Some highlights of the release are: erts: Improved dirty scheduler support. A purge of a module will not have to wait for completion of all ongoing dirty NIF calls. erts: Improved accuracy of timeouts on MacOS X. kernel: Add net_kernel:setopts/2 and net_kernel:getopts/2 to control options for distribution sockets in runtime. asn1: Compiling multiple ASN.1 modules in the same directory with parallel make (make -j) should now be safe. httpd: support for PUT and DELETE in mod_esi ~30 contributions since 19.0

2016-12-02

xml 格式化工具

xml 格式化工具,可以进行格式化优雅的显示形式.

2016-11-17

alibaba-otter

项目背景 阿里巴巴B2B公司,因为业务的特性,卖家主要集中在国内,买家主要集中在国外,所以衍生出了杭州和美国异地机房的需求,同时为了提升用户体验,整个机房的架构为双A,两边均可写,由此诞生了otter这样一个产品。 otter第一版本可追溯到04~05年,此次外部开源的版本为第4版,开发时间从2011年7月份一直持续到现在,目前阿里巴巴B2B内部的本地/异地机房的同步需求基本全上了otter。 目前同步规模: 同步数据量6亿 文件同步1.5TB(2000w张图片) 涉及200+个数据库实例之间的同步 80+台机器的集群规模 项目介绍 名称:otter ['ɒtə(r)] 译意: 水獭,数据搬运工 语言: 纯java开发 定位: 基于数据库增量日志解析,准实时同步到本机房或异地机房的mysql/oracle数据库. 一个分布式数据库同步系统

2016-09-30

protobuf3.0-windows

protobuf3.0,在windows下面的安装说明文档,以及proto.exe,以及如何编译成java的jar包得说明

2016-04-21

eclipse-jee-mars-2-win32-x86_64.zip 工具

eclipse-jee-mars-2-win32-x86_64.zip eclipse 火星版本

2016-04-08

svn 命令行安装包

svn 命令行安装包,直接直接通过 svn checkout svn://172.30.11.11/my_dev

2016-04-08

MongoVUE-1.6.9以及破解文件

将破解文件夹下的MongoVUE.exe覆盖安装目录下MongoVUE即可。

2016-04-06

12306订票助手.NET_10.5.1.0

12306订票助手.NET_10.5.1.0,抢票速度很快的,用过大家都知道

2016-02-01

NIO trick and trap

NIO trick and trap, 从io的产生,如何产生,分类,区别,应用。做了区分

2016-01-29

erlang 18-release

Some highlights of the release are: ssl: Add possibility to downgrade an SSL/TLS connection to a tcp connection, and give back the socket control to a user process. ssh: The following new key exchange algorithms are implemented:'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521','diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1' and 'diffie-hellman-group-exchange-sha256'. This raises the security level considerably. kernel,stdlib,sasl: A mechanism for limiting the amount of text that the built-in error logger events will produce has been introduced. It is useful for limiting both the size of log files and the CPU time used to produce them. This mechanism is experimental in the sense that it may be changed based on feedback. See config parameter error_logger_format_depth in the Kernel application.

2015-11-19

haproxy-1.5.12

haproxy,提供四层,七层负载均衡以及healthcheck心跳监测功能。 详细配置文件,都已经设置好了,里面还有ReadMe.txt里面有启动方式,还有监控页面。然后亲测可用。

2015-08-29

nginx虚拟主机

自己配置好的nginx虚拟主机配置。里面有基本配置和虚拟主机配置

2015-08-29

redis-2.6 windows版本

redis2.6 windows版本,提供redis主从和sentinel的自动无缝切换服务,以及,主从监控,以及failover

2015-08-23

深入理解Java7-技术与最佳实践

深入理解Java7-技术与最佳实践

2014-12-29

Sun JVM原理与内存管理

Sun JVM原理与内存管理

2014-12-29

[深入理解Java虚拟机:JVM高级特性与最佳实践(有书签)

[深入理解Java虚拟机:JVM高级特性与最佳实践(有书签) PDF有书签,可以翻阅

2014-12-20

redis-2.4.5-win32-win64.zip

redis-2.4.5-win32-win64.zip redis_2.6.12-win32-win64.zip 总共两个redis

2014-11-25

java.bug模式详解

java bug模式详解

2014-11-21

eclipse-jee-kepler-SR2-win32.zip

eclipse-jee-kepler-SR2-win32.zip

2014-11-17

Understanding_Java_Garbage_Collection_v3

Understanding_Java_Garbage_Collection_v3

2014-11-16

Java程序性能优化 让你的Java程序更快、更稳定

Java程序性能优化 让你的Java程序更快、更稳定

2014-11-16

设计模式:可复用面向对象软件的基础

设计模式:可复用面向对象软件的基础

2014-11-16

算法导论 第三版 中文

算法导论 第三版 中文 不是影印版本

2014-11-16

Subversion--WINDOW下面的SVN命令行

我们知道,在linux下面的svn客户端采用命令的方式管理与服务器端svn交互。有些朋友想在windows下也具有相同的功能,而不是TortoiseSVN的GUI管理方式。这样可以使用我们熟悉的svn命令。 在不用安装TortoiseSVN客户端的情况,大家可以再http://subversion.apache.org/packages.html#windows 找到windows下的svn客户端工具。选择Win32Svn 进行安装。 安装好后,bin目录下就是相应程序了。通过添加环境变量的方式,把bin目录添加到path。启动cmd,敲入 svn help 以确认是否安装成功。 好了,可以找到你的代码,做checkout了。在commit代码的过程中,经常会出现的一个问题是:svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found 这表示你的系统,没有指定svn客户端通过什么样的文本编辑器来写提交的注释。我们添加环境变量,SVN_EDITOR的值为notepad。再次svn ci 代码。notepad弹出了,写完注释保存。代码提交!

2014-08-08

python2.7.7和对应的Mysql驱动

python-2.7.7.msi MySQL-python-1.2.4b4.win32-py2.7.exe

2014-06-27

mybatis-generator-core-1.3.2-bundle.zip工具

mybatis 自动生成DAO,XML,javaBean工具。 mybatis-generator-core-1.3.2-bundle.zip

2014-06-08

mariadb-10.0.7-winx64.zip

MariaDB is free and open source software The MariaDB database server is published as free and open source software under the General Public License version 2. You can download and use it as much as you want free of charge. All use of the binaries from mariadb.org is at your own risk as stated in the GPLv2. While we do our best to make the world’s best database software, the MariaDB Foundation does not provide any guarantees and cannot be hold liable for any issues you may encounter.

2018-05-09

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

TA关注的人

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