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

[JavaScript] Add HyperExpress - #8305

Merged
NateBrady23 merged 9 commits into
TechEmpower:masterfrom
masfahru:master
Jul 12, 2023
Merged

NateBrady23 merged 9 commits into
TechEmpower:masterfrom
masfahru:master

Conversation

@masfahru

@masfahru masfahru commented Jul 7, 2023

Copy link
Copy Markdown
Contributor

I have tested it using a single VM (8 vcpus, 8 RAM)

@masfahru

masfahru commented Jul 7, 2023

Copy link
Copy Markdown
Contributor Author

Hi @nbrady-techempower , kindly review this PR and let me know if there is anything i should do

thanks

masfahru added 2 commits July 10, 2023 23:52
* [HyperExpress] Instantiating json for each request

* [HyperExpress] add max connections to postgres
* [HyperExpress] Fix starting app in single instance

* [HyperExpress] Remove unused scripts

* [HyperExpress] Removing postgres pool max connections
@masfahru

Copy link
Copy Markdown
Contributor Author

Hello, i push an update to remove max connections from postgres.js pool options because after doing benchmark using 3 VMs (cloud) and multiple variant of postgres.js pool's max connections, I found that in my case, using default options of postgres.js pool is better than setting the max connection for multiple queries and data updates.

Multiple queries
image

Data updates
image

The results can be seen here: https://www.techempower.com/benchmarks/#section=test&shareid=3aa46b7c-d9f7-4110-913d-d5cb233df7c7&test=query

VMs used:

  • Client 8 vcpus / 8 GB RAM
  • Database 4 vcpus / 16 GB RAM
  • Server 4 vcpus / 16 GB RAM

Thanks

@NateBrady23
NateBrady23 merged commit 1439123 into TechEmpower:master Jul 12, 2023
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