GitHunt
PH

phildionne/dialog-api

Dialog API

Dependencies

  • foreman
  • PostgreSQL >= 9.4.2
  • ruby 2.3.1

Getting started

Install gems:

$ bundle install

Copy default environment variables and configure in .env.local:

$ cp .env.default .env.local && $EDITOR .env.local

Messages

AWS Firehose

Follow these instructions in order to create a Kinesis Stream persisting records to S3 and copying them in Redshift.

Concurrency

Thread safety is assumed.

These posts have been used as references:

Puma

  • Workers: WEB_CONCURRENCY # Default: 2
  • Threads: MAX_THREADS # Default: 5

PostgreSQL

  • Pool: DB_POOL # Default: 10 (WEB_CONCURRENCY * MAX_THREADS)

Languages

Ruby93.5%HTML6.5%

Contributors

Created April 20, 2016
Updated October 21, 2025