Comments (13)
It would be nice to include some more about how to setup Octane properly.
from bref-laravel-bridge.
I believe it uses neither!
All it does is spin up a long lastig http kernel and process requests using it.
Since there is no concurrency anyway (each lambda always processes 1 event at a time) that's all that's needed.
from bref-laravel-bridge.
@kris914g All you need is:
functions:
web:
handler: php/runtime.php
timeout: 20
reservedConcurrency: ${param:reservedConcurrency}
provisionedConcurrency: ${param:provisionedConcurrency}
environment:
APP_RUNTIME: octane
BREF_LOOP_MAX: 250
BREF_BINARY_RESPONSES: 1
layers:
- ${bref:layer.php-81}
events:
- httpApi: '*'
from bref-laravel-bridge.
Correct, octane will be installed via this bridge anyhow. Also Swoole and RoadRunner don't work on Lambda. I've cloned the approach Vapor uses to run Octane.
from bref-laravel-bridge.
Okay, that should definitely be included in the readme :D if you want I can try opening a PR that will describe Queues and Octane better in the readme if you want
I'd love that! Check out what @georgeboot does here: https://github.com/cachewerk/bref-laravel-bridge/pull/29/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
from bref-laravel-bridge.
Super! I will come up with something in the following days.
from bref-laravel-bridge.
Do we have an example somewhere about how to setup Octane, right now I have tried with Swoole and default config, but I'm not sure if it is setup and registered with the bride at all. I also included the octane runtime in the serverless config.
from bref-laravel-bridge.
Thanks!
so it doesn't matter if I chose RoadRunner or Swoole? 😄
from bref-laravel-bridge.
Ohh if that is the case it makes more sense. Does that also mean that I actually don't have to install octane on my application since it seems to be included in the bridge?
from bref-laravel-bridge.
Okay, that should definitely be included in the readme :D
if you want I can try opening a PR that will describe Queues and Octane better in the readme if you want
from bref-laravel-bridge.
What are you two thinking about moving most of the README to the GitHub wiki shortly?
from bref-laravel-bridge.
It sounds good, perhaps it is also easier to keep an overview when the readme becomes more comprehensive.
from bref-laravel-bridge.
A 5 minute video would be very popular.
Screen share with a small webcam image.
from bref-laravel-bridge.
Related Issues (15)
- Publish Composer package
- GitHub deployments?
- Default nonbreaking log driver. HOT 3
- Support persistent database connection
- Queue timeouts should trigger `failed()` call HOT 18
- FPM can't write to stdout
- Add full `serverless.yml` example
- Queues should use `failed_jobs` HOT 3
- Publish serverless.yml asset
- Make package configurable
- Package changes / migration
- Support maintenance mode HOT 1
- Better queue handler HOT 4
- Consider using KMS for secrets HOT 8
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-laravel-bridge.