Philipp Oppermann
5eddf1cae9
Remove uneeded serialization methods
3 years ago
Philipp Oppermann
b7f47c3d99
Log an error instead of panicking when ShmemServer is dropped before client
3 years ago
Philipp Oppermann
827fb1b241
Fix: Don't use timeout on EventStream client
3 years ago
Philipp Oppermann
3aa50d2209
Assert that message length is never 0
3 years ago
Philipp Oppermann
5b12ba8428
Panic when shm server is dropped before client
3 years ago
Philipp Oppermann
503a9497fd
Use shared memory for event stream too
3 years ago
Philipp Oppermann
670c154e5e
Create a safer server/client API on top of `ShmemChannel`
3 years ago
Philipp Oppermann
8d1c3742a1
Implement disconnect signal for `ShmemChannel` and set it on drop
3 years ago
Philipp Oppermann
6ae75c04bd
Remove some log messages
3 years ago
Philipp Oppermann
f04960d680
Fix event + data offsets for Shmem channel client
3 years ago
Philipp Oppermann
6253d6e5ad
Fix: Initialize events to 'clear' state and length to 0
3 years ago
Philipp Oppermann
70298d836f
Start migrating the daemon control channel to shared memory
The goal is to avoid the latency of the TCP socket.
3 years ago
Philipp Oppermann
218106721d
Add watchdog for checking that coordinator is still reachable
Throw an error if a daemon cannot reach the coordinator anymore.
This is only an interim solution. In the future, we want to make the daemon more robust and ideally even allow restarts of the coordinator.
3 years ago
Philipp Oppermann
2b7d2508f4
Implement watchdog messages for detecting sudden disconnects of daemon
3 years ago
Philipp Oppermann
35e86684d0
Update `up` and `destroy` commands for dora-daemon and ensure proper coordinator exit
3 years ago
Philipp Oppermann
7448594622
Update `dora check` to check whether daemon is running
3 years ago
Philipp Oppermann
778d9d7eb7
Fix: Use correct length for received data
The shared memory region size might be larger because of padding.
3 years ago
Philipp Oppermann
df5dcfb342
Merge branch 'main' into unify-nodes-and-operators
3 years ago
Philipp Oppermann
2ed7db1b0e
Make `dora stop` command working with new daemon design
3 years ago
Philipp Oppermann
377703c325
Report finished dataflows from daemon to coordinator
Makes the `dora list` command work.
3 years ago
Philipp Oppermann
2527ca0e85
Report spawn result from daemon to coordinator
3 years ago
Philipp Oppermann
d3914cca60
Merge pull request #157 from dora-rs/release
Simplify release process
3 years ago
Philipp Oppermann
a2cc06ca50
Use drop tokens and reference counting to free shared memory again after usage
3 years ago
Philipp Oppermann
8225c9f1c5
Make events a borrowed type and report to daemon when they're dropped
3 years ago
Philipp Oppermann
3cd1b4de65
Notify downstream nodes about closed inputs
3 years ago
Philipp Oppermann
a10fd0b1cb
Implement timer messages
3 years ago
Philipp Oppermann
ce4e5a1616
Send metadata through TCP for now
3 years ago
Philipp Oppermann
0ae5fc2ffa
Add dataflow ID to daemon messages
3 years ago
dependabot[bot]
2ba6b1c41c
Bump capnp from 0.14.9 to 0.14.11 ( #158 )
Bumps [capnp](https://github.com/capnproto/capnproto-rust ) from 0.14.9 to 0.14.11.
- [Release notes](https://github.com/capnproto/capnproto-rust/releases )
- [Commits](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.14.9...capnp-v0.14.11 )
---
updated-dependencies:
- dependency-name: capnp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Philipp Oppermann
433b7b4ed7
Merge branch 'main' into unify-nodes-and-operators
3 years ago
Philipp Oppermann
cc1dc971ed
Update dora-coordinator to start dataflows through dora-daemon
3 years ago
Philipp Oppermann
4d291927a1
Define new message types
3 years ago
Philipp Oppermann
d8260d5d2c
Inherit package version from workspace root
This way, we don't need to update the version manually in all sub-crates on every release.
3 years ago
Philipp Oppermann
2e7ef8b630
Implement shared memory mapping in node API
3 years ago
haixuanTao
b15d25b9a3
Fix clippy warnings
3 years ago
haixuanTao
9a0b303e98
Replace all versions to `v0.1.1`
3 years ago
haixuanTao
e4cc3cf2a1
Fix template for `v0.1.1`
3 years ago
Philipp Oppermann
e36f15e369
Add support to subscribe to messages in daemon
3 years ago
Philipp Oppermann
c2e4948dd5
Update Rust node API to communicate through dora-daemon
3 years ago
Philipp Oppermann
7d85b92b2a
Connect to dora-daemon from node API and register with node ID
3 years ago
Philipp Oppermann
f7c6cca943
Move port number constant to `dora-core`
3 years ago
Xavier Tao
86db6c007e
Implement an interactive `dora stop` command ( #143 )
3 years ago
Philipp Oppermann
92af6439c4
Tweak display implementation of DataflowId
3 years ago
Philipp Oppermann
3c2a2dd6da
Allow optional naming of dataflows
3 years ago
Haixuan Xavier Tao
8f6ed9266b
Change cache log level
3 years ago
Xavier Tao
20262c12ea
Update libraries/extensions/download/src/lib.rs
Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
3 years ago
Philipp Oppermann
03d9c05eab
Use TCP-based request/reply communication layer for control messages
Use the new request/reply communcation layer and its TCP-based implementation for sending control messages from the CLI to the dora coordinator.
3 years ago
Philipp Oppermann
fc50a8232f
Create a request/reply communication layer abstraction
And a TCP-based implemenation.
3 years ago
haixuanTao
399f1dcfad
Use cache instead of downloading file each time
This is particularly useful if internet is down.
3 years ago
Philipp Oppermann
db8453ae90
Fix clippy warnings
3 years ago