Commit Graph

632 Commits

Author SHA1 Message Date
43150ae484 Fix #132: ICMP doesn't work on Mac OS 2021-07-18 20:43:44 -04:00
acb6757dc8 Minor tweaks 2021-07-18 17:29:08 -04:00
2037d9aca6 Add documentation for new storage type 2021-07-18 17:29:08 -04:00
c700154f5e Rename database package to sqlite 2021-07-18 17:29:08 -04:00
aac72e3741 Improve test coverage 2021-07-18 17:29:08 -04:00
1a597f92ba Increase test coverage and remove useless code 2021-07-18 17:29:08 -04:00
56fedcedd1 Improve test coverage 2021-07-18 17:29:08 -04:00
6bdce4fe29 Add persistence test 2021-07-18 17:29:08 -04:00
381488a1b2 Add sqlite wal files 2021-07-18 17:29:08 -04:00
42a909c1ad Update documentation 2021-07-18 17:29:08 -04:00
5a4fa6f2b0 Fix issue with store closing on configuration file update 2021-07-18 17:29:08 -04:00
bbbfe7f466 Increase sleep to give enough time for the goroutine to end its task 2021-07-18 17:29:08 -04:00
7cf1750f86 Add BenchmarkConvertGroupAndServiceToKey 2021-07-18 17:29:08 -04:00
b88ae5fcf6 Improve test coverage 2021-07-18 17:29:08 -04:00
8516c41b43 Update benchmarks 2021-07-18 17:29:08 -04:00
b90a64e2a6 Set synchronous PRAGMA instruction to NORMAL 2021-07-18 17:29:08 -04:00
627173e64f Refactor duplicate functions 2021-07-18 17:29:08 -04:00
8b5e5f54cc Refactor test setup/cleanup 2021-07-18 17:29:08 -04:00
2c95cce7b3 Consolidate store tests into interface package + Fix issues 2021-07-18 17:29:08 -04:00
2ef9329fa6 Fix pagination in memory store 2021-07-18 17:29:08 -04:00
9384373f43 Fix result ordering issue 2021-07-18 17:29:08 -04:00
d3a81a2d57 Major fixes and improvements 2021-07-18 17:29:08 -04:00
fed32d3909 Minor improvements and fixes 2021-07-18 17:29:08 -04:00
c1d9006aaf Uncomment memory benchmarks 2021-07-18 17:29:08 -04:00
7126d36d85 Implement paging and refactor stores to match new store interface with paging 2021-07-18 17:29:08 -04:00
677c7faffe Start working on paging implementation 2021-07-18 17:29:08 -04:00
8dedcf7c74 Refactor code 2021-07-18 17:29:08 -04:00
a4c69d6fc3 Implement service uptime support for database store 2021-07-18 17:29:08 -04:00
943d0a19d1 Use time.Truncate instead of manually flooring the hour 2021-07-18 17:29:08 -04:00
fd08c8b1e5 Reorder methods 2021-07-18 17:29:08 -04:00
393147c300 Add table schema for service uptime 2021-07-18 17:29:08 -04:00
f73e8a56ef Minor improvements 2021-07-18 17:29:08 -04:00
4203355edc Improve benchmarks 2021-07-18 17:29:08 -04:00
5cc1c11b1a Move all transactions to the exported methods 2021-07-18 17:29:08 -04:00
796228466d Add missing transaction rollbacks 2021-07-18 17:29:08 -04:00
23ba9795a6 Start working on GetAllServiceStatusesWithResultPagination for database storage 2021-07-18 17:29:08 -04:00
1291e86a6f Rename deleteOldResults and deleteOldEvents to deleteOldServiceResults and deleteOldServiceEvents 2021-07-18 17:29:08 -04:00
14316cfd31 Fix potential concurrent access issue 2021-07-18 17:29:08 -04:00
670272f411 Refactor code and enable WAL for 4x performance improvement 2021-07-18 17:29:08 -04:00
ffc3e644c5 Add benchmark scenarios for concurrent inserts 2021-07-18 17:29:08 -04:00
bc42d15625 Automatically clear up old events 2021-07-18 17:29:08 -04:00
20594b902c Remove unnecessary comments 2021-07-18 17:29:08 -04:00
0a3267e499 Reuse transaction on insert to improve performance 2021-07-18 17:29:08 -04:00
9c8bf2b69e Refactor uselessly complex code 2021-07-18 17:29:08 -04:00
bd1eb7c61b #136: Start working on database persistence 2021-07-18 17:29:08 -04:00
e6335da94f Minor update 2021-07-18 17:29:08 -04:00
1498b6d8a2 Add Service.Key() method to generate the unique service key 2021-07-18 17:29:08 -04:00
7aed826d65 Fix typo 2021-07-18 17:29:08 -04:00
9b68582622 Minor update 2021-07-08 23:39:12 -04:00
a1afeea56b Close #126: Don't follow redirects 2021-07-06 22:01:46 -04:00