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

Image may be NSFW.
Clik here to view.

Graphql server with node and couchbase, ottoman and spatial view - The...

Jose Navarro is a full stack developer at FAMOCO in Brussels, Belgium. He has been working for the last 3 years as a web developer with Node.js, Java, AngularJS, and ReactJS, and has deep interest in...

View Article


redis详解(三)-- 面试题

1. 使用 Redis 有哪些好处? (1) 速度快,因为数据存在内存中,类似于HashMap,HashMap的优势就是查找和操作的时间复杂度都是O(1) (2) 支持丰富数据类型,支持string,list,set,sorted set,hash (3) 支持事务,操作都是原子性,所谓的原子性就是对数据的更改要么全部执行,要么全部不执行 (4)...

View Article


Image may be NSFW.
Clik here to view.

DIY 3D Slicer is a Dynamo

We all know that hacker that won’t use a regular compiler. If he’s not using assembly language, he uses a compiler he wrote. If you don’t know him, maybe it is you! If you really don’t know one, then...

View Article

CouchDB, PouchDB, and Ionic 2: An Introduction

Databases. The creatures that often live somewhere in the cloud and hoard all of the data for your application. Although they can be troublesome to work with, they allow you to turn your isolated...

View Article

Image may be NSFW.
Clik here to view.

Reflections on S3's architectural flaws

On 28th February 2017, Amazon Web Service’s S3 storage service experienced a period of unavailability. While we are awaiting a postmortem and explanation of root-cause, I thought I would share my...

View Article


Image may be NSFW.
Clik here to view.

Another MongoDB Hack Leaks Two Million Recordings Of Kids

No surprises here, but there’s been another big MongoDB hack and from the looks of it, it’s been owned for quite some time. This time 2 million records from over 820,000 accounts have been leaked due...

View Article

Image may be NSFW.
Clik here to view.

Redis Pub/Sub under the hood

Do you want to code a chat app? Here you’ll see how to do it the hard way. I show how Redis Pub/Sub works in detail, all the way down to the bits and bytes! This is the first part of a series of deep...

View Article

关于ObjectId的问题总结

如果你想快速得到答案, ObjectId 到底是不是唯一的?经典答案: Yes & No 跟答案一样,每次听到这个答案的时候内心都是矛盾的。但是通常得到这个答案的时候也都有一段故事可讲。今天重点讲讲 ObjectId 那些事。 ObjectId 的构成 专业选手应该都学会先翻阅文档: ObjectId ObjectId = epoch时间 (4字节) + 机器标识(3字节) +...

View Article


5 Tips & Tricks for Fast Batched Updates of Graph Structures with Neo4j...

Michael Hunger, @mesirii When you’re writing a lot of data to the graph from your application or library, you want to be efficent. Inefficient Solutions These approaches are not very efficient: hard...

View Article


视频演讲: 携程 redis 多数据中心实践

概要 redis 在互联网公司得到了广泛的使用,携程线上业务有 2000 多组 redis 实例,每秒访问量 200 万左右(写入 10 万);更有很多业务直接将 redis 作为内存数据库使用。内存数据库的使用需求,对 redis 跨数据中心支持能力提出了强烈的需求,高并发的访问,对系统的性能提出了严峻的挑战,然而业界并没有针对 redis 多数据中心的完整可靠解决方案。基于此,携程研发了自己的...

View Article

Image may be NSFW.
Clik here to view.

Using Percona Toolkit pt-mongodb-query-digest

In this blog post, we’ll look at how to use the pt - mongodb - query - digest tool in Percona Toolkit 3.0. Percona’s pt - query - digest is one of our most popular Percona Toolkit mysql tools. It is...

View Article

Image may be NSFW.
Clik here to view.

学会“投机取巧”――Redis之父九条忠告,如何成为“一打十”的程序员

据维基百科记载:“ Redis 是一个使用ANSI C编写的开源、支持网络、基于内存、可选持久性的键值对存储数据库。根据 月度排行网站DB-Engines.com的数据 显示,Redis是最流行的键值对存储数据库。” Redis 之父 Salvatore Sanfilippo,一名意大利程序员,大家更习惯称呼他...

View Article

Redis 数据结构浅析

dict 字典(dict)是redis里最核心的数据结构,正如其全称Remote Dictionary Service所说,redis其实就是一个字典服务,字典以key、value的形式呈现给用户,key是简单的字符串,而value可以是各种数据结构,比如字符串(string)、链表(list)、集合(set)、排序集合(zset)、哈希表(hash)等。...

View Article


Image may be NSFW.
Clik here to view.

趣店集团「从0到1」的云上架构设计

本次阿里云云栖社区行业圆桌论坛上,趣店集团高级架构师徐章健与阿里云数据库产品经理王义成共同探讨了趣店集团上云实践之路,并且分享了趣店集团对于数据库层面的思考的实践和在基础架构设计上的经验,以及趣店对于消费金融风控的思索和探索。 前言 首先,简单介绍了趣店集团的基本业务情况,趣店集团是2014年3月份成立的,前身是趣分期,在2016年趣分期正式升级为趣店集团。...

View Article

Image may be NSFW.
Clik here to view.

How to make money handling data that’s overwhelming everyone else

The AAPicks team writes about things we think you’ll like, and we may see a share of revenue from any purchases made through affiliate links. We see a lot of online courses that promise to help you...

View Article


Image may be NSFW.
Clik here to view.

如何自己动手写一个监控系统?

1)报警配置信息的录入 这部分比较简单,就是一个简单的管理系统 架构如下所示: 配置信息具体要存什么,看你自己需要,每个人有自己的想法 我之前的思路是: (0)定义本配置所属的服务,比如web服务,rpc服务,cache缓存服务,mq服务,sql服务。 (1)定义一个采样次数的总数,比如10次采样样本为一次计算单位。...

View Article

Image may be NSFW.
Clik here to view.

Zeppelin + Cassandra组合第一步:解决Guava冲突

Zepplin 前段时间发布了0.7.0新版本, 在尝鲜的同时, 也在尝试将Zeppelin + Cassandra组合起来使用。 根据官方文档, Cassandra Interpreter 还是做了不少事情的, 说不定比windows版本自带的DevCenter更加好用。 但是在使用之前, 首先得解决Guava冲突的问题。 因为尝试了很多,具体哪一步起作用也不记得了, 下面三部最好都做:...

View Article


Service Fabric KeyValueStoreReplica (2)

TL;DR Inthe previous post we started the top bottom journey into the Service Fabric actor model. The very last step was encountering KeyValueStoreReplica that provides persistence capabilities for...

View Article

elasticsearch5.2.1安装head步骤 elasticsearch开发 elasticsearch 编程开发

elasticsearch5.2.1安装head步骤:1. 下载elasticsearch-head 下载地址:https://github.com/mobz/elasticsearch-head。 2. 解压 unzip elasticsearch-head-master.zip 3. 安装需要node 如没有需要下载安装 下载地址...

View Article

Image may be NSFW.
Clik here to view.

利用ELK处理Percona审计日志 ELK Percona审计日志 编程开发

利用ELK处理Percona审计日志:Percona Server为 mysql 数据库服务器进行了改进,在功能和性能上较 MySQL 有着很显著的提升。该版本提升了在高负载情况下的 InnoDB 的性能、为 DBA 提供一些非常有用的性能诊断工具;另外有更多的参数和命令来控制服务器行为。1、有强烈的审计需求。2、能允许10%-15%左右的性能损失。...

View Article
Browsing all 6262 articles
Browse latest View live