Comments (7)
FYI I have asked clarification directly to AWS team members about that, I'll update here when I know more.
from bref-bootstrap-benchmarks.
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.
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.
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.
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.
I was mistakenly looking at Solution D and thinking it was C. Doh!
from bref-bootstrap-benchmarks.
No worries ^^
from bref-bootstrap-benchmarks.
Related Issues (8)
- Update Symfony to 4.2 and Flex HOT 4
- Coldstart overhead HOT 10
- Opcache is not enabled in C
- Unable to Conenct to Socket HOT 8
- Enable the Twig cache HOT 2
- Opcache not enabled HOT 6
- Solution E HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bref-bootstrap-benchmarks.