Welcome Guest, Not a member yet? Register   Sign In
Make CodeIgniter4 to work on RoadRunner
#1

(This post was last modified: 11-17-2020, 11:26 PM by monkenWu.)

Hi.

We designed a Library, which makes CodeIgniter4 to work on RoadRunner Server.

RoadRunner is a high-performance PHP application server. RoadRunner is infrastructure level framework for your PHP applications written in Golang. It runs your application in the form of workers.

The library we developed—CodeIgniter4 -RoadRunner, provides the synchronization of RoadRunner-Worker and CodeIgniter4 on the Request and Response objects. Since CodeIgniter4 didn’t completely implement the PSR-7 standard. You should use this library to make your CodeIgniter4 project to run on a RoadRunner Server.

After using this library, we can easily have better performance on CodeIgniter4. The tests down below are tested on product environment.

We use JMeter to conduct tests, server softwares are all running under default configurations.

In this test case, we requested the API to fetch articles, which will query the database to get data. Using RoadRunner Server can offer you a much faster and much more stable process speed.

[Image: ZHq5W7O.png]

If you are interested in this library, feel free to visit our Github repository to know how to install and use.

Thank you.
Reply
#2

Nice job! Been looking at RoadRunner and this implementation for an upcoming project. Unfortunately this library doesn't work with CI 4.1.4 (after each request has been served, 404 is generated when accessed again). Working as expected with CI 4.1.1. Where should I start looking in how to fix this?
Reply
#3

(10-05-2021, 10:20 PM)tgix Wrote: Nice job! Been looking at RoadRunner and this implementation for an upcoming project. Unfortunately this library doesn't work with CI 4.1.4 (after each request has been served, 404 is generated when accessed again). Working as expected with CI 4.1.1. Where should I start looking in how to fix this?

Hi, we released the latest version V1.2.1. It supports CI 4.1.5 and RoadRunner Version 2.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB