Comments (3)
I was investigating adding optional HTTP support via routerify
and replace the server's websockets with it. It looks like routerify
is going through an update to 2.0, and it might take the ecosystem a little while to get caught up. Currently routerify-websocket
introduces old tokio dependencies, which I'd prefer to avoid. I want to wait until it is updated. It appears work is underway.
Overall, I like the design of routerify
's API, so I'd rather wait and adopt it than seek other solutions. So, for now I'm going to just table this project for a little while and focus on other areas.
from bonsaidb.
Tokio has a new project that looks very tempting: https://tokio.rs/blog/2021-07-announcing-axum
It honestly feels like a better choice as I can investigate exposing the HTTP layer as a tower service? Not really sure, I need to spend time understanding how tower combines services, but it seems like this is a good direction to explore.
from bonsaidb.
In #97, I've implemented this by extending the Backend
trait with an extra method when the http
feature flag is enabled (server-http
for the omnibus crate). I've added an example that shows how to use this to serve requests using the Axum
crate. Additionally, #95 added automatic ACME certificate acquisition.
This issue as it stands has been implemented, although we still have more a grandiose vision for the platform as a whole.
from bonsaidb.
Related Issues (20)
- Prevent errors on case-insensitive filesystems HOT 2
- Create `#[derive(Views)]` macro for collections
- Clean up feature flags
- Do the Schema types need Debug?
- CollectionDocument should have helpers for Transactions
- List of imperfections HOT 4
- Client should have configurable timeout options
- CollectionDocument should support borrowing
- Split Backend trait into types and functions
- Would you consider linktime registration of collections HOT 1
- wasm client issues on main
- Client crate shouldn't require js-sys
- Add field attribute for Key derive to delegate encoding/decoding HOT 2
- Build issues on windows with outdated sysinfo/ntapi HOT 2
- Derive macros should error if field attributes are used, but not supported
- Allow `modify_async` to return a value. HOT 4
- Entry API shouldn't require NamedCollection
- Custom key implementation confusion HOT 7
- get_multiple doesn't document result order HOT 2
- Improve `Collection::push` documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonsaidb.