Commits
and cross notes for aarch64 raspi4
musl works -- gnu had some issue with the linker at runtime or something.
UFOs: jetstream backfill
UFOs HLL DID-hashing: secret prefix
could probably get away with either just ranking records (upper bound for DIDs) or DIDs (lower bound for records) but ordering by the other would probably be messy / approximate. these indices should be pretty cheap to store, so doing it is must a matter of overcoming my laziness
to that effect i'm finally adding a macro for the static_str thing, and made the keys generic-ish.
takes it from ~600ms per trim to ~3ms on my laptop
keeps a list of dirty collections in memory from rollups and trims those
apparently allows browser scripts to set a custom ua
in prod nginx is currently overriding all cors stuff anyway, but
Bump crossbeam-channel from 0.5.14 to 0.5.15
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15)
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
lkasdjflaksjdlfjkas lfdkja slfdj alskdfj laksj dflkaj sdflkaj sdf
jlajk sdflkja sldfkj a
sd f
kj asldfj alksdjf laj d
f;ja sldj falksfd lkasjdf lakj dflj
alksdjf lakjs dflakjs dflkajs dlfkaj sldfkja
s;df jlaksjd flkasj fj
laksdjflkasjdflkajsdflkjasldfkja
can't use generics in server context for dropshot so everything is pain
- we can use a dyn thing to get the store reader into the context
- but then we can't be clone, so
- we cannot spawn_blocking to wrap the db calls because
- dropshot only gives us a borrow of the context and
- tokio spawn_blocking needs 'static
we *can* use block_in_place, but this doesn't feel particularly good.
we could hard-code the server to use the fjall store, but this feels worse.
it might be possible to use async-trait and push the spawning down to the store internals, who can clone the necessary things to become 'static i think? will try this next.
could probably get away with either just ranking records (upper bound for DIDs) or DIDs (lower bound for records) but ordering by the other would probably be messy / approximate. these indices should be pretty cheap to store, so doing it is must a matter of overcoming my laziness
to that effect i'm finally adding a macro for the static_str thing, and made the keys generic-ish.
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15)
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
laksdjflkasjdflkajsdflkjasldfkja
can't use generics in server context for dropshot so everything is pain
- we can use a dyn thing to get the store reader into the context
- but then we can't be clone, so
- we cannot spawn_blocking to wrap the db calls because
- dropshot only gives us a borrow of the context and
- tokio spawn_blocking needs 'static
we *can* use block_in_place, but this doesn't feel particularly good.
we could hard-code the server to use the fjall store, but this feels worse.
it might be possible to use async-trait and push the spawning down to the store internals, who can clone the necessary things to become 'static i think? will try this next.