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

Cakphp is faster than phalcon??? #83

Open
johnlanz opened this issue Dec 5, 2017 · 5 comments
Open

Cakphp is faster than phalcon??? #83

johnlanz opened this issue Dec 5, 2017 · 5 comments

Comments

@johnlanz
Copy link

johnlanz commented Dec 5, 2017

Is this normal? laravel and cakephp is faster than phalcon?
phpperformance
I'm currently using a $20 vps from turnkeyinternet

@johnlanz johnlanz changed the title Cakphp is faster than phalcon? Cakphp is faster than phalcon??? Dec 5, 2017
@wmac
Copy link

wmac commented Dec 5, 2017

Not just cakephp, but even Laravel etc. It probably is not correct. 10 million requests on a $20 VPS?

@johnlanz
Copy link
Author

johnlanz commented Dec 5, 2017

I think its 10k request which is reasonable
Although the vps is really high end for $20 you get 8 cpu E5 processor and 8GB of RAM : https://turnkeyinternet.net/cloud-hosted-virtual-servers-vps/

@cebe
Copy link
Contributor

cebe commented Dec 8, 2017

likely an error, you should check if the frameworks are actually executed and you are not benchmarking an HTTP server error page.

@johnlanz
Copy link
Author

johnlanz commented Dec 8, 2017

yeah its a server error. I really hate to say this but php frameworks are really too slow. less than 3,000 request per second. I benchmark a java web server (light 4j) on my vps and I've got 2.1 million request per second and for light 4j json API I've got 600,000 rps that's 200X faster than any php framework.

@joanhey
Copy link
Contributor

joanhey commented Feb 14, 2018

The difference between a fast php framework and a java framework, are more similar when you have connections to the database. Almost all apps use database.
This benchmark output 'Hello World' for compare the frameworks minimum overhead without cache, in a context.
For output 'Hello world' is faster using php without framework or send it from the server directly.

You are comparing apples with oranges.
You said 'I benchmark a java web server .... faster than any php framework'.
Benchmark this java web server versus apache, nginx, ...

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

No branches or pull requests

4 participants