Quantcast
Channel: CodeSection,代码区,数据库(综合) - CodeSec
Browsing all 6262 articles
Browse latest View live

What to Expect From Datameer in 2017

Back in 2009 when Datameer first hit the market, it was the early days of big data, before big data was the bandwagon every company tried to hitch their wagon to. It was the first data analytics...

View Article


Image may be NSFW.
Clik here to view.

50X Faster Than Redis, Open Source P2P Firebase

Ladies and Gentlemen. Thank you. We're getting even better numbers on other devices: Android phone, ~5M ops/sec . Macbook Air, Chrome, ~30M ops/sec . Macbook Pro, Chrome Canary, ~80M ops/sec . How did...

View Article


Image may be NSFW.
Clik here to view.

dubbo2.5-spring4-mybastis3.2-springmvc4-mongodb3.4-redis3.2整合(一)

Dubbo简介 DUBBO是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,是阿里巴巴SOA服务化治理方案的核心框架,每天为2,000+个服务提供3,000,000,000+次访问量支持,并被广泛应用于阿里巴巴集团的各成员站点。...

View Article

Image may be NSFW.
Clik here to view.

3 Ways Hortonworks Helps You Have More Time for the Holidays

As the hectic holiday season nears, we’re all looking for way to have a little more time for friends and family, to enjoy the season and perhaps slow down a little. But as many of us know, business...

View Article

Image may be NSFW.
Clik here to view.

Hbase WAL线程模型源码分析

Hbase的WAL机制是保证hbase使用lsm树存储模型把随机写转化成顺序写,并从内存read数据,从而提高大规模读写效率的关键一环。wal的多生产者单消费者的线程模型让wal的写入变得安全而高效。 在文章《 WAL在RegionServer调用过程...

View Article


MongoDB学习笔记六―查询下

查询内嵌文档 数据准备 > db.blog.find().pretty(){ "_id" : ObjectId("585694e4c5b0525a48a441b5"), "content" : "...", "comments" : [ { "comment" : "good post", "author" : "jim", "votes" : 15 }, { "comment" : "i...

View Article

Image may be NSFW.
Clik here to view.

The comparison graph part 2

In the last post I wrote about how a graph could be used to explore an important aspect of a data set of football matches, namely whom has played against whom. In this post I will present a more...

View Article

写作笔记之二:关于重写

最近这一个月, 我都在对 《Redis使用教程》 一书的书稿进行修正工作, 并对大量内容进行了重写。 写作中的重写和编程中的重构差不多, 都是为了提高内容的品质, 而在已有内容的基础上进行修正和改写。 对于技术图书的写作而言, 重写通常与经验以及技术升级有关, 本文接下来将分别对这两方面进行介绍。 因为经验累积而导致的重写 写作是一门非常需要经验的工艺, 作者在写作方面的功夫越深,...

View Article


Image may be NSFW.
Clik here to view.

Miles to go ... - Arun Gupta: AWS IoT Button, Lambda and Couchbase

Getting Started with Serverless FaaS and AWS Lambda showshow to use a simple Java functionto store a JSON document to Couchbase using AWS Lambda. This blog buildsupon that and shows how an AWS IoT...

View Article


Sqoop cheat sheet

Here we will discussall possible sqoop command line options to import and export data between HDFS and RDBMS, import/export delimiters, incremental load and sqoop job/merge operations. For practice, I...

View Article

Image may be NSFW.
Clik here to view.

RavenDB 4.0 Indexing Benchmark

I run into this post , which was pretty interesting to read. It compares a bunch of ways to index inside CouchDB, so I decided to see how RavenDB 4.0 compares. I wrote the following code to generate...

View Article

Redis源码剖析―数据库db

按照 Redis源码剖析 源码结构解析...

View Article

Image may be NSFW.
Clik here to view.

MongoDB 的好坏丑

文 | Darel Lasrado 译者 |luke ,苏州小浮云,lison 对刚刚接触 MongoDB 的人来说, MongoDB就是一个NoSQL类型的文档数据库. 文档中包含的键值对,构成了MongoDB的数据基本单位. 不过可以肯定的是MongoDB的确是当前最流行的NoSQL数据库. 它已被广泛接受并且适合各种各样的场合 (尽管不是所有项目都使用它)....

View Article


Redis学习笔记十五【使用Redis构建应用程序组件-任务队列】

本章节将学习如何使用Redis来构建任务队列,实现类似RabbitMQ之类的消息队列的功能。 先进先出队列...

View Article

Beansdb merge tools

Beansdb 是豆瓣开源出来的一个高效的支持 memcached 协议的文件存储 db。按 key 查找的时候,会有索引定位到磁盘位置。不过貌似前段时间看到说他们搞了一个新的替代这个,我找了一下没找到链接。 使用 beansdb 的时候,有 2 个问题需要解决 冗余问题 数据过期删除问题 数据冗余问题 先说第一个问题。beansdb 本身不提供分布式 hash...

View Article


Percona Live 2016: Running MongoRocks in Production

It’s been a long first day at Percona Live 2016, filled with awesome insight and exciting topics. I was able to get to one more lecture before calling quits. For the final talk I saw today I listened...

View Article

Image may be NSFW.
Clik here to view.

MongoDB 部分索引(Partial Indexes)

MongoDB部分索引只为那些在一个集合中,满足指定的筛选条件的文档创建索引。由于部分索引是一个集合文档的一个子集,因此部分索引具有较低的存储需求,并降低了索引创建和维护的性能成本。部分索引通过指定过滤条件来创建,可以为MongoDB支持的所有索引类型使用部分索引。 一、语法描述 创建部分索引语法 db.collection.createIndex(keys, options)...

View Article


Image may be NSFW.
Clik here to view.

MongoDB 稀疏(间隙)索引(Sparse Indexes)

稀疏索引(或者称间隙索引)就是只包含有索引字段的文档的条目,即使索引字段包含一个空值。也就是说间隙索引可以跳过那些索引键不存在的文档。因为他并非包含所有的文档,因此称为稀疏索引。与之相对的非稀疏索引或者说普通索引则包含所有的文档以及为那些不包含索引的字段存储null值。 一、间隙索引创建描述 稀疏索引(或者称间隙索引)就是只包含有索引字段的文档的条目,跳过索引键不存在的文档...

View Article

Image may be NSFW.
Clik here to view.

24/7 Spark Streaming on YARN in Production

At a large client in the German food retailing industry, we have been running Spark Streaming on YARN in production for close to a year now. Overall, Spark Streaming has proved to be a flexible, robust...

View Article

Image may be NSFW.
Clik here to view.

For God’s sake, secure your Mongo/Redis/etc

I was watching a lecture on computer security recently and came up to this website called shodan.io . Well apparently, I’m too late to the party, it is out there since 2009. Before finding Shodan, I...

View Article
Browsing all 6262 articles
Browse latest View live