andrey_mireichyk/roadrunner-bundle
ResetInterface for stateful services.HttpKernel, DependencyInjection) and bundles (e.g., Sentry, Doctrine). Requires symfony/psr-http-message-bridge for PSR-17 factories, which is a common dependency.always, on_exception), but misconfiguration could cause instability.symfony/proxy-manager-bridge for Doctrine, but other ORMs (e.g., Eloquent) may require custom solutions.Kernel::handle(), which could break assumptions in custom middleware (e.g., dependency injection, kernel access). The bundle documents this but requires careful testing.Performance vs. Stability Tradeoff:
on_exception reboot mode?Database Integration:
Middleware Compatibility:
RequestStack)? If so, how will these be adapted?Observability:
Deployment Complexity:
rr) be managed in production (updates, permissions, logging)?Dev Experience:
rr worker), but this bundle focuses on HTTP.symfony/psr-http-message-bridge v2.ab, k6) to validate performance gains./api/v2).
if ($request->getPathInfo() === '/api/v2') { ... }).php.ini/pool.d/ configs with .rr.yaml (e.g., worker pools, timeouts).framework.session config for database-backed sessions (if used).symfony/psr-http-message-bridge is v2.x.symfony/proxy-manager-bridge for Doctrine if not already present.proxy-manager-bridge for ORM; MongoDB ODM has built-in support.ContainerAware services).php-http/discovery if no PSR-17 factories are found..rr.dev.yaml (not enabled by default).symfony/psr-http-message-bridge (v2.x).symfony/proxy-manager-bridge.composer require andrey_mireichyk/roadrunner-bundle
Register the bundle in config/bundles.php:
Baldinof\RoadRunnerBundle\BaldinofRoadRunnerBundle::class => ['all' => true],
cp vendor/andrey_mireichyk/roadrunner-bundle/.rr.* ...rr.yaml (e.g., worker pools, timeouts) and config/packages/baldinof_road_runner.yaml (e.g., kernel reboot, metrics).bin/rr serve -c .rr.dev.yaml.symfony/var-dumper via bin/console server:dump.vendor/bin/rr get --location bin/.Dockerfile in README).bin/console cache:warmup.rr get or pinned versions)..rr.yaml and baldinof_road_runner.yaml in version control.rr dump-config to validate configs post-deployment.rr serve output).bin/console debug:container to inspect DI issues.Kernel rebooted; adjust allowed_exceptions as needed.How can I help you explore Laravel packages today?