Git Product home page Git Product logo

Comments (9)

taylorotwell avatar taylorotwell commented on June 9, 2024 6

Hmm, did you lobby for votes somewhere? You received quite a few votes within about 4-5 minutes timespan.

from blog-contest-may-mayhem.

Dylan-DPC-zz avatar Dylan-DPC-zz commented on June 9, 2024 6

This book might help
image

from blog-contest-may-mayhem.

xiaotianhu avatar xiaotianhu commented on June 9, 2024 2

Using Laravel+Laravel-s+swoole in production,works fantastic,super fast.

from blog-contest-may-mayhem.

jacurtis avatar jacurtis commented on June 9, 2024 1

There were only 5 rules...
image

from blog-contest-may-mayhem.

hkp22 avatar hkp22 commented on June 9, 2024 1

@taylorotwell I have read many articles which tells that Swoole makes php projects faster. I have tried swooletw/laravel-swoole package with laravel. But I don't know why it had not worked for me. So, I believe laravel should have officially support for Swoole.

from blog-contest-may-mayhem.

hhxsv5 avatar hhxsv5 commented on June 9, 2024

Not lobby, I just share this link into my social circle. @taylorotwell

from blog-contest-may-mayhem.

hhxsv5 avatar hhxsv5 commented on June 9, 2024

sorry for this, I will open new issue.

from blog-contest-may-mayhem.

SadeghPM avatar SadeghPM commented on June 9, 2024

@hkp22 there's many aspect/issue in async/swool.
for example consider following snippet from laravel source code:

if (! is_null($this->user)) {
    return $this->user;
}

its look like pretty normal but in async/swool its fatal problem!
Although these problems solved in swooletw/laravel-swoole package, but many laravel packages dosn't work by default because of above issue.
Other problems like Global var and static also exists.
in brief, there's a lot of work to compatible laravel ecosystem with async/swool . and I think it's unlikely that this will happen.
more info at laravel-swoole Q&A

from blog-contest-may-mayhem.

hhxsv5 avatar hhxsv5 commented on June 9, 2024

@SadeghPM @hkp22 Swoole is the server of resident memory type, different from Nginx+PHP-FPM. This feature makes Laravel faster, but another problem, need programmer to maintain the global/singleton/static variables about request context.

from blog-contest-may-mayhem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.