Skip to content

Performance testing that compares load tests of various web frameworks serving a PostgreSQL function through REST APIs,

License

Notifications You must be signed in to change notification settings

vb-consulting/pg_function_load_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 31, 2024
5af60bf · Dec 31, 2024

History

49 Commits
Nov 10, 2024
Dec 31, 2024
Nov 28, 2024
Nov 2, 2024
Dec 31, 2024

Repository files navigation

Load Performance Testing for Web APIs Returning a Single PostgreSQL Function

This project performs load performance testing for Web APIs on different tech stacks that will execute a single PostgreSQL function and return the result.

Running Manually

git clone https://github.com/vb-consulting/pg_function_load_tests.git
cd pg_function_load_tests
cd src
docker-compose down && docker-compose up --build --detach

Please wait a few seconds for all services to initialize properly (health check isn't implemented yet), and then run from the same directory:

docker-compose exec test /bin/sh /scripts/run.sh

Keep it running on server:

tmux              # Start a new tmux session
# Run your command
docker-compose exec test /bin/sh /scripts/run.sh
# Press Ctrl+B, then D to detach

Results will be saved to the src/k6/results/ directory under the current timestamp subdirectory.

Latest Results

License

MIT

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Performance testing that compares load tests of various web frameworks serving a PostgreSQL function through REST APIs,

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published