https://github.com/zkat/memento-mori
Robustness through actors, for Common Lisp
https://github.com/zkat/memento-mori
Last synced: about 2 months ago
JSON representation
Robustness through actors, for Common Lisp
- Host: GitHub
- URL: https://github.com/zkat/memento-mori
- Owner: zkat
- Created: 2012-06-02T20:29:50.000Z (over 13 years ago)
- Default Branch: develop
- Last Pushed: 2015-01-13T08:48:02.000Z (almost 11 years ago)
- Last Synced: 2025-03-30T00:43:04.007Z (9 months ago)
- Language: Common Lisp
- Homepage:
- Size: 594 KB
- Stars: 32
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quickstart
`memento-mori` is
[hosted at Github](http://github.com/zkat/memento-mori). You can
download it there if it's not available on quicklisp yet.
```lisp
CL-USER> (ql:quickload 'memento-mori)
To load "memento-mori":
Load 1 ASDF system:
memento-mori
; Loading "memento-mori"
(MEMENTO-MORI)
CL-USER> (defparameter *scheduler* (mori:make-threaded-scheduler 6))
*SCHEDULER*
CL-USER> *scheduler*
#
CL-USER> (mori:send (mori:spawn #'print :scheduler *scheduler*) "Hello, world!")
"Hello, world!"
"Hello, world!"
CL-USER>
```
# Introduction
### Remember you must die
`memento-mori` is a library for writing robust, actor-based systems in
Common Lisp. It draws inspiration from [Erlang/OTP](http://www.erlang.org),
particularly its crash-first approach to high-availability systems, as well
as [Akka](http://akka.io). `memento-mori` works under the assumption that
whatever you do, you will eventually crash, and thus the best way to keep a
system running is to try to limit the damage and recover.