Today we are happy to announce the release of 2.4 which fully focuses on increasing availability and reducing downtime for production deepstream clusters. But that's not all: Mac fans can now install deepstream in a single line using brew.

Our release supports running deepstream as a daemon and registering itself as a service via init.d or systemd. With just four lines of code, you can now run install and run deepstream in production environments, using your preferred linux logging mechanism to gather and rotate logs. 2.4

Registering as a linux service

If you are running any linux distro, chances are you support either init.d (AWS/CentOS) or systemd (Ubuntu/debian). Using the new service installer makes downloading, installing and registering deepstream to run as a service as simple as:

# When using YUM
sudo wget -O /etc/yum.repos.d/bintray-deepstreamio-rpm.repo
sudo yum install -y
# Install as a init.d service
sudo deepstream service add
# Start the service
sudo deepstream service start

And that's it! You now have a service running locally that can provide realtime goodness out of the box! To view all of the CLI options look here and checkout the tutorial for more info!

Running a daemon

For those running servers on windows or mac, you can still run the daemon to monitor and auto-restart deepstream if necessary, while still supporting all the normal start options:

deepstream daemon --help

Usage: daemon [options]

start a daemon for deepstream server


  -h, --help                 output usage information
  -c, --config [file]        configuration file, parent directory will be used as prefix for other config files
  -l, --lib-dir [directory]  path where to lookup for plugins like connectors and logger
  --server-name <name>       Each server within a cluster needs a unique name
  --host <host>              host for the HTTP/websocket server
  --port <port>              port for the HTTP/websocket server
  --disable-auth             Force deepstream to use "none" auth type
  --disable-permissions      Force deepstream to use "none" permissions
  --log-level <level>        Log messages with this level and above

Installing via brew cask

Last, but certainly not least, we now publish deepstream via the awesome homebrew. This means installing deepstream on osx is now very simple:

brew cask install deepstream

And install plugins from anywhere:

deepstream install msg redis
=> v1.0.4 was installed to /usr/local/lib/deepstream

So let brew deal with installing and upgrading, so that you don't have to!