针对本地开发(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

国内mac上安装brewhome时经常遇到各种问题,例如:

mac安装 homeBrew时报错,显示:curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 

Read More