SCL:一个偏执状态Lambda的安全并发层
SCL: A Secure Concurrency Layer For Paranoid Stateful Lambdas
摘要:
我们提出了一个联合的功能即服务(FaaS)执行模型,在云和边缘环境中提供安全和有状态的执行。FaaS工作者被称为Paranoid Stateful Lambdas(PSL),他们相互协作以执行大型并行计算。我们利用加密加固和移动数据包,称为DataCapsules,为我们的PSL提供持久状态,其执行使用硬件保护的TEE进行保护。为了使PSLs易于编程和执行,我们在DataCapsules之上构建了熟悉的Key-Value Store接口,允许摊销加密操作。我们演示了在边缘环境中运行的PSM,该环境运行在一组采用SGXv2的英特尔NUC上。如前所述,我们的安全并发层(SCL),提供了最终一致的语义上写的值使用不可信和无序的多播。所有SCL通信都是加密的、不可伪造的和私有的。为了持久性,更新被记录在复制的DataCapsules中,这是一种仅附加加密的区块链,具有机密性,完整性和来源保证。非活动键的值存储在同一DataCapsule中的日志结构合并树(LSM)中。SCL具有多种通信优化功能,例如高效的消息传递框架,可将英特尔SGX SDK的延迟降低多达44倍,以及基于参与者的加密处理架构,可将加密操作批处理并将吞吐量提高81倍。
英文摘要:
We propose a federated Function-as-a-Service (FaaS) execution model that provides secure and stateful execution in both Cloud and Edge environments. The FaaS workers, called Paranoid Stateful Lambdas (PSLs), collaborate with one another to perform large parallel computations. We exploit cryptographically hardened and mobile bundles of data, called DataCapsules, to provide persistent state for our PSLs, whose execution is protected using hardware-secured TEEs. To make PSLs easy to program and performant, we build the familiar Key-Value Store interface on top of DataCapsules in a way that allows amortization of cryptographic operations. We demonstrate PSLs functioning in an edge environment running on a group of Intel NUCs with SGXv2. As described, our Secure Concurrency Layer (SCL), provides eventually-consistent semantics over written values using untrusted and unordered multicast. All SCL communication is encrypted, unforgeable, and private. For durability, updates are recorded in replicated DataCapsules, which are append-only cryptographically-hardened blockchain with confidentiality, integrity, and provenance guarantees. Values for inactive keys are stored in a log-structured merge-tree (LSM) in the same DataCapsule. SCL features a variety of communication optimizations, such as an efficient message passing framework that reduces the latency up to 44x from the Intel SGX SDK, and an actor-based cryptographic processing architecture that batches cryptographic operations and increases throughput by 81x.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。