An example chat application using Bluzelle for Heroku
Clone or download
Matt Ilagan
Latest commit a1073b6 Nov 20, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.

Bluzelle Heroku Example Chat Application


The Bluzelle Heroku Example Chat application is a simple nodejs project that utilizes the Bluzelle database, and expressjs


  • Nodejs/npm
  • Heroku CLI


  1. Deploy the application by clicking this button: Deploy

  2. Login to Heroku using the Heroku CLI:

$ Heroku login
  1. Once you've logged into Heroku with the Heroku CLI, you can now install the add-on to your Heroku Application (where APPLICATION_NAME is the name of your Heroku Application)
$ Heroku addons:create bluzelledb:test -a APPLICATION_NAME
  1. If everything went smoothly and the add-on installed properly, you will find 3 Config Variables (In your Heroku Application Dashboard, under the settings tab, you should see Config Vars. If you Click on "Reveal Vars", you will see 3 Config Variables that the Bluzelle Add-on had set, BLUZELLEDB_ADDRESS, BLUZELLEDB_PORT, and BLUZELLEDB_UUID)


There are a couple of challenges with this application architecture.

  1. Messages are appended to each value entry in the database. Once the value entry hit the buffer limit (300 KB), then it will error out. Solution: utilize different uuids

  2. Even though it's using, this is not "completely" real-time polling. The sockets initializes via HTTPS then "promotes" to sockets. Keep in mind that some browsers will not support this.

Support Contact

If you need help setting up the application to use our service, ask us at gitter:

Join the chat at