Announcement

Collapse
No announcement yet.

PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50%

    Phoronix: PHP Lands Preload Feature, Boosting Performance In Some Cases 30~50%

    PHP developers unanimously approved and already merged support for the new "preloading" concept for this web server language. PHP preloading basically allows loading PHP code that persists as long as the web server is running and that code will always be ready for each subsequent web request, which in some cases will dramatically speed-up the PHP performance on web servers...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I can't wait to get into that, that's an awesome boost in speed

    Comment


    • #3
      Originally posted by boxie View Post
      I can't wait to get into that, that's an awesome boost in speed
      Setting "opcache.revalidate_freq=0" gives you practically the same benefit, so you could get the boost today if you want to

      Comment


      • #4
        This is pretty cool.
        Will you be able to have state that survives a request?
        Like a singleton or static class that survives?
        Maybe dependency injection with transient/scoped/singleton?
        Maybe an object pool? Such as database connection pool? or HTTP client pool?
        Maybe background tasks? Maybe async/await?

        Comment


        • #5
          Originally posted by uid313 View Post
          This is pretty cool.
          Will you be able to have state that survives a request?
          Like a singleton or static class that survives?
          Maybe dependency injection with transient/scoped/singleton?
          Maybe an object pool? Such as database connection pool? or HTTP client pool?
          Maybe background tasks? Maybe async/await?
          I sure hope not

          Comment


          • #6
            Originally posted by AJenbo View Post

            Setting "opcache.revalidate_freq=0" gives you practically the same benefit, so you could get the boost today if you want to
            yeah, that's already done. I am sure that the major PHP frameworks will use this to great benefit in the very near future

            Comment

            Working...
            X