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

Image may be NSFW.
Clik here to view.

#167: TimescaleDB, DynamoDB, Presto and Zeppelin

LinkedIn's Strategy for Migrating to Its Own Database ― LinkedIn’s strategy for migrating one of their internal services (Babylonia) from using Oracle to Espresso, LinkedIn’s own NoSQL database...

View Article


Image may be NSFW.
Clik here to view.

HBase―要弄懂sequenceId

为什么需要sequenceId? HBase数据在写入的时候首先追加写入HLog,再写入Memstore,也就是说一份数据会以两种不同的形式存在于两个地方。那两个地方的同一份数据需不需要一种机制将两者关联起来?有的朋友要问为什么需要关联这两者,那笔者这里提出三个相关问题: 1....

View Article


Redis学习路程(一)

Redis安装包下载路径https://github.com/MicrosoftArchive/redis/releases cmd到redis文件夹下 启动服务端 redis-server.exe redis.windows.conf 启动本地客户端 redis-cli 启动远程客户端 redis-cli.exe -h 127.0.0.1 -p 6379 -a password string...

View Article

Image may be NSFW.
Clik here to view.

【译】系统设计入门之面试题解答 ―― 设计一个网页爬虫

设计一个网页爬虫 注意:这个文档中的链接会直接指向 系统设计主题索引 中的有关部分,以避免重复的内容。你可以参考链接的相关内容,来了解其总的要点、方案的权衡取舍以及可选的替代方案。 第一步:简述用例与约束条件 把所有需要的东西聚集在一起,审视问题。不停的提问,以至于我们可以明确使用场景和约束。讨论假设。 我们将在没有面试官明确说明问题的情况下,自己定义一些用例以及限制条件。 用例...

View Article

MongoDB database entry's _id.generationTime has value "Invalid Date"

I have just installed MongoDB in my machine (windows 7) and installed node-mongodb-native using npm on cygwin. It appears to work fine and I am going through running all the examples. In the simple.js...

View Article


Image may be NSFW.
Clik here to view.

Finding Triplets with Neo4j

A user had an interesting Neo4j question on Stack Overflow the other day: I have two types of nodes in my graph. One type is Testplan and the other is Tag. Testplans are tagged to Tags. I want most...

View Article

Image may be NSFW.
Clik here to view.

Importing HIBP's pwned password list in to DynamoDB

Troy Hunt recently introduced HIBP Passwords , a freely downloadable list of over 300 million passwords that have been pwned in the various breaches the site records. There is an API to access the...

View Article

Image may be NSFW.
Clik here to view.

Machine Learning In IoT By Node.js

In this article, I will tell you how to use Scikit-learn with python scripts for IoT applications by using Node.js. First, to know more, you have to read my previous articles about IoT by Node.js....

View Article


MongoDB POJO Support

I’m really pleased to announce that version 3.5.0 of the MongoDB Java Driver has been released with POJO (Plain Old Java Object) support! Codecs MongoDB uses BSON , a binary super set of JSON, for its...

View Article


Model.find() returning null json object in mongoose (mongodb) on node

Here's the relevant code: app.get('/all', function(req,res) { Party.find({},[],function(p) { console.log(p); }); res.redirect('/'); }); should return all collections from the database - returns null in...

View Article

Configure a FreeBSD Email Server Using Postfix, Dovecot, MySQL, and SpamAssassin

Introduction In this tutorial, we are going to configure a mail server with virtual domains and users using Postfix, Dovecot, mysql and SpamAssassin, ClamAV (w/o Amavis), DKIM, DMARC, Dashboard,...

View Article

node-mongodb-native keep collection?

Right now I'm opening a collection on every request: ie: app.get('/route', function (req, res) { db.collection('user', function (err, collection) { collection.find(blah) // do something...

View Article

Image may be NSFW.
Clik here to view.

This Week in Neo4j 15 July 2017

Welcome to this week in Neo4j where we round up what’s been happening in the world of graph databases in the last 7 days. Featured Community Member: Jonathan Freeman This week’s featured community...

View Article


Image may be NSFW.
Clik here to view.

Versive and Cloudera Partner to Fill the Growing Cybersecurity Capability Gap

SEATTLE ( BUSINESS WIRE ) Versive, a leader in AI-powered cybersecurity, announced a strategic partnership with Cloudera , provider of the modern platform for machine learning and advanced analytics...

View Article

Read-replica support for Apache HBase on S3 and Apache Flink 1.3.0 in Amazon...

Additionally, you can now use new versions of Apache Flink (1.3.0) , Apache Zeppelin (0.7.2) , and Apache Phoenix (4.11.0) on Amazon EMR release 5.7.0. Flink 1.3.0 adds new features including...

View Article


Image may be NSFW.
Clik here to view.

Redis主从复制――Slave视角

为了提高性能和系统可用,Redis都会做主从复制,一来可以分担主库压力,二来在主库挂掉的时候从库依旧可以提供服务。Redis的主从复制是异步复制,返回结果给客户端和同步命令到从库是两回事,互不相干,主库也不关心从库的执行结果,对于同步命令执行的结果,从库会直接丢弃并不返回给主库。Redis的主从复制简单高效,但也不太算可靠。 Redis的主从复制是异步复制;全量同步(或增量同步)+命令传播...

View Article

Image may be NSFW.
Clik here to view.

Cypher: Write Fast and Furious

ByChristophe Willemsen, Principal Consultant, GraphAware | August 11, 2017 Editor’s Note: This presentation was given by Christophe Willemsen at GraphConnect San Francisco in October 2016....

View Article


A Cassandra Cluster using Vagrant and Ansible

I’ve started a new project to create a Cassandra Cluster for development purposes. It’s available on my github and uses Vagrant , Ansible , and VirtualBox . Assuming everything is installed it’s quite...

View Article

Redis数据库2

一.存储list 1.概述 list类型是按照插入顺序排序的字符串链表,可以在头部(left)和尾部(right)添加新的元素,如果不存在,则自动创建;如果list中所有元素被移除,则list也会消失; ArrayList:使用数组方式存储数据,有索引,所以查询快,增删慢(增删涉及到位移操作);...

View Article

Image may be NSFW.
Clik here to view.

Where's the bloody flare gun? Cast adrift on a swirling gyre of storage

Bobbing around the Sargasso Sea of storage news this week we see cast-off sandals, bits of plastic, seaweed... oh, what's that?! A lifeboat? No, just some Flash Memory Summit jetsam. Let's dive in and...

View Article
Browsing all 6262 articles
Browse latest View live