Skip to content

ENV naming for multiple servers #72

Description

@jage

Currently we're using the following scheme for multiple servers, a new variable per server:

  • RABBITMQ_01_HOST
  • RABBITMQ_02_HOST

But for a lot of other servers we use:

  • MEMCACHIER_SERVERS
  • KESTREL_SERVERS

So the question is, what do we prefer?

I'm leaning towards using _SERVERS or _URLS with a comma-separated list, that seems to be a general consensus among other gems.

I think using fewer variables could be positive during maintenance, as in it's easier to change a variable than make sure it's removed (Consul KV, Heroku config etc).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions