octane
bref
Our great sponsors
octane | bref | |
---|---|---|
15 | 41 | |
3,652 | 2,983 | |
1.2% | 0.9% | |
8.8 | 9.4 | |
2 days ago | 10 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
octane
-
Is it still worth choosing Heroku in 2023?
The web server my app uses is not too slow, after load testing with wrk **the RPS on a single 512MB dyno with database queries is 474 requests per second. While running this test, I could still use the app but the response times were higher (400ms-800ms instead of the usual <110ms).
-
New FrankenPHP feature: package your PHP apps as standalone, self-executable binaries
Re Octane, yes it's WIP https://github.com/laravel/octane/pull/764 there were some performance issues found which don't seem to affect non-Laravel apps which is weird/confusing so that's still being looked into. But, soon.
- Release v2.0.0 · Laravel/Octane
-
Why does Laravel need a "middleman" like Pusher or a separate Laravel Websockets server to be able to use Websockets?
I was hoping that Octane would add support, but the person running the Octane github is one of those people who quickly closes every issue that isn't considered a bug. So no traction is ever built up like on https://github.com/laravel/octane/issues/110 .
- Octane - Supercharge your Laravel application's performance.
-
Modern PHP
Laravel was recently updated to support serverless deployments, alongside the launch of Vapor[1].
Octane[2] is also very exciting. Using Swoole[3] (or another similar driver), Laravel applications can be run entirely in-memory. Early benchmarks showed Octane increased concurrent requests from ~500/sec. to ~6,000/sec.
[1] https://vapor.laravel.com/
[2] https://github.com/laravel/octane
[3] https://openswoole.com/
-
Laravel best way to implement db intense background process
Another feature of Laravel you might want to take a look at, just became available since the last Laracon. It's called Octane, and it's currently in a beta version, but its potential for optimization, compared to a normal Laravel app, is pretty great. Note that it requires PHP 8.0.
-
Laravel Octane
Taylor Otwell already showed a glimpse of Laravel's latest open-source package, Octane, during his Laracon Online talk - but today, the new package is available on GitHub for everyone to beta test.
-
Larastan 0.7.3 is released with a rule that can check Laravel Octane compatibility
New 0.7.3 release includes a rule that can check Laravel Octane compatibility of your application. It basically automates the things mentioned in the official docs. You can give it a try now! And let me know what do you think!
-
RoadRunner here and now
Recently the Laravel Octane package was released. It was created to make Laravel with Swoole and RoadRunner more friendly. We are using RoadRunner instead of php-fpm in dev.family for some time now, and we decided to share our experience and to reveal what advantages it has.
bref
-
Serverless Symfony Starter - Deploy Symfony to AWS
I have just released the first working version of a symfony starter project using bref.sh.
-
A bank runs serverless with PHP and AWS Lambda
As you can see on the website (https://bref.sh/) there's 13 billion monthly AWS Lambda invocations using Bref (PHP).
-
Configuring OpenSSL 3 to sign an Apple Passbook?
I have a PHP application (running on Amazon Linux via Bref on Lambda) which has been signing Apple passbooks no problem. I've trying to do various upgrades which includes moving to AWS Linux 2023 which uses OpenSSL 3.
-
Bref + SQS - Runtime.unknown
Your best bet is to post an issue on https://github.com/brefphp/bref
-
Software architecture applied to PHP
multi threading php isnt a burden. laravel with a supervisor + redis + queues works out-of-the-box. you can even run it on lambda (vapor or bref.sh) with almost no hassle.
-
Project advice
To generate resource on AWS, you can use aws-sdk into a lambda. While Node or Python is more widely used, you can use PHP bref.sh and the PHP AWS SDK to achieve the same outcome. You'll want to use serverless framework (https://www.serverless.com) .
-
Ideas for minimum PHP pipeline for a small team
If you’re deploying in AWS and depending on your app I’d highly recommend using https://bref.sh/. When we changed it made our deploy pipeline so much simpler and our AWS bill much cheaper. Plus infrastructure as code is so useful (we don’t have dedicated dev ops in a team of about 20). Things like adding GD, upgrading PHP, or even adding a redis server become 1 (or a few) lines of change which you can PR and test on staging just like other code changes.
-
Is fargate the right choice for my apps?
For Lambda, look into https://bref.sh/. For us, running on Lambda was always way cheaper than everything else. However, if you have massive scale that calculation may not hold up.
-
Datadog on AWS Lambda for PHP with Bref
There's a lot to unpack here from your question. First off, PHP on Lambda WITHOUT docker is possible. Check out https://bref.sh. It works by providing PHP on Lambda like any other runtime. It also provides a Web Hosting experience for PHP on Lambda for those that want to run PHP-FPM.
-
Laravel Vapor, security information?
Failing that, looks like Bref will be the option in place of Vapor.
What are some alternatives?
Laravel - The Laravel Framework.
lambda-debug-proxy - A proxy for piping AWS lambda input payload+context to and returning a response from a local dev environment for debugging.
Swoole - 🚀 Coroutine-based concurrency library for PHP
serverless-offline - Emulate AWS λ and API Gateway locally when developing your Serverless project
React - Event-driven, non-blocking I/O with PHP.
docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment
autocannon - fast HTTP/1.1 benchmarking tool written in Node.js
RoadRunner - 🤯 High-performance PHP application server, process manager written in Go and powered with plugins
Lumen - The Laravel Lumen Framework.
Nuxt 3 - Old repo of Nuxt 3 framework, now on nuxt/nuxt
PHP-DI - The dependency injection container for humans