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

[PHP] Antidot: fix dependency issues in composer json #4571

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

kpicaza
Copy link
Contributor

@kpicaza kpicaza commented Aug 22, 2021

Hi @waghanza, I see that there is some issue running Antidot Framework inner the benchmark.
image

I updated the composer.json file to get at least the minimum required versions.

Thanks for your great work and for maintaining this excellent project;-D

@kpicaza kpicaza requested a review from waghanza as a code owner August 22, 2021 17:18
@kpicaza kpicaza changed the title [php-antiddot] fix dependency issues in composer json [php-antidot] fix dependency issues in composer json Aug 22, 2021
@kpicaza kpicaza changed the title [php-antidot] fix dependency issues in composer json [PHP] Antidot: fix dependency issues in composer json Aug 22, 2021
Copy link
Collaborator

@waghanza waghanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update results, after merge

@@ -13,13 +13,12 @@
"ext-json": "*",
"antidot-fw/framework": "~0.2.1",
"antidot-fw/antidot-react-psr15": "*",
"antidot-fw/cli": "*",
"antidot-fw/cli": "^1.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might the keyword @stable could work ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nevermind, could not

Copy link
Collaborator

@waghanza waghanza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you may invite me @kpicaza, I'll update results

@kpicaza
Copy link
Contributor Author

kpicaza commented Aug 22, 2021

Sorry @waghanza, I'm debugging in more depth because the server falls after some stress tests, If you don't mind I prefer to check better the issue before merging, and for the moment moving the PR to draft, sorry for the inconvenience.

image

@waghanza waghanza marked this pull request as draft August 22, 2021 20:40
@kpicaza
Copy link
Contributor Author

kpicaza commented Aug 22, 2021

I think the issue is related to keep-alive connections on React HTTP server as described here reactphp/http#405 (comment). As a workaround, I will keep the react/http version fixed to v1.2.0.

The performance is 2x better after v1.3.0, from 20k to 40k in Antidot Framework. But after some WRK hits the server crashes;-(.

  • With react/http >= v1.3.0
    image
  • With react/http 1.2.0
    image

@kpicaza kpicaza marked this pull request as ready for review August 22, 2021 21:30
@waghanza waghanza enabled auto-merge (squash) August 23, 2021 05:17
@waghanza waghanza merged commit 60a798b into the-benchmarker:master Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants