Jef Roosens Chewing_Bever
Jef Roosens pushed to ltm at Chewing_Bever/lander 2023-12-15 11:00:12 +01:00
9a207d0b0b feat(ltm): basic parsing of vars + some tests
Jef Roosens pushed to ltm at Chewing_Bever/lander 2023-12-15 10:02:03 +01:00
1bb0e7f119 feat(ltm): some more work on the parser
Jef Roosens pushed to ltm at Chewing_Bever/lander 2023-12-14 22:29:32 +01:00
0c8c6c2b63 feat(ltm): wip compile
Jef Roosens commented on issue Chewing_Bever/lander#23 2023-12-14 10:00:06 +01:00
Proper paste pages

To keep the application self-contained, we'd need to serve at least the highlight.js file (and probably some css files later on) from the Lander server. For this, it might be good to add a /_/

Jef Roosens created branch ltm in Chewing_Bever/lander 2023-12-14 09:44:51 +01:00
Jef Roosens pushed to ltm at Chewing_Bever/lander 2023-12-14 09:44:51 +01:00
4f4b780b28 feat(ltm): start library
Jef Roosens commented on issue Chewing_Bever/lander#19 2023-12-13 10:23:26 +01:00
Use non-blocking I/O for lsm_store

After some research, it seems that it isn't actually possible to set a regular file to non-blocking, as the kernel would stil need to block if data needs to be retrieved from the file system.

Pe…

Jef Roosens closed issue Chewing_Bever/lander#19 2023-12-13 10:23:26 +01:00
Use non-blocking I/O for lsm_store
Jef Roosens commented on issue Chewing_Bever/lander#21 2023-12-13 10:20:54 +01:00
Multithreading

Along with switching to epoll, the dev branch now also supports running the event loop on multiple threads, with the orchestration being done with epoll and oneshot file descriptor events.…

Jef Roosens closed issue Chewing_Bever/lander#21 2023-12-13 10:20:54 +01:00
Multithreading
Jef Roosens commented on issue Chewing_Bever/lander#10 2023-12-13 10:18:00 +01:00
Switch to epoll

The dev branch now uses epoll.

Jef Roosens closed issue Chewing_Bever/lander#10 2023-12-13 10:18:00 +01:00
Switch to epoll
Jef Roosens pushed to dev at Chewing_Bever/lander 2023-12-12 22:23:10 +01:00
d53a949946 feat(lnm): switch to epoll
Jef Roosens pushed to dev at Chewing_Bever/lander 2023-12-12 14:56:17 +01:00
89cc41f28a chore(lander): move a log line
Jef Roosens pushed to dev at Chewing_Bever/lander 2023-12-11 15:39:55 +01:00
8e0477c34b feat(lander): fully switch to lnm logger
dde83584a7 feat(lnm): add some internal logging
3aa0ace863 feat(lnm): add logging framework
Compare 3 commits »
Jef Roosens commented on issue Chewing_Bever/lander#45 2023-12-10 19:59:57 +01:00
Namespaced entries with index pages

Instead of making the namespace routes POST-able, it might be better to add a namespace or n query param to the existing routes. For example, doing POST /s/?n=test would create a random…

Jef Roosens commented on issue Chewing_Bever/lander#45 2023-12-10 14:19:21 +01:00
Namespaced entries with index pages

We could add it so that POST-ing to a namespace URL automatically adds a new entry to the namespace with a randomized key. This way, the CLI tool could first create the namespace and then…

Jef Roosens opened issue Chewing_Bever/lander#45 2023-12-10 13:13:46 +01:00
Namespaced entries with index pages
Jef Roosens opened issue Chewing_Bever/lander#44 2023-12-10 12:58:04 +01:00
Implement get in landerctl
Jef Roosens commented on issue Chewing_Bever/lander#43 2023-12-10 12:33:04 +01:00
Properly respond to Expect: 100-continue

For this to work, we might need to introduce the concept of a validator function that is called after the request has been parsed, but before any of its body data has been read. This function…