Created for educational purposes only. This is a rust http file server for vite generated static files.
Topics Learned:
- Rust
- Linux
- Concurrency
- Hopefully: Atomics
- OpenTelemetry Instrumentation
The frontend is generated via this script
deno run -RWE npm:create-vite-extra@latestWith these configurations:
# relevant configuration
✔ Select a template: › deno-react
✔ Select a variant: › TypeScriptBackend uses the standard cargo init command.
Iteration Abstraction Ownership
- Automatic Drops
Defensive programming.
Stack and Heap Automatic Drops Channels
alternative async
Logs, Metrics, Trace
Potential Side Quests:
- Investigate how variables are allocated in rust.
- Create custom channels
- Socket based
- Memory Based: for sending signals to child threads, in order of receiving them.
- Do a trace of system calls.(use provided tools, kernel code reads)
- Build an Operating System
- Using io_uring instead of direct syscalls for this.
- Make this production ready.
- Program the kernel:
- build this server into the kernel
- Build an in kernel monitoring solution
- eBPF, straight kernel
- use eBPF
- write my own syscall
- write my own file system (enable poll use on my files, abstract over a popular site i.g. google)