Commit Graph

108 Commits

Author SHA1 Message Date
Lou Knauer
ac5f113ccb Pre-allocate batchwise via mmap 2022-07-25 15:16:25 +02:00
Lou Knauer
9830f3c5d4 Fix mmap based allocator 2022-07-25 14:28:49 +02:00
Lou Knauer
a8bc250600 test streaming checkpoints 2022-07-25 14:04:26 +02:00
Lou Knauer
1125678bc0 Move selector type and read logic 2022-07-20 16:09:13 +02:00
Lou Knauer
e846a4625e Update READMEs 2022-07-20 16:04:36 +02:00
Lou Knauer
eb319aee36 Start a new api package 2022-07-14 12:34:02 +02:00
Lou Knauer
ef6e09c3e2 streaming checkpoints 2022-07-14 11:53:06 +02:00
Lou Knauer
f153207346 Start working on streaming checkpoints 2022-07-13 17:41:57 +02:00
Lou Knauer
ec3f0ec793 Use mmap for allocations 2022-07-13 16:36:20 +02:00
Lou Knauer
a0a9952ef7 test de/serialization; fix bugs 2022-07-13 14:17:28 +02:00
Lou Knauer
85fa3ce7bc Binary deserialization 2022-07-13 12:57:37 +02:00
Lou Knauer
91ced41de2 Start work on serialization 2022-07-12 15:23:17 +02:00
Lou Knauer
5f8fc36b5f Make type-ids strings 2022-05-04 09:18:56 +02:00
Lou Knauer
db099605ec Add a firstWrite method 2022-04-07 14:29:03 +02:00
Lou Knauer
6c4c8bb3ea Offset first write timestamp by halve the interval (#9) 2022-04-07 11:09:01 +02:00
Lou Knauer
ba67312c93 More debug options 2022-04-01 14:01:43 +02:00
Lou Knauer
f3d7e5c28a Cleanup; /api/debug returns JSON 2022-03-31 14:17:27 +02:00
Lou Knauer
aca13c1769 Some more heap/gc tuning 2022-03-24 10:31:11 +01:00
Lou Knauer
3eba385e97 Handle unaligned data more robustly 2022-03-18 08:37:25 +01:00
Lou Knauer
5431dd113e Cache decoded tokens (signature check is expensive) 2022-03-14 08:50:28 +01:00
Lou Knauer
fdbf94f2a1 Optionally delete checkpoints instead of archiving 2022-03-14 08:48:22 +01:00
Lou Knauer
0b66f7c5d7 Reduce gc target percentage 2022-03-09 14:21:03 +01:00
Lou Knauer
720924a7dd Fix float precision 2022-03-08 09:32:35 +01:00
Lou Knauer
2528dc8403 Add decodeLine benchmark 2022-03-08 09:31:16 +01:00
Lou Knauer
3619d7a157 Refactor and simplify 2022-03-08 09:27:44 +01:00
Lou
66be268b57
Merge pull request #8 from ClusterCockpit/rename_and_makefile
Rename main Go file and add scripts for system(d) integration
2022-03-08 09:19:24 +01:00
Thomas Roehl
bbf49e1b21 Add Makefile 2022-03-07 12:22:22 +01:00
Thomas Roehl
3ec4dd7f69 Add spec file for RPM building 2022-03-07 12:22:14 +01:00
Thomas Roehl
7a5a611d8e Add additional files for systemd and init system 2022-03-07 12:21:59 +01:00
Thomas Roehl
d546b0e7d1 Move systemd service file to scripts subfolder 2022-03-07 12:21:20 +01:00
Thomas Roehl
36c1e81609 Rename main source to fit binary name 2022-03-07 12:21:01 +01:00
Lou Knauer
af8a275088 Fix panic in ListChildren 2022-03-04 15:33:47 +01:00
Lou Knauer
902fcf9510 Allow multiple nats subscriptions 2022-02-22 14:18:44 +01:00
Lou Knauer
d8e25063f9 allow setting the cluster tag via query parameter 2022-02-22 13:58:10 +01:00
Lou Knauer
182a1fa67d fix file descriptor leak 2022-02-21 12:29:46 +01:00
Lou Knauer
29fe272ea9 Remove 'scope' field from config 2022-02-21 10:00:29 +01:00
Lou Knauer
eb2f4edfe1 parallelize zipping/archiving 2022-02-21 09:53:40 +01:00
Lou Knauer
dea577424e parallel checkpointing 2022-02-17 11:00:30 +01:00
Lou Knauer
6ab7b6879c Continue even if checkpointing some singel file fails 2022-02-17 10:11:27 +01:00
Lou Knauer
7201251600 Enable basic authentication for NATS 2022-02-04 08:52:53 +01:00
Lou Knauer
83d1cb2a98 Add documentation, change config format 2022-02-04 08:46:14 +01:00
Lou Knauer
8fb2557f97 Support HTTPS; Add /api/debug 2022-02-04 08:31:03 +01:00
Lou Knauer
f38353a879 fix error behaviour, enable padding by default 2022-02-02 11:45:52 +01:00
Lou Knauer
15d28af12d Change /api/query return type 2022-02-02 11:26:05 +01:00
Lou Knauer
407e650745 fix NaN too null conversion and restore duration 2022-01-31 16:34:42 +01:00
Lou Knauer
371afe5ab5 optionally pad the returned data with null 2022-01-31 16:32:50 +01:00
Lou Knauer
5c16393e30 Update README.md 2022-01-31 10:53:06 +01:00
Lou Knauer
f8ec5994c3 Use time.ParseDuration for intervals in config 2022-01-31 10:52:30 +01:00
Lou Knauer
af38004a76 better JSON encoding (less allocs) 2022-01-24 09:55:33 +01:00
Lou Knauer
4a78a24034 Copy all byte slices from decoder
While trying to optimize things I overread this: "the byte slices returned by the Decoder methods are only valid until the next call to any other Decode method."
2022-01-24 09:50:12 +01:00