上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 188 下一页
摘要: The following example creates a single key descending index on the name field: db.collection.createIndex( { name: -1 } ) db.collection.createIndex( { 阅读全文
posted @ 2018-11-26 09:14 papering 阅读(243) 评论(0) 推荐(0)
摘要: 去游标 mongo 游标机制: 在遍历全表、集合的情况下,当表、集合本身在增量时,游 刚开始是一致的,后续,就有效增量为0 1094295 / 1300000 {'_id': ObjectId('5b03c2a99341f521755dd7c1')}start:2018-11-23 17:16:03 阅读全文
posted @ 2018-11-23 17:02 papering 阅读(190) 评论(0) 推荐(0)
摘要: repl_test:PRIMARY> show dbs admin 0.000GB direct_vote_resource 16.487GB local 14.860GB personas 30.809GB recommendation 0.370GB statistics_vis... 阅读全文
posted @ 2018-11-23 15:30 papering 阅读(1517) 评论(0) 推荐(0)
摘要: [root@d ~]# htop -hhtop 2.2.0 - (C) 2004-2018 Hisham MuhammadReleased under the GNU GPL. -C --no-color Use a monochrome color scheme-d --delay=DELAY S 阅读全文
posted @ 2018-11-23 12:04 papering 阅读(499) 评论(0) 推荐(0)
摘要: 京东京麦交易平台设计与实现 - CSDN研发技术 - CSDN博客 https://blog.csdn.net/dev_csdn/article/details/78981674 2018年01月05日 15:14:27 CSDN研发技术 阅读数:5113 标签: 京麦架构高可用交易支付 更多 个人 阅读全文
posted @ 2018-11-23 11:21 papering 阅读(650) 评论(0) 推荐(0)
摘要: 动态发布接口-贾小仙-51CTO博客 http://blog.51cto.com/hackerxian/2170593 2018-09-05 12:39:43 动态发布接口 HTTP接口分为REST和SOAP2种方式,文中都涉及到,包含从动态生成文件到编译class再到装载到spring容器和ws. 阅读全文
posted @ 2018-11-23 11:11 papering 阅读(506) 评论(0) 推荐(0)
摘要: 高频访问IP限制 --Openresty(nginx + lua) [反爬虫之旅] - Silbert Monaphia - CSDN博客 https://blog.csdn.net/qq_29245097/article/details/77461719 我不准备在web应用中做ip的统计和查封, 阅读全文
posted @ 2018-11-23 09:09 papering 阅读(815) 评论(0) 推荐(0)
摘要: C/C++和Lua是如何进行通信的? http://www.luachina.cn/?post=38 2015-12-28 为了实现Lua和其他语言之间的通信,Lua虚拟机为C/C++提供了两个特性: 一,Lua_State状态机 lua_State主要是管理一个lua虚拟机的执行环境, 一个lua 阅读全文
posted @ 2018-11-23 08:59 papering 阅读(561) 评论(0) 推荐(0)
摘要: Contributing Changes http://nginx.org/en/docs/contributing_changes.html Mercurial is used to store source code. The repository can be cloned with the 阅读全文
posted @ 2018-11-23 08:39 papering 阅读(218) 评论(0) 推荐(0)
摘要: go协程之间的执行顺序以及和主协程的执行顺序_藓类少女的博客-CSDN博客_go协程执行顺序 https://blog.csdn.net/a13545564067/article/details/115065658 在控制Go程数量、任务数量最大值的情况下,使动态数量的任务并发执行 6 8 15 4 阅读全文
posted @ 2018-11-22 14:44 papering 阅读(909) 评论(0) 推荐(0)
摘要: 1.4.2 Sun HotSpot VM_深入理解Java虚拟机:JVM高级特性与最佳实践(第2版)_红黑联盟读书频道 http://book.2cto.com/201306/25434.html 提起HotSpot VM,相信所有Java程序员都知道,它是Sun JDK和OpenJDK中所带的虚拟 阅读全文
posted @ 2018-11-22 14:01 papering 阅读(230) 评论(0) 推荐(0)
摘要: # 释放内存filter_res_q_l = filter_res_q_l[-2048:]filter_res_a_l = filter_res_a_l[-2048:] 阅读全文
posted @ 2018-11-22 12:18 papering 阅读(177) 评论(0) 推荐(0)
摘要: repl_test:PRIMARY> show dbsadmin 0.000GBdirect_vote_resource 16.474GBlocal 14.860GBpersonas 30.771GBrecommendation 0.370GBstatistics_visit 0.137GBsupe 阅读全文
posted @ 2018-11-22 11:52 papering 阅读(273) 评论(0) 推荐(0)
摘要: def strIntersection(s0, s1, margin=0.2): set0, set1 = set([i for i in s0]), set([i for i in s1]) I = set0 & set1 return len(I) / len(set0) >= margin or len(I) / len(set1) >= margindef diffS... 阅读全文
posted @ 2018-11-22 09:08 papering 阅读(309) 评论(0) 推荐(0)
摘要: 拥塞控制 流量控制 阅读全文
posted @ 2018-11-21 20:30 papering 阅读(134) 评论(0) 推荐(0)
摘要: 自己开发Thinkpad电源管理程序 - 知乎 https://zhuanlan.zhihu.com/p/20706403 阅读全文
posted @ 2018-11-21 14:10 papering 阅读(309) 评论(0) 推荐(0)
摘要: Golang开发支持平滑升级(优雅重启)的HTTP服务 - tabalt的博客 http://tabalt.net/blog/graceful-http-server-for-golang/ https://github.com/tabalt/gracehttp Golang开发支持平滑升级(优雅重 阅读全文
posted @ 2018-11-21 14:04 papering 阅读(672) 评论(0) 推荐(0)
摘要: socks5_百度百科 https://baike.baidu.com/item/socks5/8915011?fr=aladdin 如果您的机器具有一个合法的 Internet IP 地址, 或者您利用自己机器上的调制解调器拨号上网, 可以自由和 Internet 上任何主机沟通, 那么您通常不必 阅读全文
posted @ 2018-11-21 11:58 papering 阅读(252) 评论(0) 推荐(0)
摘要: API网关的开源解决方案那么多,为什么我们却还要选择自研? - SDK.CN - 中国领先的开发者服务平台 https://sdk.cn/news/8001 技术细节Microservice+SOA状态维持在web层(spring session+redis)每层都可以Cache(spring ca 阅读全文
posted @ 2018-11-21 11:43 papering 阅读(148) 评论(0) 推荐(0)
摘要: Graphite http://graphiteapp.org/ Graphite is an enterprise-ready monitoring tool that runs equally well on cheap hardware or Cloud infrastructure. Tea 阅读全文
posted @ 2018-11-21 11:22 papering 阅读(214) 评论(0) 推荐(0)
摘要: https://www.alibabacloud.com/blog/detailed-explanation-of-guava-ratelimiters-throttling-mechanism_594820 限流算法实践 https://mp.weixin.qq.com/s/2f5-2bydqbe 阅读全文
posted @ 2018-11-21 11:07 papering 阅读(573) 评论(0) 推荐(0)
摘要: 硅谷Spring项目组专家教你利用Spring Cloud构建微服务 https://dbaplus.cn/news-21-506-1.html 阅读全文
posted @ 2018-11-21 10:32 papering 阅读(225) 评论(0) 推荐(0)
摘要: 不按照预期响应请求 nginx.conf中worker_connections 与ulimt -n 配置的冲突 阅读全文
posted @ 2018-11-21 09:17 papering 阅读(1285) 评论(0) 推荐(0)
摘要: Socket (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/java/net/Socket.html#sendUrgentData(int) sendUrgentData Send one byte of urgent 阅读全文
posted @ 2018-11-20 21:31 papering 阅读(480) 评论(0) 推荐(0)
摘要: 6.5 — Variable shadowing (name hiding) | Learn C++ https://www.learncpp.com/cpp-tutorial/variable-shadowing-name-hiding/ Go的50度灰:Golang新开发者要注意的陷阱和常见错误 阅读全文
posted @ 2018-11-20 18:56 papering 阅读(468) 评论(0) 推荐(0)
摘要: user nginx; worker_processes 8; # = cpu num; error_log /data/nginx/log/error/error.log warn; # warn, error crit, alert, and emerg levels are logged. NGINX Docs | Configuring Logging https://do... 阅读全文
posted @ 2018-11-20 15:54 papering 阅读(918) 评论(0) 推荐(0)
摘要: js >netty >flume 阅读全文
posted @ 2018-11-20 12:05 papering 阅读(530) 评论(0) 推荐(0)
摘要: [root@d java]# netstat -tulpnActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 阅读全文
posted @ 2018-11-20 11:15 papering 阅读(677) 评论(0) 推荐(0)
摘要: 当前文件的行号 阅读全文
posted @ 2018-11-19 20:00 papering 阅读(811) 评论(0) 推荐(0)
摘要: Delete API | Elasticsearch Reference [6.5] | Elastic https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html 阅读全文
posted @ 2018-11-19 15:44 papering 阅读(157) 评论(0) 推荐(0)
摘要: PacificA: Replication in Log-Based Distributed Storage Systems - Microsoft Research https://www.microsoft.com/en-us/research/publication/pacifica-repl 阅读全文
posted @ 2018-11-19 14:25 papering 阅读(404) 评论(0) 推荐(0)
摘要: BSON Types — MongoDB Manual https://docs.mongodb.com/manual/reference/bson-types/#objectid ObjectId ObjectIds are small, likely unique, fast to genera 阅读全文
posted @ 2018-11-19 11:04 papering 阅读(448) 评论(0) 推荐(0)
摘要: 大文本 mysql es mysql id longText > es longText mysqlId 大文本先入mysql,再同步至es; 文本查询逻辑交由es实现; mysql作用:生成Id,备份; 拿mysqlId取mysql大文本; 阅读全文
posted @ 2018-11-19 10:25 papering 阅读(206) 评论(0) 推荐(0)
摘要: 【旧的场景】1、x.a.com指向负载均衡服务器ipL;2、代码所在的应用服务器ipA,ipB,ipC,运行nginx-phpFPM服务,提供2个服务; 2.1、应用服务器ipA,ipB,ipC中web服务: webPage-URL: http://x.a.com/m-phpPage/c/v; 2. 阅读全文
posted @ 2018-11-17 17:17 papering 阅读(324) 评论(0) 推荐(0)
摘要: NGINX Docs | Configuring Logging https://docs.nginx.com/nginx/admin-guide/monitoring/logging/【 在上层设置error_log目录,底层设置覆盖高层设置; 】 动手 error_log /data/nginx 阅读全文
posted @ 2018-11-17 16:09 papering 阅读(708) 评论(0) 推荐(0)
摘要: [root@a ~]# traceroute www.ijntv.cntraceroute to www.ijntv.cn (42.81.61.31), 30 hops max, 60 byte packets 1 * * * 2 * * * 3 11.220.30.77 (11.220.30.77 阅读全文
posted @ 2018-11-17 11:50 papering 阅读(2611) 评论(0) 推荐(0)
摘要: [root@a ~]# /usr/local/nginx/sbin/nginx -s reload;nginx: [alert] kill(18834, 1) failed (3: No such process) root 15808 0.0 0.0 51288 1488 ? Ss Oct22 0 阅读全文
posted @ 2018-11-17 11:26 papering 阅读(1445) 评论(0) 推荐(0)
摘要: NGINX Docs | NGINX Reverse Proxy https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/ NGINX Reverse Proxy This article describes the bas 阅读全文
posted @ 2018-11-17 10:38 papering 阅读(3232) 评论(0) 推荐(0)
摘要: Using nginx as HTTP load balancer Using nginx as HTTP load balancer http://nginx.org/en/docs/http/load_balancing.html Using nginx as HTTP load balance 阅读全文
posted @ 2018-11-17 10:31 papering 阅读(1109) 评论(0) 推荐(0)
摘要: nginx平台初探(100%) — Nginx开发从入门到精通 http://tengine.taobao.org/book/chapter_02.html#id6 nginx的模块化体系结构¶ nginx的内部结构是由核心部分和一系列的功能模块所组成。这样划分是为了使得每个模块的功能相对简单,便于 阅读全文
posted @ 2018-11-16 17:41 papering 阅读(848) 评论(0) 推荐(0)
上一页 1 ··· 95 96 97 98 99 100 101 102 103 ··· 188 下一页