[php-src] PR #13223: Php 8.3 pgsql pipeline mode

From: Date: Tue, 23 Jan 2024 10:09:28 +0000
Subject: [php-src] PR #13223: Php 8.3 pgsql pipeline mode
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24871@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13223 Author: degtyaryov Hello. I previously made a pool request https://github.com/php/php-src/pull/12731 For obvious reasons, this code could not be included in the release PHP-8.3 https://github.com/php/php-src/pull/12735 I haven't changed anything in the code since then. I moved the code to a separate branch. I've been using the code in production for over a month, but without using pipeline mode. I've been using pipeline mode in production for 2 weeks now. So far I haven't found any problems! I used pipeline mode: - to speed up the execution of consecutive SQL queries of different result format, which are problematic to combine into one SQL query; - to reduce the load on the database server using pg_send_prepare + pg_send_execute + pgbouncer(with enabled max_prepared_statements) for frequently used SQL queries. SQL query is also sent by 1 TCP package, no network latency, but server PostgreSQL gets only execute SQL query by name, without prepare.

« previous php.git-pulls (#24871) next »