Pstack
POETS Simulation Stack
Install / Use
/learn @POETSII/PstackREADME
POETS Simulation Stack (pstack)
<p align="center">
<img align="center" src="docs/pstack.svg" width="40%" alt="PSIM Setup">
</p>
Overview
pstack is a distributed POETS simulation stack
based on Redis. It exposes the compute power of a
hetrogeneous array of POETS back-end engines to multiple users in a POSIX-like
environment.
Features:
- Processes: application instances modeled after POSIX processes
- Multi-user support: multiple users can run processes on a single
pstackservice simultaneously - Distributed execution: a single application can be distributed across several machines in arbitrary arrangements
- Real-time Monitoring: live monitor of running processes and back-end engine resource utilisation
- Heterogeneity: supports arbitrary back-end engines (e.g. different simulators or even actual hardware)
- Job queues: processes are queued when back-end engines are unavailable or insufficient
- Terminal: command line user interface with built-in Python interpreter
- Debugging: supports debug breakpoints and manual inspection/injection of messages
- Unit Testing: Down-to-earth unit testing framework supporting push-button testing over entire back-end infrastructure
- Minimal dependencies: just pip and socat on a fresh Ubuntu installation.
- Automated Deployment: parallel (multi-host) installation over SSH in 10 seconds using fabric.
Design Goals:
- Focus on developing POETS-specific capabilities while leaving more common programming chores to existing specialized tools and technologies (Redis for distributed shared memory and socat for socket communication).
- Decouple stack layers using TCP connections to permit reliable, performant and secure distributed operation using standard communication technologies (Ethernet, SSH tunnels etc.).
- Leverage Python for productivity (multiprocessing, jinja) and C for performance (simulation)
- Deliver the best performance and feature set while keeping the implementation as simple and maintainable as possible.
Documentation
Design Notes
User Guides
- Installation
- Using
psim(standalone simulations) - Using
pcli(distributed simulations) - Cambridge
pstackDeployment
Developer Guides
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
