https://github.com/ivov/n8n-analytics-benchmark-sqlite
https://github.com/ivov/n8n-analytics-benchmark-sqlite
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivov/n8n-analytics-benchmark-sqlite
- Owner: ivov
- Created: 2025-01-27T10:03:22.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-02-05T17:03:57.000Z (11 months ago)
- Last Synced: 2025-04-01T16:19:47.405Z (9 months ago)
- Language: Makefile
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# n8n-analytics-benchmark-sqlite
```sh
make setup
make measure-disk-space
make benchmark-latency
make benchmark-throughput
```
Events per year assuming 10 events per execution, based on real user data points:
```
541,000 ex/day → 197,465,000 ex/year → 1,974,650,000 events/year
100,000 ex/day → 36,500,000 ex/year → 365,500,000 events/year
36,600 ex/day → 13,140,000 ex/year → 131,400,000 events/year
```
Test Result Napkin Math: 8 queries * 2 compaction schedule * 3 parameters (wf id, project id, nothing) = 48 sets of percentiles
## ToDo Until Monday
- [x] turn type into int
- [x] store dates as epoch maybe?
- [ ] run benchmark on cloud
## ToDo For Implementation
- [ ] evaluate if batching writes is worth it