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

Concurency & Pools #5

Open
jenky opened this issue Mar 25, 2023 · 3 comments
Open

Concurency & Pools #5

jenky opened this issue Mar 25, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@jenky
Copy link
Collaborator

jenky commented Mar 25, 2023

No description provided.

@jenky jenky added the enhancement New feature or request label Mar 25, 2023
@uphlewis
Copy link

uphlewis commented Dec 1, 2023

The conversation around a PHP Promises PSR dried up years ago, and AFAIK there still isn't a decent client-agnostic abstraction around async HTTP requests or Promises in PHP.

So, I'd also be interested to see how this library could be implemented around a more concrete Client implementation e.g., Guzzle, which provides features such as async/promises or request pools/concurrency.

@jenky
Copy link
Collaborator Author

jenky commented Dec 1, 2023

Hi @uphlewis

Thank you for bringing up the topic. I actually have a repository here that utilizes react/amp/psl to achieve async/pool functions. Although it may not be the optimal approach compared to Guzzle's multi-curl. I would appreciate it if you could give it a try and share your feedback. Your input would be greatly appreciated.

@uphlewis
Copy link

uphlewis commented Dec 1, 2023

Honestly, im probably going to continue to favour guzzle's async implementation in most of my projects, since it's usually already there as a dependency and i really like their promises API.

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

No branches or pull requests

2 participants