Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

[mORMot] improved performance (glibc memory manager, improved PG pipelining) - #7879

Merged
NateBrady23 merged 1 commit into
TechEmpower:masterfrom
pavelmash:mormot/glibcMM
Jan 30, 2023
Merged

NateBrady23 merged 1 commit into
TechEmpower:masterfrom
pavelmash:mormot/glibcMM

Conversation

@pavelmash

Copy link
Copy Markdown
Contributor

[mORMot] improved performance:

  • glibc memory manager is used - it scales better on many threads than mORMot x64mm
  • PostgreSQL pipeline mode usage has been rethought - better to use Flush after each statement instead of PipelineSync after last statement - in this case server starts to execute queries ASAP;
  • updates in raw mode: use ::bigint[] instead of ::NUMERIC[] typecast (NUMERIC is a floating point type, but we need Int64); added order by id to minimize locks waits (as in ORM)

 - `glibc` memory manager is used - it scales better on many threads than mORMot x64mm
 - `PostgreSQL` pipeline mode usage has been rethought - better to use Flush after each statement instead of PipelineSync after last statement - in this case server starts to execute queries ASAP;
 - `updates` in raw mode: use `::bigint[]` instead of `::NUMERIC[]` typecast (NUMERIC is a floating point type, but we need Int64); added order by id to minimize locks waits (as in ORM)
@NateBrady23
NateBrady23 merged commit 917ca29 into TechEmpower:master Jan 30, 2023
franz1981 pushed a commit to franz1981/FrameworkBenchmarks that referenced this pull request Jun 23, 2023
- `glibc` memory manager is used - it scales better on many threads than mORMot x64mm
 - `PostgreSQL` pipeline mode usage has been rethought - better to use Flush after each statement instead of PipelineSync after last statement - in this case server starts to execute queries ASAP;
 - `updates` in raw mode: use `::bigint[]` instead of `::NUMERIC[]` typecast (NUMERIC is a floating point type, but we need Int64); added order by id to minimize locks waits (as in ORM)

Co-authored-by: pavel.mash <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants