- Ported Key-Value Store to CHERIoT-RTOS: Highlights simplifications and performance improvements.
- Key-Value Service API: Has
addOrUpdate(key, value),read(key)anderase(key)API. Conventional System Design:
- Use "process" abstraction for key-value store with each user app in its own process.
- Have a message queue for user processes to interact with key-value store process.
- Use asymmetric encryption with
userKeyfor authentication, with encryption/decryption overhead.
CHERIoT Satisfies Requirements:
- Compartments and sealed keys meet requirements.
- Create key-value store compartment with unique sealed
userKey. - Use static or dynamic sealing.
Performance and Simplification:
- Avoid encryption/decryption compared to conventional system.
- Key-value store is a threadless compartment in CHERIoT.
- Use priority-inheriting lock instead of message queue for serialization.
- Piggybacks on CHERIoT-RTOS' scheduler queue for better performance.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。