Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cluster requests and cluster status #4

Closed
hollodotme opened this issue Jun 8, 2019 · 1 comment
Closed

Implement cluster requests and cluster status #4

hollodotme opened this issue Jun 8, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@hollodotme
Copy link
Owner

Expected Behavior

I can send ONE request in parallel to a multitude of php-fpm servers and fetch their responses reactively.

Actual Behavior

The available distribution mechanism allow only one request per php-fpm server at a time.

Specifications

  • Package version: 0.1.1
  • PHP version: 7.1+
  • Platform/OS: Unix / OpenBSD

Further comments

This feature would for example make it possible to fetch the status of multiple php-fpm servers with one call to aggregate them for a health check.

This issue is related to hollodotme/fast-cgi-client#45.

@hollodotme hollodotme added this to the v0.2.0 milestone Jun 8, 2019
@hollodotme hollodotme self-assigned this Jun 8, 2019
hollodotme added a commit that referenced this issue Jun 8, 2019
* Require hollodotme/fast-cgi-client >= 2.7.2
* Remove coveralls phar
* Remove phpmetrics phar
hollodotme added a commit that referenced this issue Jun 8, 2019
* Add php-fpm connection data to phpunit.xml
* Remove logging from phpunit.xml
* Move Xdebug filter to auto_prepend_file
* Ignore PHPUnit result cache in VCS
hollodotme added a commit that referenced this issue Jun 8, 2019
hollodotme added a commit that referenced this issue Jun 8, 2019
hollodotme added a commit that referenced this issue Jun 8, 2019
hollodotme added a commit that referenced this issue Jun 9, 2019
* Rename ProvidesClients interface to ProvidesNextClient
* Remove obsolete getIndices method from abstract client
* Add Countable interface to client collections
* Update inline docs
hollodotme added a commit that referenced this issue Jun 9, 2019
* The cluster proxy will send a request to all its nodes
* The cluster proxy only supports methods to retrieve multiple responses
hollodotme added a commit that referenced this issue Jun 9, 2019
* Remove abstract client collection
* Remove obsolete package exceptions
* Adapt tests
hollodotme added a commit that referenced this issue Jun 10, 2019
hollodotme added a commit that referenced this issue Jun 10, 2019
* Provide only getters to objects in response decorator
* Add parsing of process information, if available
hollodotme added a commit that referenced this issue Jun 10, 2019
* Refactor status request to use response callbacks
* Add used connection to response to identify servers
* Remove class ClusterStatus
hollodotme added a commit that referenced this issue Jun 10, 2019
hollodotme added a commit that referenced this issue Jun 10, 2019
hollodotme added a commit that referenced this issue Jun 10, 2019
@hollodotme hollodotme changed the title Implement prototype to fetch responses from a stack of php-fpm servers Implement cluster requests and cluster status Jun 10, 2019
@hollodotme
Copy link
Owner Author

Released in v0.2.0

/cc @mikesoule 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant