跟我学Redis(12)―redis发布与订阅
发布与订阅(又称pub/sub)的特点是订阅者负责订阅频道(channel),发布者负责向频道发送二进制字符串消息。每当有消息被发送至频道时,频道的所有订阅者都会收到消息。我们也可以把频道看做是电台,其中订阅者可以同时收听多个电台,而发送者则可以在任何电台发送消息。 Redis提供发布与订阅命令。 publish 向给定频道发送消息 语法:publish channel message redis...
View Article跟我学Redis(17)―Redis单主机多实例
声明:Redis在windows和linux环境下类似。 之前介绍了Redis主从,以及Windows服务器上如何安装配置Redis。 本文主要介绍在Windows下如何配置单主机多实例,以及两个实例之间的主从配置! windows平台的Redis免安装程序,下载地址如下: 链接:http://pan.baidu.com/s/1hsdjVMW 密码:ze6z 其中包括了本文讲解的相关配置。 一,说明...
View ArticleClean-up woman: Part 1
If your enterprise is working with Hadoop, MongoDB or other nontraditional databases, then you need to evaluate your data strategy. A data strategy must adapt to current data trends based on business...
View ArticleGraph Databases for Beginners: Graph Theory & Predictive Modeling
ByJoy Chao, Novice Graphista | August 15, 2016 Graphs are everywhere, from illustrating the connections between Game of Thrones characters to tracking the interactions betweens hundreds of thousands...
View Article在选择数据库的路上,我们遇到过哪些坑?(1)
你会怎么选择数据库,是关系数据库、XML 数据库、资源描述框架(RDF),还是图形数据库?这篇演讲深入而生动地探讨了各种选择。本文系国内 ITOM 管理平台 OneAPM 编译呈现。 备注:在去年十月于旧金山举办的 GraphConnect 大会上,FactGem 公司首席技术官 Clark Richey 发表了这篇演讲,解释了他决定选择 Neo4j 数据的原因。 我是 FactGem...
View ArticleFeature: Replication
This is the seventh in a series of blog posts introducing the Apache CouchDB 2.0 release. Read partsone, two , three , four ,five, andsixin the series. Replication is one of the central features of...
View Article4 best open source databases you should consider using for your next project
A rotating card index image via Shutterstock Every database is suitable for certain projects and requirements but there is one question you should ask yourself: Will this database help me navigate...
View ArticleLevelDB 源码分析(三):相关文档
在 leveldb 源码目录的 doc 目录下有关于 leveldb 的一些文档,这篇文章是对 index.html 文件的翻译。 leveldb 库提供了一个持久化的 key-value 数据库。key 和 value 都是任意大小的字节数组。所有的 key 是根据用户指定的比较器有序的存储在 key-value 数据库中。 1. 打开数据库 每一个 leveldb...
View ArticleLevelDB 源码分析(一):简介
LevelDB 中一个核心的结构就是 LSM tree,所以这里先介绍下 LSM tree。 在 key-value store 中 Log-Structured Merge-Trees (LSM-trees) 应用得相当广泛。与其他的索引结构(如B-tree)相比,LSM-trees 的主要优点是能够维持顺序的写操作。在B树中小的更新会带来较多的随机写,为了提高性能,LSM-trees...
View ArticleCompose Notes: MongoDB, MongoDB Classic and MongoDB 3.2.8
A quicker way to identify your MongoDB deployment and the latest update to MongoDB itself are detailed in this edition on Compose Notes, the small and important things which are happening on Compose....
View ArticleLevelDB 源码分析(二):主体结构
本文转载自: http://www.cnblogs.com/haippy/archive/2011/12/04/2276064.html。 对原文略有删减。 1. 整体架构 LevelDB 作为存储系统,数据记录的存储介质包括内存以及磁盘文件,当 LevelDB 运行了一段时间,此时我们给 LevelDB 进行透视拍照,会看到如下一番景象,这也就是 LevelDB 的结构图。 从图中可以看出,构成...
View ArticleNoSQL Databases: A Survey and Decision Guidance
NoSQL Databases: a Survey and Decision Guidance Together with our colleagues at the University of Hamburg, we ― that is Felix Gessert , Wolfram Wingerath , Steffen Friedrich and Norbert Ritter ―...
View Article分布式系统的事务处理经典问题及模型- mmcmmc
简介 数据服务的高可用是所有企业都想拥有的,但是要想 让数据有高可用性,就需要冗余数据写多份。写多份的问题会带来一致性的问题,而一致性的问题又会带来性能问题,这就会陷入一个无解的死循环! 这里所谓数据 一致性,就是当多个用户试图同时访问一个数据库时,如果它们的事务同时使用相同的数据,可能会发生以下四种情况:丢失更新、未确定的相关性、不一致的分析...
View ArticleThe Changing Role of the Modern Database Administrator
As enterprises increasingly implement NoSQL database technologies like Couchbase and Cassandra, and Hadoop database components like HBase and Hive, the responsibilities of maintaining and administering...
View ArticleObject storage with Cassandra and Pithos
In an industry where so many people want to change the world, it’s fair to say that low cost object storage has done just that. Building a business that requires flexible low-latency storage is now...
View ArticleExploring Microsoft Azure DocumentDB
In this blog post, I will provide an introduction to DocumentDB by showing you how to create a collection (a collection is a container that stores your data), and how to connect to your collection to...
View ArticleHortonworks DataFlow 2.0 focuses on enterprise readiness
Hortonworks Wednesday unveiled the latest version of its Hortonworks DataFlow (HDF) integrated system for dataflow management and streaming analytics. Together with Hortonworks Data Platform (HDP), HDF...
View ArticleCRUD operations in MongoDB
courtesy In this post, we’re going to see a few example of CRUD operation in MongoDB Restoring using mongorestore After making sure that mongod and mongo are running, go to the dump’s parent directory...
View ArticleCreate a Couchbase cluster using Kubernetes
Editor’s note: today’s guest post is by Arun Gupta, Vice President Developer Relations at Couchbase, showing how to setup a Couchbase cluster with Kubernetes. Couchbase Server is an open source,...
View ArticleNoSQL 数据库 Cloudant
Cloudant 简介 IBM Cloudant 是一种基于 json document 类型的非关系型(NoSQL)数据库,其具有在云端高效处理高负载、高并发读写的强大特性。从另一个角度来说,Cloudant 还是一个开源的、分布式的数据库,它基于 Apache 的 Couch DB 项目以及开源的 BigCouch 项目。比如将其应用于一个大型的数据量快速增长的 web 或 mobile...
View Article