Ask or search…

Vimana Building Blocks

Space Cores in a decentralized system, like Vistara, represent modular parts of the system that perform specific functions. They're akin to services in traditional cloud environments (like AWS Lambda functions). Vimana space cores refer to specific nodes or services like Celestia light nodes, Bitcoin nodes, or Ethereum light clients.
  1. 1.
    Functioning on the Tech Level:
    • Isolation: Each space core operates in an isolated environment to ensure that it doesn't interfere with other space cores. This is where technologies like hypervisors and microVMs (such as Firecracker) come into play. They allow space cores to run in lightweight, secure virtual environments.
    • Communication: Space cores communicate with one another and the broader network via well-defined interfaces or APIs. In Vistara's decentralized system, this communication employs peer-to-peer (P2P) protocols.
    • Deployment and Scaling: Space cores can be dynamically deployed or scaled based on demand. For instance, if there's a sudden demand for Ethereum light client operations, Vistara can deploy more of these components to balance the load.
  2. 2.
    Serverless Deployment with Firecracker MicroVMs: To create a decentralized serverless deployment system, the implementation would use Firecracker microVM solution. It offers several benefits:
    • On-Demand Deployment: When a user wants to deploy a piece of code serverlessly, the system dynamically initializes a Firecracker microVM instance. This instance is lightweight, starts quickly, and provides the necessary runtime environment.
    • Execution: The user's code runs inside this microVM, with all the necessary resources allocated to it. Since it's isolated, it doesn't matter if the code crashes or has issues; it won't affect other parts of the system.
    • State Management: If the serverless function needs to maintain or access a state, it can do so via decentralized storage solutions or interact with blockchain components as required.
    • Billing and Metering: Vistara can monitor the execution time and resource consumption of these microVMs to determine costs. These can be charged in Vistara's native token or another suitable mechanism.
    • Shut Down: Once the code execution is complete, the microVM can be safely terminated, freeing up resources for other tasks.
    • Security: Firecracker microVMs offer a sandboxed environment, which means even if there's malicious code, it remains contained and can't harm the broader network.
  3. 3.
    Benefits of Using Firecracker MicroVMs in a Decentralized Environment:
    • Rapid Deployment: MicroVMs like Firecracker boast millisecond-level startup times, making them perfect for on-demand, serverless operations.
    • Resource Efficiency: MicroVMs are lightweight and consume fewer resources than traditional VMs or even some container solutions.
    • Scalability: Given their lightweight nature, you can run thousands of microVMs on a single host, allowing for massive parallelism and scalability.
    • Security: MicroVMs provide a sandboxed environment, ensuring that the code running inside them doesn't interfere with the host system or other microVMs.