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

Caching ― CQK Top 10

This article is a part ofCQK Top 10 series. Many developers add cache to their application without measuring performance its impact. We are advising here that each application cache should have a very...

View Article


Image may be NSFW.
Clik here to view.

CouchDB 2.0 adds clustering and an easier query language

Nearly two years after its initial availability as a developer preview, version 2.0 of the Apache Software Foundation's NoSQL database solution CouchDB is finally out . Many of the major features...

View Article


Image may be NSFW.
Clik here to view.

Talking ScyllaDB with CTO Avi Kivity

We recently sat down with CTO of ScyllaDB, Avi Kivity, to talk about Scylla, its roots, how it approaches being Cassandra compatible, and where Scylla is going from here. Dj Walker-Morgan: Hi Avi, as...

View Article

How New York City startup Concord plans to shake up real-time event processing

The best event meetups have an element of unpredictability. Such was the case when I ran into Shinji Kim , the co-founder of Concord , a New York City “real-time event processor” startup with plenty...

View Article

Adding compression codec to Hortonworks data platform

by robin Published September 20, 2016 Updated September 20, 2016 Lately I tried installing xz/lzma codec on my local VM setup. The compression ratios are pretty awesome. Won’t do a benchmark here, try...

View Article


Image may be NSFW.
Clik here to view.

漏洞组合拳 - 攻击分布式节点

分布式系统大都需要依赖于 消息队列中间件 来解决异步处理、应用耦合等问题, 消息队列中间件 的选择又依赖于整体系统的设计和实现,消息的 封装 、 传递 、 处理 贯穿了整个系统,如果在某一个关键处理逻辑点上出现了安全问题,那么整个分布式节点都有可能受到破坏。 流行的开发语言几乎都存在序列化处理不当导致的命令执行问题,如 python 里类的魔术方法 __reduce__() 会在 pickle...

View Article

Image may be NSFW.
Clik here to view.

使用Redis存储Nginx+Tomcat负载均衡集群的Session

环境:Cent OS 7.0(虚拟机环境)、Nginx 1.9.8、Redis 3.2.1 一、背景 在使用Nginx+Tomcat实现负载均衡的时候,由于Nginx对不同的请求分发到某一个Tomcat,Tomcat在运行的时候分别是不同的容器里,因为会出现session不同步或者丢失的问题。 二、Nginx安装与配置 1、Nginx安装网上的资源对于安装Nginx的介绍比较多,例如最简单的为:...

View Article

Image may be NSFW.
Clik here to view.

Reflections as a Hortonworker, One Year Later

My life as part of a high performance team Last week we released Hortonworks DataFlow HDF 2.0 . It was a great 1 year anniversary present for me a new release of the product I’ve been supporting since...

View Article


Image may be NSFW.
Clik here to view.

MongoDB sharding迁移那些事(一)

如果不了解 MongoDB Sharded Cluster 原理,请先阅读 MongoDB Sharded cluster架构原理 关于MongoDB Sharding,你应该知道的 关于 sharding 迁移,会分3个部分来介绍,本文为第一部分 负载均衡及迁移策略 chunk 迁移流程 Balancer 运维管理 为什么要进行 chunk 迁移? MongoDB sharding...

View Article


Image may be NSFW.
Clik here to view.

Apache CouchDB 2.0 is Here

This week, the Apache Software Foundation announced the long-awaited release of Apache CouchDB 2.0, which brings vastly improved scalability, as well as performance and UI enhancements, to the open...

View Article

Image may be NSFW.
Clik here to view.

Email uniqueness as an aggregate invariant

Aggregates carry out many important functions. One of them is maintaining consistency boundaries. In this post, I write about the requirement of global email uniqueness and how it is related to...

View Article

Image may be NSFW.
Clik here to view.

How we’re building a system to scale for billions of requests per day

Background: Snapdeal Acquired Reduce Data A Silicon Valley Company in September 2015. Asif Ali, currently Associate Vice President @ Snapdeal and formerly the founder of Reduce Data shares how they...

View Article

记一次使用 redis 协议诡异的bug

记录昨天定位一个诡异 bug 的过程,我耗费了不少精力,你若有兴趣,请带着一点耐心看完它。 我们使用 go-redis-server 开发具有 redis 协议的服务。 按照文档,我们实现了如下接口,其背后访问的是 AWS 的 Dynamodb,我们的服务也开发了监控接口,以供我们这些程序狗知道它发生了什么。 func (handler *RedisHandler) Get(key string)...

View Article


Image may be NSFW.
Clik here to view.

漏洞组合拳 攻击分布式节点

分布式系统大都需要依赖于 消息队列中间件 来解决异步处理、应用耦合等问题, 消息队列中间件 的选择又依赖于整体系统的设计和实现,消息的 封装 、 传递 、 处理 贯穿了整个系统,如果在某一个关键处理逻辑点上出现了安全问题,那么整个分布式节点都有可能受到破坏。 流行的开发语言几乎都存在序列化处理不当导致的命令执行问题,如 python 里类的魔术方法 __reduce__() 会在 pickle...

View Article

Image may be NSFW.
Clik here to view.

RavenDB Retrospective: Unbounded result sets

We spent some time recently looking into a lot of our old design decisions. Some of them make very little sense today (json vs. blittalbe as a good example), but made perfect sense at the time, and...

View Article


Image may be NSFW.
Clik here to view.

Java中使用Jedis操作redis

package com.test;import java.util.HashMap;import java.util.Iterator;import java.util.List;import java.util.Map;import org.junit.Before;import org.junit.Test;import redis.clients.jedis.Jedis;public...

View Article

Image may be NSFW.
Clik here to view.

Powering social feeds and timelines with Elasticsearch

Evolving from MongoDB and Redis to Elasticsearch, Campus Discounts' founder and CTO Don Omondi talks about how and why the company made the switch to power their user recommendation feeds. Campus...

View Article


Getting Started with DSE Graph & My Favorite Lessons Learned

The 2016 Cassandra Summit was a fantastic event. Friends, new connections, learning, technical discussion everywhere just fantastic! One question that was raised several times throughout the event was...

View Article

Image may be NSFW.
Clik here to view.

When to Choose SQL and When to Choose NoSQL

Some people make architecture decisions purely based on the loudest consultant: @xeraa @lukaseder no, we base all our important architectural decisions on # of tweets. It's a Twitter Oriented...

View Article

Image may be NSFW.
Clik here to view.

Percona Live Europe featured talk with John De Goes ― MongoDB Analytics &...

Welcome to another Percona Live Europe featured talk with Percona Live Europe 2016: Amsterdam speakers! In this series of blogs, we’ll highlight some of the speakersthat will beat this year’s...

View Article
Browsing all 6262 articles
Browse latest View live