HBase Thrift2 CPU过高问题分析
1.现象描述 外界连接 9090 端口均超时,但 telnet 端口总是成功。使用 top 命令观察,发现单个线程的 CPU 最高达 99.99% ,但并不总是 99.9% ,而是在波动。当迁走往该机器的流量后,能够访问成功,但仍然有超时,读超时比写超时多: #./hbase_stress--hbase=110.13.136.207:9090--test=2--timeout=10...
View ArticlePouchDB:浏览器端数据库
原文: PouchDB:The javascript Database that Syncs! 作者:ouchdb.com 翻译:赖信涛 责编:仲培艺 PouchDB是一个受 Apache CouchDB 启发的开源JavaScript数据库。可以完美运行在浏览器中。 PouchDB设计的初衷是,帮助Web开发者构建能在本地离线运行的App,一如在线时运行的一样。...
View ArticleRedis学习笔记六【Redis命令(三)】
命令 描述 SORT 根据给定的选项,对输入的列表、集合或者有序集合进行排序,返回结果 //构造测试数据 127.0.0.1:6379> rpush sort-input 23 15 110 7 (integer) 4 //根据数字大小对元素进行排序 127.0.0.1:6379> sort sort-input 1) "7" 2) "15" 3) "23" 4) "110"...
View ArticleA feedback app in minutes with Ionic and Cloudant
An Ionic feedback app using Cloudant NoSQL service on IBM Bluemix. An easy to configure mobile app for receiving feedback at Meetups, Events etc., Ionic is a complete open-source SDK for hybrid mobile...
View ArticleRedis设计思路学习与总结
宋增宽,腾讯工程师,16年毕业加入腾讯,从事海量服务后台设计与研发工作,现在负责QQ群后台等项目,喜欢研究技术,并思考技术演变,专注于高并发业务架构的设计与性能优化。 下半年利用空余时间研究和分析了部分Redis源码,本文从网络模型、数据结构和内存管理、持久化和多机协作四个角度对redis的设计思路进行了分析,若有不正确之处,希望各路大神指出。...
View ArticleMongoDB执行计划获取(db.collection.explain())
在RDBMS中,无论那种数据库,都提供了SQL剖析工具,用来解决SQL效率低下的问题。在MongoDB中,也有相应的策略来实现剖析。MongoDB提供了db.collection.explain()方法,...
View ArticleRedis学习笔记九【处理系统故障】
如果决定要将Redis用作应用程序唯一的数据存储手段的话,那么就必须确保Redis不会丢失任何数据。根提供了ACID保证的传统关系数据库不同,在使用Redis为后端构建应用程序的时候,我们需要多做一些工作才能保证数据的一致性。 验证快照文件和AOF文件...
View ArticleI am a certified Graphista
Sweden has many IT solutions to be proud of. I assume you are using/have used Spotify or Skype. Perhaps you are not aware but another “Swedish” product you might have been using is Neo4j ,a graph...
View ArticleRedis源码解析――内存管理
在 《Redis源码解析――源码工程结构》 一文中,我们介绍了Redis可能会根据环境或用户指定选择不同的内存管理库。在linux系统中,Redis默认使用jemalloc库。当然用户可以指定使用tcmalloc或者libc的原生内存管理库。本文介绍的内容是在这些库的基础上,Redis封装的功能。 (转载请指明出于breaksoftware的csdn博客) 统一函数名...
View ArticleFirst MongoDB replica-set Configuration for MySQL DBAs
In this blog post, we will work on the first replica-set configuration for mysql DBAs. We will map as many names as possible and compare how the databases work. Replica-sets are the most common MongoDB...
View ArticleUrban Airship是如何在美国大选日支持了25亿条通知的
本文翻译自: How Urban Airship Scaled To 2.5 Billion Notifications During The U.S. Election ,已获得原网站翻译许可。 这是Urban Airship发过来的一篇投稿内容,原作者包括:Adam Lowry、 Sean Moran、Mike Herrick、Lisa Orr、Todd Johnson、Christine...
View ArticleLog Buffer #496: A Carnival of the Vanities for DBAs
This Log Buffer Edition coversOracle, SQL Server andmysql. Oracle: Deploying Dropwizard application on Application ContainerCloud using Developer Cloud Service SQLcl custom Input prompt and...
View ArticleRewriting 30,000 lines of code in a friendly way
Wednesday, Dec 7th, 2016 Mixmax is a communications platform that brings email into the 21st century. We believe everything you do today on the web should be possible in any email. This blog post is...
View ArticlePercona Server for MongoDB 3.2.11-3.1 is now available
Percona announces the release of Percona Server for MongoDB 3.2.11-3.1 on December 7, 2016. Downloadthe latest version from thePercona web siteor the Percona Software Repositories . Percona Server for...
View ArticleGo Newsletter Issue #138
Featured Go's Real-Time GC in Theory and Practice tutorial How Go’s concurrent GC achieves low latencies in real-time systems, complete with an animated visualization of the algorithm involved. Will...
View ArticleELK部署详解
前言: 最近部署了ELK,遇到了不少的坑,而网络上又较少有比较完整且详细的文档, 因此将自己部署的过程记录总结下,开始使用的服务器配置如下: 主机:2 (elk1,elk2) 系统:CentOS7 配置:4核16G内存 网络:内网互通 ELK版本:elasticsearch-2.4.1 kibana-4.6.1 logstash-2.4.0 logstash-forwarder-0.4.0...
View ArticleHbase的WAL在RegionServer基本调用过程
Hbase是一个高可靠性、高性能、面向列、可伸缩的分布式存储系统,利用HBase技术可在廉价PC Server上搭建起大规模结构化存储集群。本文档用于说明hbase的wal简单原理以及从源码的角度分析一个“写”请求是如何到达wal,wal又会做哪些请求。...
View ArticleMongoDB基础命令笔记
一、创建数据库 use foobar 二、创建集合 db.persons.insert({name:"zhaomin",age:23}) 三、查找 db.persons.find() db.persons.findOne() 四、修改 db.persons.update({name:"zhaomin"},{$set:{age:18}}) #不会影响其他属性列 ,主键冲突会报错...
View ArticleGraph Databases in Drupal: A Neo4j Module with Rules Integration
By Kristof Van Tomme & Tamás Demeter-Haludka , Pronovix | December 7, 2016 [As community content, this post reflects the views and opinions of the particular author and does not necessarily...
View Article