Skip to content

[Proposal] Standardize ports across Dgraph node types. #2042

@sboorlagadda

Description

@sboorlagadda

Dgraph cluster consists of different node types zero (and its peers) and servers(and its peers). Each node type uses a set of ports and there are several deployment options for users to setup the cluster. The current Dgraph implementation uses default ports across node types and provides --port_offset command option to override the default port, this makes it difficult for users when setting up the cluster as users has to pay attention port clashing not only between peers but also between different node types and ratel. This may not be affecting users trying to setup on multiple hosts.

This proposal is to standardize the port usage across node types and change the default ports if the proposal is accepted.

Dgraph Node Type gRPC-internal gRPC-external http-external
zero --Not Used-- 5080 6080
server 7080 9090 8080
ratel --Not Used-- --Not Used-- 8000

Users have to continue to use --port_offset option between a particular node type.

  • Zero (and its Peers) - Use 508[0-9] & 608[0-9]
  • Server (and its Peers) - Use 708[0-9], 808[0-9] & 908[0-9]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions