- 博客(7)
- 资源 (15)
- 收藏
- 关注
原创 mybatis 代码生成工具支持oracle mysql 分页
编写分页插件即可 mysqlpackage org.mybatis.generator.plugins;import java.util.List;import org.mybatis.generator.api.CommentGenerator;import org.mybatis.generator.api.IntrospectedTable;import org.mybatis.gen
2017-04-24 17:17:13 1362
原创 CentOS hbase put 报错
执行插入put 'mytable','first','cf:message','hello'意外报错,2017-04-14 06:36:36,102 WARN [main] net.DNS: Unable to determine address of the host-falling back to "localhost" addressjava.net.UnknownHostExceptio
2017-04-14 14:57:04 776
转载 Memcached Redis 对比
1.性能上: 性能上都很出色,具体到细节,由于Redis只使用单核,而Memcached可以使用多核,所以平均每一个核上Redis在存储小数据时比 Memcached性能更高。而在100k以上的数据中,Memcached性能要高于Redis,虽然Redis最近也在存储大数据的性能上进行优化,但是比起 Memcached,还是稍有逊色。2.内存空间和数据量大小: MemCac
2017-04-10 14:58:23 415
转载 Transaction 那点事儿
<!-- 摘要 --> <!-- 正文 --> <div class="blog-body" id="blogBody"> <val data-name="blog_content_type" data-value="richtext"></val>
2017-04-06 10:59:25 331
转载 nginx负载均衡策略
1、轮询(默认)每个web请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。 upstream nginxDemo { server 127.0.0.1:8081; server 127.0.0.1:8082; }2、最少链接web请求会被转发到连接数最少的服务器上。 upstream nginxDemo {
2017-04-06 09:53:20 711
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人