update
2 files changed
tree: 5b7deb95498953b1915619b5d6da7b5c7dff3bc3
  1. agent/
  2. api/
  3. bin/
  4. common/
  5. config/
  6. consumer/
  7. demo/
  8. provider/
  9. registry/
  10. arch.png
  11. composer.json
  12. LICENSE
  13. README.md
README.md

php framework for apache dubbo

php-for-apache-dubbo is a RPC communication framework for PHP language. It is fully compatible with Dubbo protocol, and can be used as provider terminal and consumer terminal simultaneously. Using zookeeper for service registration discovery, and using fastjson for Serialization.

image

Introduction

  • php provider runs in multiple processes. The worker process is used to process specific business, the manager process controls the lifecycle of the worker process, and the master process processes the network IO.
  • Agent monitors the change of provider address information in registry and synchronizes them to local redis for all php consumers on the machine to share.
  • php consumer、redis and agent are deployed on all consumer machines and communicate with each other on unix socket.
  • provider_admin is deployed on all provider machines to control the lifecycle of all php providers on that machine.

Quick start (Chinese) Installation guide (Chinese) Configuration guide (Chinese)