-
https://www.ddhigh.com/2019/06/18/database-n-1-solution.html
-
After update from swoole 5.1.3 to swoole 5.1.4 server starts to randomly respond 503 status and after heavy load starts to respond 503 everytime even there is all good with resources.
Downgrade to …
-
### Symfony version(s) affected
6.3.2 ~
### Description
In the last Symfony update, that we need to update the code to use PHP attributes instead of annotations, the performance drooped especially …
-
Please add octane support
-
| Q | A
| ------------------- | -----
| Bug report? | no
| Feature request? | yes
| Swoft version | 2.0.5
| Swoole version | 4.4.3
| PHP version |…
-
近期在使用这个框架时遇到个问题:有个接口要调用外部http请求,但是外部请求比较耗时,发现只要几个人同时访问到这个接口就会挂掉(意思就是卡住),初始设置work_num为4;
后来把work_num设置为1,测试发现必然出现阻塞现象?
所以觉得这应该是一个阻塞框架?
或者是配置不对?
-
$connection = $this->pgsql->createConnection();
return $connection->select("SELECT * FROM test WHERE testid = AND testname = ;", array($id, $name));
这示例是错的,因为这个底层使用的是Coroutine\PostgreSQL
…
-
## 代码
``` php
//创建websocket服务器对象,监听0.0.0.0:9502端口
$ws = new swoole_websocket_server("0.0.0.0", 9502);
//监听WebSocket连接打开事件
$ws->on('open', function ($ws, $request) {
var_dump($request->fd, …
-
# [UPDATED]
## Version
```
### PHP VERSION:
8.3.4
### PHP EXTENSIONS:
Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, …
-
请问一下nginx如何配置 啊?