Repository navigation
aa - #16
Merged
Merged
aa#16
Conversation
* Revert PHP to ubuntu 20.04 * Import last composer to avoid problem with 20.04 * Add git new composer need it * Add mbstring to ubiquity-workerman variants
* Fix error with URLs in JEE servers * Clean up * Avoid classpath URLs * Fix template loading error * Fix template loading error * Chores * Fix template loading error * Delete MongoDB DB support Storage support in Hexagon will be moved outside the Toolkit, and so, it will be left outside the benchmark. * Fix runtime problem * Update Hexagon version * Make Jackson Blackbird module optional
* cutelyst: Optimize Fortunes test * cutelyst: use mimalloc allocator
* updated to version 2.1. * renamed * updated benchmark_config.json
* downgrade to Ubuntu 20.04 + fix composer pbs * fix ubiquity path * Update ubiquity-ngx-micro.dockerfile * fix typo * fix php_ini_path
* update smart-servlet to 0.1.3-SNAPSHOT * update aio-enhance to 1.0.3-SNAPSHOT * smart-servlet bugfix * bugfix * update smart-socket to 1.5.6-SNAPSHOT * remove file * update aio-enhance to 1.0.4-SNAPSHOT * 优化代码 * 优化代码 * update smart-socket to 1.5.6 * config threadNum * update smart-socket to 1.5.7-SNAPSHOT * 优化代码 * update smart-socket to 1.5.10-SNAPSHOT * 优化代码 * 优化代码 * 优化代码 * 异常aio-enhance * 优化代码 * 优化代码 * 优化代码 * remove aio-pro
Co-authored-by: Pablo Taboas <[email protected]>
…nnections (#6774) * Naming of tests aligned to asp.net core * Lower number of MySQL pooled connections
* feat: add mixphp * update /fortunes views and mixphp-workerman.dockerfile * Add bin/*.php * update dockerfile * update mixphp-workerman.dockerfile * Add mixphp-workerman-pgsql * update views/fortunes.php * update fortunes() * update conn pool $maxOpen * orm switch to object * update orm switch to object * Remove useless code * debug build docker * build dockerfile remove > /dev/null * handle false & update routes * Add 500 handle, close swoole coroutine * Update dockerfile * Update dockerfile * Update dockerfile * Update dockerfile * Update dockerfile * Update dockerfile * Update readme * Enable swoole coroutine * disable swoole coroutine * enable swoole coroutine * Update pool * disable swoole coroutine * Update ubuntu version * Update composer install * Remove workerman-mysql json_url plaintext_url * Update start params * Add phpfpm * Add phpfpm * Add phpfpm * Update mixphp.dockerfile * Update mixphp.dockerfile * Update mixphp.dockerfile * Update dockerfile * Update swoole.php
* Update IndexController.php * reduce connections
* upgrade rust version * upgrade salvo version * Update benchmark_config.json * update render template * use serde_json * serde_json * upgrade version to 0.11 * dynamic sizing for fortunes * dynamic sizing for fortunes * Update main_db.rs * use get_unchecked * bug fix * bug fix * update version * use gen_range
* Update vertx-netty-native * Update application.xml * Update pom.xml * Update persistence.xml
smthing
pushed a commit
that referenced
this pull request
Mar 14, 2026
… to compare R2DBC connection pool strategies for `vertx-web-kotlinx-exposed-r2dbc-postgresql` (TechEmpower#10722) * Add 8 benchmark configurations to compare R2DBC connection pool strategies for vertx-web-kotlinx (exposed-r2dbc-postgresql and r2dbc-postgresql) (#16) * Initial plan * Optimize R2DBC connection pool configuration for vertx-web-kotlinx-exposed-r2dbc-postgresql - Replace generic ConnectionFactories.get() with optimized PostgresqlConnectionFactory - Add TCP optimizations: tcpKeepAlive(true), tcpNoDelay(true), sslMode(DISABLE) - Add connection pool timeouts: maxIdleTime(30s), maxAcquireTime(5s) - Add connection validation query: SELECT 1 - Increase pool size from 1 to 512 to match ktor-netty-exposed-r2dbc-dsl configuration Co-authored-by: ShreckYe <[email protected]> * Share R2dbcDatabase instance across verticles instead of creating per-verticle pools - Create single R2dbcDatabase with 512-connection pool in Main.kt - Pass shared instance to all MainVerticle instances via constructor - Eliminates N*512 connection pools (one per CPU core) problem - Now correctly uses a single shared pool of 512 connections total Co-authored-by: ShreckYe <[email protected]> * Add 4 benchmark configurations for R2DBC connection pool comparison - Config 1 (separate-pool-size-1): Original code with pool size 1 per verticle - Config 2 (separate-pool-size-8): Pool size 8 per verticle (~512 total on 56-core machine) - Config 3 (separate-pool-size-8-optimized): Config 2 with optimized connection settings - Config 4 (shared-pool-512-optimized): Shared pool of 512 with optimized settings Created: - MainVerticleSeparatePool.kt for per-verticle pool configurations - 4 Main*.kt entry points for each configuration - R2dbcOriginal.kt for original connection factory - 4 dockerfiles with appropriate entry points - Updated benchmark_config.json with all 4 configurations - Updated build.gradle.kts to generate start scripts for all configurations Co-authored-by: ShreckYe <[email protected]> * Refactor to use CLI arguments instead of multiple main functions - Removed separate Main*.kt files, use single Main.kt with CLI args - Merged MainVerticleSeparatePool into MainVerticle.kt as factory functions - Reverted build.gradle.kts to original state (no multiple start scripts needed) - Updated dockerfiles to pass CLI args: isSharedPool poolSize useOptimizedConfig - Renamed shared-pool-512-optimized to shared-pool-size-512-optimized for consistency - Removed backwards compatibility aliases from R2dbc.kt - Reverted original vertx-web-kotlinx-exposed-r2dbc-postgresql.dockerfile to original state Co-authored-by: ShreckYe <[email protected]> * Fix SSL certificate issues for TFB and Gradle builds - Added --trusted-host flags to pip install in main Dockerfile - Created init.gradle to allow insecure protocols in Gradle repositories - Updated buildSrc/build.gradle.kts to use explicit dependencies instead of version catalog - Updated buildSrc/settings.gradle.kts to configure repositories properly - Added GRADLE_OPTS environment variables to framework dockerfiles - Updated gradle.properties with SSL trust properties Changes enable tfb command to run without SSL certificate verification errors. Co-authored-by: ShreckYe <[email protected]> * Update dockerfile with CA certificates and permissions fixes - Added CA certificates update to fix SSL issues - Fixed permissions for gradle user - Simplified buildSrc/build.gradle.kts with explicit kotlin-dsl version - Added comprehensive SSL environment variables Progress: Main TFB Docker image builds successfully. Framework build still blocked by Gradle plugin repository SSL issues. Co-authored-by: ShreckYe <[email protected]> * Revert unsuccessful SSL workaround attempts - back to f0d386a Reverted commits 98683e8 and 9604e5d which attempted to fix SSL certificate issues but were unsuccessful in the GitHub Actions environment. Removed: - init.gradle (SSL workaround configuration) - gradle.properties (SSL trust properties) - CA certificate updates in dockerfiles - buildSrc modifications for SSL handling - Dockerfile pip SSL workarounds Back to working 4-configuration implementation with CLI arguments. Co-authored-by: ShreckYe <[email protected]> * Restore gradle.properties that existed at f0d386a The gradle.properties file with parallel and configuration-cache settings existed at f0d386a and should not have been deleted. Co-authored-by: ShreckYe <[email protected]> * Remove 2 unused functions * Rename * Rename and reorganize some functions * Rename for clarity Reviewed by Copilot. * Remove unused code which is also put in the wrong file * Replicate 4 benchmark configurations for vertx-web-kotlinx-r2dbc-postgresql - Updated r2dbc Main.kt to accept CLI arguments (isSharedPool, poolSize, useOptimizedConfig) - Updated r2dbc MainVerticle to accept ConnectionFactory parameter - Added MainVerticleWithSeparatePool factory function for separate pool configurations - Created 4 new dockerfiles for r2dbc-postgresql variants: * separate-pool-size-1: Pool size 1 per verticle, original connection factory * separate-pool-size-8: Pool size 8 per verticle (~512 total on 56-core), original factory * separate-pool-size-8-optimized: Pool size 8 with optimized TCP settings and validation * shared-pool-size-512-optimized: Single shared pool of 512 with optimizations - Added 4 new test configurations to benchmark_config.json - Build verification successful This mirrors the exposed-r2dbc-postgresql configuration approach for comprehensive comparison. Co-authored-by: ShreckYe <[email protected]> * Fix r2dbc Main.kt to properly handle separate pool mode - Removed unreachable throw statement - Restructured code to only create connectionFactory when isSharedPool is true - Separate pool mode now correctly calls MainVerticleWithSeparatePool factory function This fixes the GitHub Actions failure where the 3 r2dbc-postgresql separate pool configurations were not launching properly. Co-authored-by: ShreckYe <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ShreckYe <[email protected]> Co-authored-by: Yongshun Ye <[email protected]> * Add maintainer information as requested * Remove the `vertx-web-kotlinx-r2dbc-postgresql` variant configurations --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: ShreckYe <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.