# \#mezzio-swoole

**URL:** https://discourse.laminas.dev/tag/mezzio-swoole/66.md

[Latest](https://discourse.laminas.dev/latest.md) · [Categories](https://discourse.laminas.dev/categories.md) · [Tags](https://discourse.laminas.dev/tags.md)

---

## [Using swoole in laminas MVC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551)

<div class="topic-metadata">

**Author:** [@voltan](https://discourse.laminas.dev/u/voltan)\
**Replies:** 3\
**Last updated:** [December 4, 2023, 12:28pm UTC](https://discourse.laminas.dev/t/using-swoole-in-laminas-mvc/3551 "2023-12-04T12:28:56Z")

</div>

Hello We have web application based on laminas MVC, know we need use swoole on it, i see mezzio swoole repo, can we use it in our MVC app? Or can we create simple mezzio app by same vendor and auto louder by MVC app, t…

---

## [Mezzio swoole high cpu usage on start](https://discourse.laminas.dev/t/mezzio-swoole-high-cpu-usage-on-start/3435)

<div class="topic-metadata">

**Author:** [@Vinith\_Mathews](https://discourse.laminas.dev/u/Vinith_Mathews)\
**Replies:** 2\
**Last updated:** [August 16, 2023, 8:51am UTC](https://discourse.laminas.dev/t/mezzio-swoole-high-cpu-usage-on-start/3435 "2023-08-16T08:51:12Z")

</div>

I am running mezzio swoole application in production in aws. Recently my local installation of the production version which was served on localhost:9501 started not to respond (no change made to the code, except composer…

---

## [Mezzio with docker and nginx web server](https://discourse.laminas.dev/t/mezzio-with-docker-and-nginx-web-server/2933)

<div class="topic-metadata">

**Author:** [@Sirpyerre](https://discourse.laminas.dev/u/Sirpyerre)\
**Replies:** 4\
**Last updated:** [January 4, 2023, 6:59pm UTC](https://discourse.laminas.dev/t/mezzio-with-docker-and-nginx-web-server/2933 "2023-01-04T18:59:50Z")

</div>

Hi. Are there some Docker images to work with Nginx and mezzio? Or do I need to create from scratch? Thank you.

---

## [Help with Request ID decorator - mezzio swoole](https://discourse.laminas.dev/t/help-with-request-id-decorator-mezzio-swoole/2789)

<div class="topic-metadata">

**Author:** [@Alban\_Hasa](https://discourse.laminas.dev/u/Alban_Hasa)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 4:01pm UTC](https://discourse.laminas.dev/t/help-with-request-id-decorator-mezzio-swoole/2789 "2022-02-26T16:01:07Z")

</div>

I’m trying to implement example from URL Did anyone try this example?

---

## [Receive stream of messages in Swoole server](https://discourse.laminas.dev/t/receive-stream-of-messages-in-swoole-server/2685)

<div class="topic-metadata">

**Author:** [@rafei](https://discourse.laminas.dev/u/rafei)\
**Replies:** 0\
**Last updated:** [December 29, 2021, 1:19pm UTC](https://discourse.laminas.dev/t/receive-stream-of-messages-in-swoole-server/2685 "2021-12-29T13:19:41Z")

</div>

How the swoole server should be prepared to receive stream of messages of a grpc stream-unary request?

---

## [Handling gRPC requests with client-stream and server-stream modes](https://discourse.laminas.dev/t/handling-grpc-requests-with-client-stream-and-server-stream-modes/2683)

<div class="topic-metadata">

**Author:** [@rafei](https://discourse.laminas.dev/u/rafei)\
**Replies:** 0\
**Last updated:** [December 29, 2021, 7:09am UTC](https://discourse.laminas.dev/t/handling-grpc-requests-with-client-stream-and-server-stream-modes/2683 "2021-12-29T07:09:19Z")

</div>

When a request is arrived, swoole onRequest event is triggered and EventDispatcher dispatches the event to the relevant event which in this case is RequestEvent. Then, RequestHandlerRequestListener converts the swoole re…

---

## [What is the basic needle for using Swoole in Mezzio?](https://discourse.laminas.dev/t/what-is-the-basic-needle-for-using-swoole-in-mezzio/2673)

<div class="topic-metadata">

**Author:** [@rafei](https://discourse.laminas.dev/u/rafei)\
**Replies:** 1\
**Last updated:** [December 25, 2021, 11:42am UTC](https://discourse.laminas.dev/t/what-is-the-basic-needle-for-using-swoole-in-mezzio/2673 "2021-12-25T11:42:38Z")

</div>

I have installed openswoole on my server and composer install mezzio-swoole package. When I try to run Mezzio using Swoole as following: ./vendor/bin/laminas mezzio:swoole:start I get the following error: PHP Notice:…

---

## [Async task request](https://discourse.laminas.dev/t/async-task-request/2637)

<div class="topic-metadata">

**Author:** [@Leafar\_Avlis](https://discourse.laminas.dev/u/Leafar_Avlis)\
**Replies:** 0\
**Last updated:** [December 5, 2021, 7:16pm UTC](https://discourse.laminas.dev/t/async-task-request/2637 "2021-12-05T19:16:57Z")

</div>

how to create a task request (mail webservice) in order to not wait for response and continue code execution, like: class HomePageHandler implements RequestHandlerInterface{ public function handle(ServerRequestInte…

---

## [How to create a service which is not shared with other requests in mezzio-swoole](https://discourse.laminas.dev/t/how-to-create-a-service-which-is-not-shared-with-other-requests-in-mezzio-swoole/2538)

<div class="topic-metadata">

**Author:** [@Alban\_Hasa](https://discourse.laminas.dev/u/Alban_Hasa)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 12:26pm UTC](https://discourse.laminas.dev/t/how-to-create-a-service-which-is-not-shared-with-other-requests-in-mezzio-swoole/2538 "2021-10-09T12:26:57Z")

</div>

Does any one have create a service in mezzio-swoole (e.g a database connection service) which is isolated for a request? I tried to create a custom mysqli class which extends mysqli in order to store some performance re…

---

## [Mezzio-swoole: got ServiceNotFoundException when using navigation component](https://discourse.laminas.dev/t/mezzio-swoole-got-servicenotfoundexception-when-using-navigation-component/2280)

<div class="topic-metadata">

**Author:** [@jobsfan](https://discourse.laminas.dev/u/jobsfan)\
**Replies:** 16\
**Last updated:** [July 22, 2021, 6:42am UTC](https://discourse.laminas.dev/t/mezzio-swoole-got-servicenotfoundexception-when-using-navigation-component/2280 "2021-07-22T06:42:39Z")

</div>

In my mezzio-swoole testing project. I followed steps: use the command to install navigation: composer require laminas/laminas-navigation then added configuration in config/autoload/global.php as: then added t…

---

## [Is it possible and necessary to build mysql connection pool in mezzio-swoole](https://discourse.laminas.dev/t/is-it-possible-and-necessary-to-build-mysql-connection-pool-in-mezzio-swoole/2255)

<div class="topic-metadata">

**Author:** [@jobsfan](https://discourse.laminas.dev/u/jobsfan)\
**Replies:** 6\
**Last updated:** [June 28, 2021, 1:09am UTC](https://discourse.laminas.dev/t/is-it-possible-and-necessary-to-build-mysql-connection-pool-in-mezzio-swoole/2255 "2021-06-28T01:09:45Z")

</div>

Hello, I introduced the Mezzio-swoole to my workmate, he asked me whether Mezzio-swoole has implement the mysql connection pool , I check through the Mezzio-swoole document, and did not find it. Any body knows about thi…

---

## [The same project, mysql encounter error when use swoole---Solved!](https://discourse.laminas.dev/t/the-same-project-mysql-encounter-error-when-use-swoole-solved/2275)

<div class="topic-metadata">

**Author:** [@jobsfan](https://discourse.laminas.dev/u/jobsfan)\
**Replies:** 3\
**Last updated:** [April 29, 2021, 8:45am UTC](https://discourse.laminas.dev/t/the-same-project-mysql-encounter-error-when-use-swoole-solved/2275 "2021-04-29T08:45:02Z")

</div>

The same project, tototally the same. When I start-up with command: $ composer run --timeout=86400 serve It works ok, I wanna a single record printed, just like: pls visit http://139.162.123.197:9502/ for testin…

---

## [Integration of mezzio-swoole in api-tools](https://discourse.laminas.dev/t/integration-of-mezzio-swoole-in-api-tools/2220)

<div class="topic-metadata">

**Author:** [@Alin\_Jurj](https://discourse.laminas.dev/u/Alin_Jurj)\
**Replies:** 0\
**Last updated:** [April 2, 2021, 9:08am UTC](https://discourse.laminas.dev/t/integration-of-mezzio-swoole-in-api-tools/2220 "2021-04-02T09:08:21Z")

</div>

Is this possible, has anyone tried this and does it work ?

---

## [Questions about mezzio-swoole, everytime I refresh the page, title reduplicated one more time!](https://discourse.laminas.dev/t/questions-about-mezzio-swoole-everytime-i-refresh-the-page-title-reduplicated-one-more-time/2121)

<div class="topic-metadata">

**Author:** [@jobsfan](https://discourse.laminas.dev/u/jobsfan)\
**Replies:** 14\
**Last updated:** [March 29, 2021, 11:14am UTC](https://discourse.laminas.dev/t/questions-about-mezzio-swoole-everytime-i-refresh-the-page-title-reduplicated-one-more-time/2121 "2021-03-29T11:14:36Z")

</div>

Pls check this webiste http://www.mm3bb.com/ It is a brand-new skeleton, every time I refresh the home page, the title repeat one more time. like \<title\>Home - mezzio\</title\> 1st time visit \<title\>Home - mezzio - Ho…

---

## [Mezzio swoole migration and stateless services](https://discourse.laminas.dev/t/mezzio-swoole-migration-and-stateless-services/2194)

<div class="topic-metadata">

**Author:** [@sergio\_tabanelli](https://discourse.laminas.dev/u/sergio_tabanelli)\
**Replies:** 0\
**Last updated:** [March 20, 2021, 11:23am UTC](https://discourse.laminas.dev/t/mezzio-swoole-migration-and-stateless-services/2194 "2021-03-20T11:23:55Z")

</div>

Hi all! I am experimenting a porting to swoole of our company php framework, built around mezzio. Reading the documentation for mezzio-swoole I’m a little concerned about the need for stateless services. Refactor of all…
