Code Monkey home page Code Monkey logo

Comments (7)

mnapoli avatar mnapoli commented on May 20, 2024

FYI I have asked clarification directly to AWS team members about that, I'll update here when I know more.

from bref-bootstrap-benchmarks.

bubba-h57 avatar bubba-h57 commented on May 20, 2024

Are you saying solution C does not save billed time? Or that it doesn't not save the actual run time?

Sorry, been on vacation and got snowed in at the cabin with no internet. Just now getting caught back up.

from bref-bootstrap-benchmarks.

mnapoli avatar mnapoli commented on May 20, 2024

Got confirmation by the AWS team, we are not saving billed time and we are not saving HTTP response time (or Lambda duration time).

So C doesn't seem like an interesting solution at all. It should be marked as obsolete in the README.

from bref-bootstrap-benchmarks.

bubba-h57 avatar bubba-h57 commented on May 20, 2024

Aren't we only booting Symfony on a cold start though? Or does the Lambda actually kill our bootstrap and then restart it for each request?

from bref-bootstrap-benchmarks.

mnapoli avatar mnapoli commented on May 20, 2024

Symfony boots on every request.

See the bootstrap, it doesn't do much: https://github.com/mnapoli/bref-bootstrap-benchmarks/blob/master/c/symfony/bootstrap

But then on each request Symfony is booted: https://github.com/mnapoli/bref-bootstrap-benchmarks/blob/master/c/symfony/index.php#L19-L20

What I believed is that by booting Symfony before asking for an event/request we could save that from the HTTP response time. It turns out it's not the case.

from bref-bootstrap-benchmarks.

bubba-h57 avatar bubba-h57 commented on May 20, 2024

I was mistakenly looking at Solution D and thinking it was C. Doh!

from bref-bootstrap-benchmarks.

mnapoli avatar mnapoli commented on May 20, 2024

No worries ^^

from bref-bootstrap-benchmarks.

Related Issues (8)

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.