Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

This section describes how your application can connect to a storage cluster or node.

Requests to store, retrieve, or delete objects in the cluster can initially be sent to any accessible node. The cluster decides which node is best suited to carry out the request, based on resource availability and other factors.

Primary

...

Access Node (PAN)

The node that initially fielded the request is called theĀ PAN.

Secondary

...

Access Node (SAN)

If the PAN did not field the request, it sends the application a redirect request that includes the address of a node referred to as theĀ SAN. Using this method, a storage cluster performs automatic and intrinsic load balancing.

...

Because the PAN assumes responsibility for having the application direct the request to another node in the cluster, your application does not need to provide any load balancing solution. Swarm implements load balancing, even when nodes are dynamically added or removed from the cluster.children