Run function-like services through Hyperlight host functions

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
kubernetes, rust

调研方向

Read docs/designs/runtime-adapters.md first to understand the nearer-term migration path. The issue calls for defining a versioned guest/host function ABI, compatibility negotiation, and proof of runtime behaviors including snapshot restore and cancellation; no implementation files or tests are named. Done means a design and implementation path that preserves compatibility with existing user binaries.

由索引模型根据 Issue 内容生成。

描述

a-human-needed a-needs-info
Goal

Let service authors write a single handler while Lampyr supplies protocol and platform behavior through Hyperlight host functions.

Hyperlight-specific advantage

Hyperlight can swap the host-side implementation while a guest continues calling a stable host-function ABI. If that ABI remains compatible, Lampyr can improve routing, protocol handling, policy, observability, or integration behavior without rebuilding the user binary and without publishing a new user service image. This is a key product advantage and must remain visible in the design.

Future work
  • Define and version the guest/host function ABI.
  • Generate language bindings for Service Handler request, response, event, streaming, and session types.
  • Move suitable Runtime Adapter responsibilities from guest-side generated code to the Hyperlight host.
  • Negotiate compatibility and preserve old user binaries across host upgrades.
  • Prove snapshot restore, cancellation, backpressure, security boundaries, and observability.
Relationship

The nearer-term generated, editable Runtime Adapter design is described in docs/designs/runtime-adapters.md. It intentionally provides a migration path toward this host-function model.

主要语言
Rust
星标
3
派生
2
平均合并
3 天 57 分钟
30 天内合并 PR
17

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hyperlight-dev/lampyr 的其他 Issue

查看 hyperlight-dev/lampyr 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。