Commit Graph

216 Commits (a0954e8d07c3a29714e8fa0a3bb8066212291845)

Author SHA1 Message Date
Jef Roosens 29f4edc059
chore(lander): fix Docker build 2023-11-14 15:34:07 +01:00
Jef Roosens 6af3e6ad6d
chore: integrate cppcheck into workflow 2023-11-14 10:49:12 +01:00
Jef Roosens b053aa6c93
feat(lander): serve content-disposition header 2023-11-12 16:35:55 +01:00
Jef Roosens 6a5b23afaa
feat(lander): store filename if provided 2023-11-12 16:13:54 +01:00
Jef Roosens 04aef2643f
chore: update changelog & landerctl 2023-11-12 15:00:20 +01:00
Jef Roosens 64af94ce7a
refactor(lander): clean up code a bit 2023-11-12 14:55:40 +01:00
Jef Roosens c026e13c44
feat(lander): server content-type header for file entries 2023-11-12 14:29:46 +01:00
Jef Roosens 70f622d9f3
feat(lander): support sendind extra attributes as custom headers 2023-11-12 14:12:13 +01:00
Jef Roosens 7fac278ead
feat(lander): introduce file entry type 2023-11-12 13:57:11 +01:00
Jef Roosens 3d48ee8019
feat(lander): support DELETE requests 2023-11-12 13:43:21 +01:00
Jef Roosens a4ad8c246e
feat(lsm): remove data file when removing entry 2023-11-12 13:21:04 +01:00
Jef Roosens c8728f2371
refactor(lsm): abstract determining entry data path 2023-11-12 13:19:30 +01:00
Jef Roosens b40389bbe2
feat(lsm): implement basic remove 2023-11-12 12:48:36 +01:00
Jef Roosens 51e4a203e9
feat(lsm): move keys to db file; idx entries are now constant length 2023-11-11 13:10:14 +01:00
Jef Roosens a6887d4094
refactor(lsm): rename some variables 2023-11-10 16:23:27 +01:00
Jef Roosens 418de748f0
feat(lsm): pave the way for removals and updates 2023-11-10 16:10:20 +01:00
Jef Roosens ddc38452be
feat(lsm): don't sync non-dirty entries 2023-11-10 11:34:55 +01:00
Jef Roosens 9b223d04a0
feat(lsm): sync database when closing handle 2023-11-09 22:40:06 +01:00
Jef Roosens eb0ce16f78
feat(lsm): store pointer to store in entry handle 2023-11-09 22:05:20 +01:00
Jef Roosens d4b21fb84d
feat(lsm): add valid entry marker to idx entries 2023-11-09 21:48:15 +01:00
Jef Roosens 2f58d1ee48
feat(lsm): track entry idx file offset 2023-11-09 21:32:39 +01:00
Jef Roosens 715e1f9a58
refactor(lsm): clean up disk write code 2023-11-09 21:07:51 +01:00
Jef Roosens 4fb127d9db
chore: update changelog 2023-11-08 21:59:47 +01:00
Jef Roosens 0efcdece48
feat(lander): store entry type as single byte 2023-11-08 18:17:58 +01:00
Jef Roosens 9c03a36aa2
fix(lsm): store data len in db; fix bug 2023-11-08 16:04:21 +01:00
Jef Roosens ef33825b7b
feat(lsm): always store entry data on disk 2023-11-08 14:11:46 +01:00
Jef Roosens 35c301955f
refactor(lsm): switch to uint8_t attr types; refactor disk code 2023-11-08 13:42:46 +01:00
Jef Roosens b5fc3a3612
refactor(lsm): decouple attribute types 2023-11-08 12:25:47 +01:00
Jef Roosens 535b92a6b6
feat(lander): integrate persistent insert & get lsm store 2023-11-08 11:19:33 +01:00
Jef Roosens 226873219b
refactor(lsm): slightly clean up disk write code 2023-11-08 10:40:12 +01:00
Jef Roosens 9c249d40c7
refactor(lsm): better separate store disk functions 2023-11-08 09:11:07 +01:00
Jef Roosens e10c43dfd6
fix(lsm): work when first creating db 2023-11-08 09:05:38 +01:00
Jef Roosens 719a65beff
chore(lsm): format code 2023-11-08 08:47:24 +01:00
Jef Roosens 38e9496717
feat(lsm): possibly added reading db file on load 2023-11-07 23:00:22 +01:00
Jef Roosens 46f89059e4
feat(lsm): start of on-disk database 2023-11-07 17:43:15 +01:00
Jef Roosens eb9157281b
chore(http): rename step to http_step 2023-11-03 15:02:03 +01:00
Jef Roosens 72fae76ef6
fix(http): don't segfault on non-routed requests 2023-11-03 14:41:55 +01:00
Jef Roosens 711eaa2bde
feat(lander): initial integration of lsm 2023-11-03 14:10:14 +01:00
Jef Roosens 8b6d1f6e91
feat(lsm): add some attr & data support functions; fix str bug 2023-11-03 13:23:46 +01:00
Jef Roosens fbf6557c05
feat(http): add step for parsing content-length header 2023-11-03 13:22:25 +01:00
Jef Roosens 7a21bed2b2
feat(lsm): add str copy_n functions 2023-11-02 13:08:36 +01:00
Jef Roosens afd18d3a37
feat(http): add custom processing to responses using response steps 2023-11-02 10:27:34 +01:00
Jef Roosens 6d74c8c550
feat(http): fully decouple HTTP loop functionality 2023-10-30 21:14:06 +01:00
Jef Roosens fc4187e6ce
feat(lsm): add entry data reading 2023-10-29 14:41:40 +01:00
Jef Roosens 1461956d98
chore(lsm): add example binary support to Makefile 2023-10-29 13:58:42 +01:00
Jef Roosens 1c421c1e67
chore(lsm): remove outdated files 2023-10-29 13:47:39 +01:00
Jef Roosens 8b2117a66c
fix(lsm): account for empty entries when appending data 2023-10-29 13:41:16 +01:00
Jef Roosens f19a8814f5
fix(lsm): write in-memory data to disk when switching to file 2023-10-29 12:33:07 +01:00
Jef Roosens f44c512099
feat(lsm): introduce entry handles for concurrent access 2023-10-29 12:19:59 +01:00
Jef Roosens 0e4e18da6c
feat(lsm): data streaming, random other stuff, locks 2023-10-28 15:49:16 +02:00