针对本地开发(local development)及测试(testing),我们可以在主机上以单机模式运行Pulsar。单机模式(standalone mode)包括Pulsar broker,必要的Zookeeper以及BookKeeper组件,并运行在同一个JVM进程中。

Read More

MongoDB CRUD操作即创建(create)、读取(read)、更新(update)、删除(delete) documents。本文我们介绍一下这些操作,在此做个记录,以便后续查阅。

Read More

如下是MongoDB官网对自身的介绍:

MongoDB was founded in 2007 by Dwight Merriman, Eliot Horowitz and Kevin Ryan – the team behind DoubleClick.

At the Internet advertising company DoubleClick (now owned by Google), the team developed and used many custom data stores to work around the shortcomings of existing databases. The business served 400,000 ads per second, but often struggled with both scalability and agility. Frustrated, the team was inspired to create a database that tackled the challenges it faced at DoubleClick.

This was when MongoDB was born.

Read More

Linux中有一个让很多初学者都特别清除的概念,叫做“根文件系统”。我接触Linux前前后后也好几年了,但是对这个问题,至今也不是特别清楚,至少没法给出一个很全面很到位的解释。于是,今天我们就来理一理这个话题。

Read More

LevelDB是一个可持久化的KV数据库引擎,由Google传奇工程师Jeff Dean和Sanjay Ghemawat开发并开源。无论从设计还是代码上都可以用精致来形容,非常值得细细品味。本文将从整体架构、数据读写等方面介绍一下LevelDB。

Read More

LevelDB是一个可持久化的快速(fast) KV存储引擎,实现了string keys到string values的有序映射(ordered mapping),是由Google传奇工程师Jeff DeanSanjay Ghemawat开发并开源。

Read More