News for hackers. Stuff that matters.
Re:How Dark Deploys Code in 50ms by jrockway on Thursday July 11, 2019 @08:22AM (#20410950)
I am not sure people are getting these results with PHP and FTP. Sure, the build time is zero seconds. But each page load takes 100ms because it's doing the same work over and over for every request. Yes, even if you cache opcodes. We have a legacy PHP app and an "echo hello world" request takes 100ms. An extremely complicated request then takes 102ms to process. It is shockingly slow, but it is not something you will notice unless you have a lot of instrumentation, so you might be lead to believe that your performance woes are caused by something else.
Re:How Dark Deploys Code in 50ms by vrodic on Thursday July 11, 2019 @03:52PM (#20415121)
You must be doing something wrong. There's a lot of overhead for frameworks like Symfony, yes. But it's possible to write reasonably productive and modern website code where you can get sub 20ms responses (doing auth, fetching from db, processing and rendering html). I know because I've done that, on PHP 5.4.
Re:How Dark Deploys Code in 50ms by bbmario on Friday July 12, 2019 @05:04PM (#20424488)
Full checkout experience here, 18ms average. PHP 7.3, Symfony.