美文网首页
Alluxio short circuit configurat

Alluxio short circuit configurat

作者: allenhaozi | 来源:发表于2021-12-19 11:02 被阅读0次

https://docs.alluxio.io/os/user/stable/en/deploy/Running-Alluxio-On-Kubernetes.html#enable-short-circuit-access

Short-circuit access enables clients to perform read and write operations directly against the worker bypassing the networking interface. For performance-critical applications it is recommended to enable short-circuit operations against Alluxio because it can increase a client’s read and write throughput when co-located with an Alluxio worker.

This feature is enabled by default (see next section to disable this feature), however requires extra configuration to work properly in Kubernetes environments.

There are two modes for using short-circuit.

alluxio.worker.data.server.domain.socket.address

  • default values : /opt/domain

The path to the domain socket. Short-circuit reads make use of a UNIX domain socket when this is set (non-empty). This is a special path in the file system that allows the client and the AlluxioWorker to communicate. You will need to set a path to this socket. The AlluxioWorker needs to be able to create the path. If alluxio.worker.data.server.domain.socket.as.uuid is set, the path should be the home directory for the domain socket. The full path for the domain socket with be {path}/{uuid}.

alluxio.worker.data.folder.permissions

  • rwxrwxrwx

The permission set for the worker data folder. If short circuit is used this folder should be accessible by all users (rwxrwxrwx).

alluxio.user.short.circuit.enabled

  • true

The short circuit read/write which allows the clients to read/write data without going through Alluxio workers if the data is local is enabled if set to true.

alluxio.user.short.circuit.preferred

  • false

When short circuit and domain socket both enabled, prefer to use short circuit.

alluxio.user.short.circuit.preferred

  • false

| When short circuit and domain socket both enabled, prefer to use short circuit.

alluxio.worker.data.server.domain.socket.as.uuid

  • false

| If true, the property alluxio.worker.data.server.domain.socket.addressis the path to the home directory for the domain socket and a unique identifier is used as the domain socket name. If false, the property is the absolute path to the UNIX domain socket.

alluxio.worker.data.server.domain.socket.address

  • false

The path to the domain socket. Short-circuit reads make use of a UNIX domain socket when this is set (non-empty). This is a special path in the file system that allows the client and the AlluxioWorker to communicate. You will need to set a path to this socket. The AlluxioWorker needs to be able to create the path. If alluxio.worker.data.server.domain.socket.as.uuid is set, the path should be the home directory for the domain socket. The full path for the domain socket with be {path}/{uuid}.

相关文章

网友评论

      本文标题:Alluxio short circuit configurat

      本文链接:https://www.haomeiwen.com/subject/guanfrtx.html