Coder Social home page Coder Social logo

Implement NBD server about gneiss HOT 3 CLOSED

componolit avatar componolit commented on May 23, 2024
Implement NBD server

from gneiss.

Comments (3)

jklmnn avatar jklmnn commented on May 23, 2024

I did some searches and NBD seems to be the only reasonable way to implement a block device driver in user space on Linux without a custom kernel module.
There's also a simple abstraction layer which we probably could partially reuse.

from gneiss.

senier avatar senier commented on May 23, 2024

I couldn't find any user-space alternative to NBD for implementing block devices on Linux either. Linking our components with more untrusted code like BUSE feels like a step into the wrong direction, though. Especially as this would only be applicable to Linux hosts.

If we pursue the NBD idea, we should rather define a network (stream) server interface for CAI and implement the NBD protocol using RecordFlux. This way we'd gain a trusted component that can run on different platforms and we would extend CAI with another useful session type that is tested in a real-world setting.

An interesting different direction is the one we discussed lately, moving our components into the Linux kernel by implementing a Linux kernel platform in the runtime and CAI. Running Ada code inside the kernel has been done. Implementing block servers should be trivial then.

from gneiss.

jklmnn avatar jklmnn commented on May 23, 2024

I didn't consider BUSE as a dependency to link against but rather a proof of concept that we could look into when creating our own implementation. I also opened #51 to discuss the platform definition issue separately.

from gneiss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.