上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 273 下一页
摘要: 现实中很多数据都是用图来表达的,比如社交网络中人与人的关系、地图数据、或是基因信息等等。RDBMS并不适合表达这类数据,而且由于海量数据的存在,让其显得捉襟见肘。NoSQL数据库的兴起,很好地解决了海量数据的存放问题,图数据库也是NoSQL的一个分支,相比于NoSQL中的其他分支,它很适合用来原生表 阅读全文
posted @ 2016-12-22 14:59 bonelee 阅读(36004) 评论(0) 推荐(3)
摘要: You are given two linked lists representing two non-negative numbers. The most significant digit comes first and each of their nodes contain a single 阅读全文
posted @ 2016-12-21 23:06 bonelee 阅读(421) 评论(0) 推荐(0)
摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: c 阅读全文
posted @ 2016-12-21 22:37 bonelee 阅读(267) 评论(0) 推荐(0)
摘要: 转自:http://www.cnblogs.com/haippy/archive/2011/12/04/2276064.html 有时间再好好看下整个文章! 说起LevelDb也许您不清楚,但是如果作为IT工程师,不知道下面两位大神级别的工程师,那您的领导估计会Hold不住了:Jeff Dean和S 阅读全文
posted @ 2016-12-21 17:38 bonelee 阅读(2868) 评论(0) 推荐(0)
摘要: 注意两个地方说法有出入,待实测! es可以根据磁盘使用情况来决定是否继续分配shard。默认设置是开启的,也可以通过api关闭:cluster.routing.allocation.disk.threshold_enabled: false 在开启的情况下,有两个重要的设置: cluster.rou 阅读全文
posted @ 2016-12-21 12:07 bonelee 阅读(6798) 评论(0) 推荐(0)
摘要: elasticsearch还有一个重要的参数bootstrap.mlockall,这个参数的目的是当你无法关闭系统的swap的时候,建议把这个参数设为true。防止在内存不够用的时候,elasticsearch的内存被交换至交换区,导致性能骤降。 mlock, munlock, mlockall, 阅读全文
posted @ 2016-12-21 11:36 bonelee 阅读(680) 评论(0) 推荐(0)
摘要: 转自:http://cjjwzs.iteye.com/blog/1059381 本文将从内存分页的原理,如何调整分页大小两节内容,向你阐述LargePage对JVM的性能有何提升作用,并在文末点明了大内分页的副作用。OK,让我们开始吧! 内存分页大小对性能的提升原理 首先,我们需要回顾一小部分计算机 阅读全文
posted @ 2016-12-21 11:25 bonelee 阅读(3862) 评论(0) 推荐(0)
摘要: Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. 阅读全文
posted @ 2016-12-21 09:21 bonelee 阅读(281) 评论(0) 推荐(0)
摘要: 这是《AngularJS》这本书里面提供的一个例子: JS代码: HTML代码: CSS代码: 运行效果如下: compile阶段进行标签解析和变换,link阶段进行数据绑定等操作! 在所有module都装载完毕在之后,compile(element)(scope);开始编译和链接整个dom树(其实 阅读全文
posted @ 2016-12-20 14:43 bonelee 阅读(280) 评论(0) 推荐(0)
摘要: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文
posted @ 2016-12-20 09:14 bonelee 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 273 下一页