Does PHP have a WebService framework suitable for high concurrency?

Source: Internet
Author: User
The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework? The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework?

Reply content:

The nodejs project is currently very popular, and the ruby language also shows a webservice framework like sinatra and Padrino. Does PHP have a similar framework?

Swoole_framework

Try http://www.slimframework.com/

AndsinatraSimilar writing

We recommend that you pay attention to Laruence.
PHP development team member, Zend part-time consultant, Yaf, Yar, Yac, Opcache, and other project authors and maintainers.
Yar among them, you will love it.

A website that can achieve high concurrency is no longer a matter of php, and there are more system-level things with high concurrency. There are also many people who like to say that php is so bad, it is too slow. What really restricts the website is not php, but database and disk io. If you can use hiphop to support 90% of facebook traffic.

As described above, the website's bottleneck is often not in the programming language, but in the database and I/O processes.

  1. Currently, most PHP development uses framework development. Php frameworks are heavyweight and lightweight.
  2. Php is usually in the frontend for large and high-concurrency projects, and C ++ and java are mostly used at the backend.
  3. The implementation of high concurrency involves the level of the entire project architecture and has nothing to do with the specific language.
  4. I guess what you mean seems to require a heavyweight framework. In this case, we recommend zf and yii.
    Of course, the yaf on the second floor is also good. its author is Sina Weibo architect, laruence.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.