2017年7月19日

面试记录 总结 问题 .txt

摘要: 分布式事务高并发redis哨兵zk : zookeeperjoin hash(哈希连接): 大表连接查询 两张大表(百万记录行?) 将较小表t1读到内存 按照join字段c1 将表t1建立为字段c1的hash表hashTable1 之后扫描大表t2的每一行 对每一行的字段c1 到hashTable1 阅读全文

posted @ 2017-07-19 20:53 proooogram 阅读(111) 评论(0) 推荐(0) 编辑

2017年6月16日

java库笔记 java lib notes

摘要: . 以下有摘录自网上的,也有自己理解总结的,有时有标记,有时没有 Hamcrest:UI验证,数据过滤,单元测试 https://code.google.com/archive/p/hamcrest/wikis/Tutorial.wiki 所以Hamcrest的作用是 数据验证(自总结) The H 阅读全文

posted @ 2017-06-16 10:00 proooogram 阅读(217) 评论(0) 推荐(0) 编辑

2017年5月22日

hackerrank\Algorithms\Search\Pairs

摘要: 问题描述: https://www.hackerrank.com/challenges/pairs 基本思路描述: https://github.com/proooogram/research/tree/master/hackerrank/Algorithms/Search/Pairs 阅读全文

posted @ 2017-05-22 16:26 proooogram 阅读(305) 评论(0) 推荐(0) 编辑

2017年5月18日

连接池(理论上应该是任意连接池) 、spring方法切入、 mybatis 、 redis等待请求 用了mysql连接的方法阻塞超过8小时导致mysql关闭连接 应用复活后用了已关闭连接而异常

摘要: 服务进程中的服务方法blpop阻塞在redis队列下(等待请求), 使用方(客户代码)向该队列push请求以促使服务方法在阻塞的代码行继续运行下去。 服务方法使用了mybatis的SqlSessionTemplate, 在进入服务方法时spring为mybatis调用了连接池druid的getCon 阅读全文

posted @ 2017-05-18 09:46 proooogram 阅读(696) 评论(0) 推荐(0) 编辑

2017年4月28日

influxdb初次使用

摘要: influxdb用于时间相关的日志存储,为这个场景做了简化和优化。这是我目前初步的理解 influxdb 不能支持两字段string concat 数据库还叫数据库,表叫MEASUREMENT,行叫series, 索引叫tag,一张表的全部索引叫tags(索引集合),普通字段就叫field 不提供行 阅读全文

posted @ 2017-04-28 15:29 proooogram 阅读(554) 评论(0) 推荐(0) 编辑

influxdb安装配置

摘要: influxdb安装配置 os:centos 7 x64 1、安装:参见: https://www.influxdata.com/package-repository-for-linux/cat <<EOF | tee /etc/yum.repos.d/influxdb.repo[influxdb] 阅读全文

posted @ 2017-04-28 14:50 proooogram 阅读(316) 评论(0) 推荐(0) 编辑

2017年4月25日

mybatis mysql bigint signed , unsigned to java long , java.math.BitInteger

摘要: mybatis : mysql bigint signed to long mysql bigint unsigned to java.math.BitInteger see: http://blog.csdn.net/kfanning/article/details/6064652 阅读全文

posted @ 2017-04-25 10:17 proooogram 阅读(727) 评论(0) 推荐(0) 编辑

2017年4月22日

基于protobuf2.6序列化 反序列化

摘要: 代码: protobuf26_serialize_deserialize 序列化、反序列化工具类: 命令(常量)类: protobuf报文定义: 生成报文解析器命令: 阅读全文

posted @ 2017-04-22 19:53 proooogram 阅读(1661) 评论(0) 推荐(0) 编辑

2017年4月20日

因式分解假想:可因式分解的数用矩形变形来解

摘要: 仓库: factorization 阅读全文

posted @ 2017-04-20 23:27 proooogram 阅读(390) 评论(1) 推荐(0) 编辑

用图片的方式来看任意文件

摘要: 把一个文件当成图像显示出来, 每5个字节作为:x,y,rgb 转换代码和一些软件转换后的图片在: https://github.com/proooogram/research.git / images 貌似这些图片里有很多共性, 比如 在很多可执行文件 坐标 (100+*, 100+*) 总是会出现 阅读全文

posted @ 2017-04-20 07:39 proooogram 阅读(264) 评论(0) 推荐(0) 编辑

导航