Sean McBride
86b1a274e9
chore: validation and active as boolean
4 years ago
Sean McBride
6554e6d1fe
fix: correct sloppy overflow
4 years ago
Sean McBride
240a1af6c7
chore: update extern to match integral MHz
4 years ago
Sean McBride
9767aec9ad
chore: refactor away DEBUG define
4 years ago
Sean McBride
5d8a761b61
feat: Refactor of conditional compilation units
4 years ago
Sean McBride
8aef688553
feat: runtime configurable sandbox perf logging
4 years ago
Sean McBride
c0a97a5394
feat: Expose scheduler as runtime config
4 years ago
Sean McBride
46f597a78c
fix: correct http-parser bug
4 years ago
Sean McBride
ff8c04a6e9
chore: Change client parsing from error to log
4 years ago
Sean McBride
10ad100847
feat: Use integers for admissions control
4 years ago
Sean McBride
92c17d7717
chore: Assorted debugging enhancements
4 years ago
Sean McBride
a7293a7a0a
feat: non-blocking listener core
4 years ago
Sean McBride
c1edca2a42
chore: assorted socket error handling
4 years ago
Sean McBride
9ead528dfc
chore: better debugging and small socket fixes
4 years ago
Sean McBride
76ba308c16
feat: Initial MVP of admissions control
4 years ago
Sean McBride
6cb442d13d
docs: assumptions and runtime globals
4 years ago
Sean McBride
ba4f9e2119
feat: precomp module deadline cycles
4 years ago
Sean McBride
e898d5ab69
chore: validate interrupts disabled at spinlock
4 years ago
Sean McBride
8e36412944
choe: add util to detect if worker
4 years ago
Sean McBride
d6f10cac7a
refactor: decompose types.h
4 years ago
Sean McBride
213c558a75
chore: refactor out i32
4 years ago
Sean McBride
4cb7c355b4
chore: refactor out u32
4 years ago
Sean McBride
eca987ccb4
fix: correct valgrind errors
4 years ago
Sean McBride
0eb474a8d7
chore: replace app header guards w pragma once
4 years ago
Sean McBride
29201f737d
docs: Use style guide format for comments
4 years ago
Sean McBride
c0d82db22b
fix: Correct memory leak and general cleanup
5 years ago
Sean McBride
83ee42e89b
chore: break up runtime and worker_thread
5 years ago
Sean McBride
d42370c357
chore: simplify sandbox_allocate
5 years ago
Sean McBride
6a7bbc2e97
feat: add deadline logic
5 years ago
Sean McBride
34d91cfa21
refactor: wrap existing request queue
5 years ago
phani
7ff05b9d73
making it work for aarch64 - seem to work on RPi
...
* changes to be fully tested!
* cas etc needs to be implemented for aarch64
5 years ago
Sean McBride
a70a83326c
chore: de-dunder worker_thread
5 years ago
Sean McBride
ba032a5905
chore: de-dunder runtime
5 years ago
Sean McBride
4d660e666b
chore: de-dunder listener thrd, module, libuv cbs
5 years ago
Sean McBride
439bd523b8
chore: namespace runtime.h functions
5 years ago
Sean McBride
346c391ece
feat: Improve wasm string null-termintor checks
5 years ago
Sean McBride
c9b9a6553e
chore: run clang-format
5 years ago
Sean McBride
2d9a3925cd
chore: namespace runtime.c
5 years ago
Sean McBride
70d87fcb51
chore: partial namespace of runtime
5 years ago
Sean McBride
7f858d69dd
chore: namespace runtime state
5 years ago
Sean McBride
b896f6f1b1
chore: move rdtsc to util
5 years ago
Sean McBride
ea888ddbb3
chore: assorted refactors
5 years ago
Sean McBride
9762477902
chore: assorted refactors
5 years ago
Sean McBride
4a80e6dd70
chore: assorted refactors
5 years ago
Sean McBride
6946b08644
refactor: modularize and rename things
5 years ago
Sean McBride
e61be257f9
chore: add clang-format from Composite ( #5 )
...
* chore: add clang-format from Composite
* chore: cleanup JSON
* chore: add clang-format from Composite
* chore: stylistic corrections
* chore: ignore swap files and vscode conf
* chore: check semver of clang-format and require 9
5 years ago
phani
645d138787
for runtime with multi-sandboxing, globals are to be populated per sandbox, that was what causing random crashes!
5 years ago
phani
611ec2257a
keep empty and add work program
5 years ago
phani
8a3e050282
Support TCP (TODO: http parsing based on module specification)
...
* Major:
- Moved sandbox data struct into linear memory of a sandbox.
- (Should work well with other sandboxing mechanisms).
- Removed all mallocs from within uv usage, using a pre-allocated
memory within sandbox data-struct for read/write.
- TODO: convert prints on stdout to a string and send it out with
function response body.
- TODO: for each function loaded, what is the request and response
http header/body specification.
To start, keep headers minimal.
body either: json, plain.
- TODO: track TIMEOUTS. If we go beyond that, return a HTTP 408?
5 years ago
phani
eb8fcf00c4
Work-stealing deque for global request queue
...
* all cores steal from that queue.
* other bug fixes
* tested with NCORES = 2 and 4.
5 years ago