Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Layout good places to start "virtual deployment seams" #50

Closed
seanshahkarami opened this issue Sep 9, 2017 · 3 comments
Closed

Layout good places to start "virtual deployment seams" #50

seanshahkarami opened this issue Sep 9, 2017 · 3 comments
Assignees

Comments

@seanshahkarami
Copy link
Member

It's difficult to work on new features without a good development and testing deployment.

One option to think about is the following: Since RabbitMQ supports virtual hosts and Cassandra supports keyspaces, we should look for places to add configuration options to allow multiple virtual deployments within a single beehive.

@seanshahkarami seanshahkarami self-assigned this Sep 9, 2017
@seanshahkarami seanshahkarami changed the title Layout good places to start a "deployment seam" Layout good places to start "virtual deployment seams" Sep 9, 2017
@seanshahkarami
Copy link
Member Author

The Cassandra CQL file now creates three new keyspaces in addition to waggle to allow us to start working towards this.

CREATE KEYSPACE IF NOT EXISTS waggle
  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 2 };

CREATE KEYSPACE IF NOT EXISTS production
  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };

CREATE KEYSPACE IF NOT EXISTS development
  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

CREATE KEYSPACE IF NOT EXISTS testing
  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

@seanshahkarami
Copy link
Member Author

I also went ahead and provisioned three corresponding virtual hosts in RabbitMQ for this and went ahead and converted the sketch of the raw data loader and workers to support this.

@seanshahkarami
Copy link
Member Author

I'll close this for now, as it looks like we may get to a point where we can just spin up a docker stack for development / testing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant