摘要:
Go 每日一库之 wire - SegmentFault 思否 https://segmentfault.com/a/1190000021895220 这个InitMission()函数是不是和我们在main.go中编写的代码一毛一样!接下来,我们可以直接在main.go调用InitMission(
阅读全文
posted @ 2018-12-19 20:22
papering
阅读(455)
推荐(0)
摘要:
https://github.com/google/leveldb https://axlgrep.github.io/ LevelDB作为一个数据存储引擎,存储的数据大部分是在磁盘上的,而磁盘上数据的表现形式就是文件,也就是本章要介绍的SST文件,SSTable 是 Sorted String T
阅读全文
posted @ 2018-12-19 17:44
papering
阅读(563)
推荐(0)
摘要:
MySQL Bugs: #34354: Feature request: EXPLAIN ALTER TABLE https://bugs.mysql.com/bug.php?id=34354 [SQL]EXPLAIN ALTER TABLE `answer` MODIFY COLUMN `cont
阅读全文
posted @ 2018-12-19 17:01
papering
阅读(305)
推荐(0)
摘要:
EXPLAIN SELECT COUNT(1) FROM question; id select_type table partitions type possible_keys key key_len ref rows filtered Extra1 SIMPLE question index u
阅读全文
posted @ 2018-12-19 16:29
papering
阅读(348)
推荐(0)
摘要:
ALTER TABLE `question` MODIFY COLUMN `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '修改字符集为utf8mb4,兼容表情符' AFTER
阅读全文
posted @ 2018-12-19 16:26
papering
阅读(1198)
推荐(0)
摘要:
PHP: Thread-Safe Resource Manager - Manual http://php.net/manual/en/internals2.memory.tsrm.php PHP 进阶之路 - 揭开 PHP 线程安全的神秘面纱 - 周梦康 - SegmentFault 思否 htt
阅读全文
posted @ 2018-12-18 20:33
papering
阅读(289)
推荐(0)
摘要:
批提交mysql 单线程的批提交 nohup python fromRedisoToMysqlSingleThreadOneConnBatchInsert.py 100 10.24.192.192 > 100-Single.3434.nohup [QPS] 平均每秒SQL语句执行次数 [QPS] 平
阅读全文
posted @ 2018-12-18 16:32
papering
阅读(492)
推荐(0)
摘要:
Cursor Objects — PyMySQL 0.7.2 documentation https://pymysql.readthedocs.io/en/latest/modules/cursors.html#pymysql.cursors.Cursor.executemany executem
阅读全文
posted @ 2018-12-18 15:10
papering
阅读(1469)
推荐(0)
摘要:
field_q_insert = 'id, title, number, created,content'sql_q = 'INSERT INTO testquestion ({}) VALUES ({})'.format(field_q_insert,'{}')print(sql_q)print(sql_q.format('1212'))ddd=9
阅读全文
posted @ 2018-12-18 14:41
papering
阅读(237)
推荐(0)
摘要:
from ProjectUtil.usingModuleTOMODIFY import getNow from pymongo import MongoClient # mongo key host, username, password = '10.14.14.12', 'ain', 'ad' uri = "mongodb://%s:%s@%s" % (username, passwor...
阅读全文
posted @ 2018-12-18 09:59
papering
阅读(193)
推荐(0)
posted @ 2018-12-17 21:20
papering
阅读(224)
推荐(0)
摘要:
paper-CaiPan.pdf http://conferences.sigcomm.org/sigcomm/2005/paper-CaiPan.pdf
阅读全文
posted @ 2018-12-17 16:43
papering
阅读(197)
推荐(0)
摘要:
亿级别G级别文本数据去重 文件总行数 字节数 去重后行数 [root@d mongoexport]# wc -l superpub-ask-question.csv126530681 superpub-ask-question.csv[root@d mongoexport]# awk '!a[$0]
阅读全文
posted @ 2018-12-17 16:19
papering
阅读(778)
推荐(0)
摘要:
Java使用极小的内存完成对超大数据的去重计数,用于实时计算中统计UV – lxw的大数据田地 http://lxw1234.com/archives/2015/09/516.htm Java使用极小的内存完成对超大数据的去重计数,用于实时计算中统计UV 编程语言 lxw1234@qq.com 3年
阅读全文
posted @ 2018-12-17 15:49
papering
阅读(2660)
推荐(0)
摘要:
win7怎么快速查找大文件_百度经验 https://jingyan.baidu.com/article/acf728fd299ffff8e510a333.html
阅读全文
posted @ 2018-12-17 11:55
papering
阅读(328)
推荐(0)
摘要:
Rsapaper.pdf http://people.csail.mit.edu/rivest/Rsapaper.pdf 【概述Abstract 1、将字符串按照双方约定的规则转化为小于n的正整数m,可能分为多段,这不是关键; 2、加密过程同解密过程,都是取明/密文的public/private次方
阅读全文
posted @ 2018-12-17 11:11
papering
阅读(1102)
推荐(0)
posted @ 2018-12-15 22:46
papering
阅读(192)
推荐(0)
摘要:
Apache Tomcat 7 Configuration Reference (7.0.92) - The HTTP Connector https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementatio
阅读全文
posted @ 2018-12-15 12:55
papering
阅读(1007)
推荐(0)
摘要:
[root@f java]# tail -30 nohup.outsearchES-TimeMillisSpent:448P->1602@fT->http-nio-8080-exec-3t->池州小型柴油机移动泵哪家好kw->柴油机移动泵kws->柴油机移动泵,柴油机水泵机组,自吸柴油机泵searc
阅读全文
posted @ 2018-12-15 12:47
papering
阅读(3603)
推荐(0)
摘要:
java 获取当前进程id 线程id RuntimeMXBean (Java Platform SE 8 ) https://docs.oracle.com/javase/8/docs/api/java/lang/management/RuntimeMXBean.html
阅读全文
posted @ 2018-12-15 12:10
papering
阅读(3032)
推荐(0)
摘要:
Linux操作系统中打开文件数量的查看方法 - 心灵捕手 - 博客园 https://www.cnblogs.com/Dennis-mi/articles/6084581.html ulimit -n 4096 也就是限制用户的最大文件打开数为4096个 在网上查了关于怎么查看文件打开数的文章大致有
阅读全文
posted @ 2018-12-15 12:04
papering
阅读(16361)
推荐(0)
摘要:
[root@f ~]# cat /mnt/gateway/java/nohup.out -n | tail -30 1060236 at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) ~[na:1.8.0_144]1060237
阅读全文
posted @ 2018-12-15 11:44
papering
阅读(623)
推荐(0)
摘要:
import randoml = [2, 56, 6678, 88, 6, 43]num = 2sub = random.sample(l, 2)随机采样 算法
阅读全文
posted @ 2018-12-14 09:16
papering
阅读(163)
推荐(0)
摘要:
Spring Boot Building RESTful Web Services https://www.tutorialspoint.com/spring_boot/spring_boot_building_restful_web_services.htm Spring Boot provide
阅读全文
posted @ 2018-12-13 17:44
papering
阅读(348)
推荐(0)
摘要:
您好,python的请求es的http库是urllib3, 一个请求到贵司的es节点,想了解下,中间有哪些网关啊?冒昧推测,贵司的部分公共网关与python-urllib3的对接存在异常? 负载均衡(Server Load Balancer)
阅读全文
posted @ 2018-12-13 16:30
papering
阅读(303)
推荐(0)
摘要:
运行状态:锁定中(实例空间满自动锁)
阅读全文
posted @ 2018-12-13 15:29
papering
阅读(417)
推荐(0)
摘要:
。。。。。。不带http https : 不报错 先telnet http://onf:8080/getES653/道路桥梁正在“理疗”%20这14条道路纳入市政中修
阅读全文
posted @ 2018-12-13 15:07
papering
阅读(425)
推荐(0)
摘要:
0.0.0.0/24 0.0.0.0/0
阅读全文
posted @ 2018-12-13 13:56
papering
阅读(902)
推荐(0)
摘要:
https://help.maximumasp.com/KB/a445/connectivity-testing-with-ping-telnet-tracert-and-pathping-.aspx What are Traceroute, Ping, Telnet and Nslookup co
阅读全文
posted @ 2018-12-13 12:07
papering
阅读(224)
推荐(0)
摘要:
阿里云 es 重启 elasticsearch 重启 过程 实例变更中 53.13% 准备ECS资源 已完成节点数:4/4, 进度:100% 准备容器服务 进度:100% 变更节点(重启,扩节点,扩规格) 已完成节点数:0/4, 进度:12.5% 准备配置 进度:0% 数据节点规格:elastics
阅读全文
posted @ 2018-12-13 11:23
papering
阅读(436)
推荐(0)
摘要:
Elasticsearch Java Clients | Elastic https://www.elastic.co/blog/state-of-the-official-elasticsearch-java-clients The Elasticsearch Java High-Level Re
阅读全文
posted @ 2018-12-13 09:08
papering
阅读(157)
推荐(0)
摘要:
HanLP - 汉语言处理包 http://hanlp.linrunsoft.com/doc.html https://pypi.python.org/pypi/sumy/
阅读全文
posted @ 2018-12-12 18:49
papering
阅读(268)
推荐(0)
摘要:
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "search1212.py", line 182, in <module> pri
阅读全文
posted @ 2018-12-12 18:41
papering
阅读(1559)
推荐(0)
posted @ 2018-12-12 17:28
papering
阅读(311)
推荐(0)
摘要:
数学基础 p、q 均为质数e、d 为正整数,且满足两者的乘积除以p、q的欧拉数,即p、q各自减一后的乘积,余数为1求证:对于任意正整数,其e次方除以p、q的欧拉数后的d次方为自身。有四个正整数,p、q 、e、d ,其中前两个为素数,前两个均大于1,四者满足e*d=1mod(p-1)(q-1), 则对
阅读全文
posted @ 2018-12-12 15:31
papering
阅读(1162)
推荐(0)
摘要:
SpringBoot使用SpringSecurity搭建基于非对称加密的JWT及前后端分离的搭建 - lhc0512的博客 - CSDN博客 https://blog.csdn.net/lhc0512/article/details/80563160
阅读全文
posted @ 2018-12-12 15:22
papering
阅读(1416)
推荐(0)
摘要:
https://baike.baidu.com/item/非对称加密算法/1208652?fr=aladdin 主要算法 编辑 主要算法 RSA、Elgamal、背包算法、Rabin、D-H、ECC(椭圆曲线加密算法)。 使用最广泛的是RSA算法,Elgamal是另一种常用的非对称加密算法。 Elg
阅读全文
posted @ 2018-12-12 15:07
papering
阅读(597)
推荐(0)
posted @ 2018-12-12 14:51
papering
阅读(213)
推荐(0)
摘要:
Maximum number of partitions. MySQL :: MySQL 8.0 Reference Manual :: 23.6 Restrictions and Limitations on Partitioning https://dev.mysql.com/doc/refma
阅读全文
posted @ 2018-12-12 13:56
papering
阅读(431)
推荐(0)
摘要:
MySQL :: MySQL 8.0 Reference Manual :: 23.2.4.1 LINEAR HASH Partitioning https://dev.mysql.com/doc/refman/8.0/en/partitioning-linear-hash.html MySQL 8
阅读全文
posted @ 2018-12-12 12:00
papering
阅读(413)
推荐(0)