Download the PHP package nexus-actors/cluster-tcp without Composer

On this page you can find all versions of the php package nexus-actors/cluster-tcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cluster-tcp

Nexus Cluster TCP

Nexus cluster TCP — Swoole TCP mesh transport, membership gossip, and phi-accrual failure detection.

Install

Security

The default ClusterTopology is open and plaintext: no TLS, no handshake authentication. In that mode clusterName is just a label — any host that can reach the bind port completes a handshake, joins the cluster view, and can deliver messages to exposed actors. This default is for a trusted private network (e.g. a single-tenant LAN or VPC) only. Never expose a plaintext, unauthenticated cluster port to an untrusted network.

For anything beyond a trusted LAN, enable both:

Trust model

authSecret is a shared cluster-wide key, not a per-node identity — it proves "this peer knows the cluster secret," not "this peer is node X." Pair it with TLS client certificates if you need per-node identity assurance. Within that model, an authenticated-but-compromised member can still:

These are the same accepted tradeoff as other gossip-based membership systems (Serf, Consul): a compromised, authenticated member can disrupt membership state for other nodes, but cannot forge messages as another node (the HMAC binds the full identity claim) and cannot achieve durable, unbounded damage. Full Byzantine fault tolerance (provable resistance to an arbitrarily malicious authenticated member) is out of scope for v1.

Scaling

nexus-cluster-tcp is a full-mesh topology: every node dials every other node, so connections and per-node resource usage grow as O(N²) cluster-wide (~2N file descriptors and ~2N recv coroutines per node, one outbound + one inbound link per peer).

See the cluster-tcp benchmarks guide for methodology and full results.

Documentation

This is a read-only subtree split of nexus-actors/nexus.

Please refer to the main repository for documentation, issues, and pull requests.


All versions of cluster-tcp with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5.7
ext-ctype Version *
ext-sockets Version *
nexus-actors/cluster Version ^0.1
nexus-actors/core Version ^0.1
nexus-actors/observability Version ^0.1
nexus-actors/runtime Version ^0.1
nexus-actors/serialization Version ^0.1
nexus-actors/serialization-msgpack Version ^0.1
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.0
psr/log Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nexus-actors/cluster-tcp contains the following files

Loading the files please wait ...