Skip to content
Serverless Actor Model Framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
builds
doc
include
src
.clang-format
.editorconfig
.gitattributes
.gitignore
.travis.yml
CMakeLists.txt
Dockerfile
Findczmq.cmake
Findjansson.cmake
Findlibzmq.cmake
Makefile.am
README.md
autogen.sh
ci_build.sh
ci_deploy.sh
ci_deploy_obs.sh
configure.ac
project.xml

README.md

MQLess

MQLess is a lightweight actor model framework on top of AWS Lambda.

The Actor Model provides a higher level of abstraction for writing concurrent and distributed systems. It alleviates the developer from having to deal with explicit locking and thread management, making it easier to write correct concurrent and parallel systems.

MQLess bring a new approach by running the actors on AWS Lambda instead of a cluster like Akka or Microsoft Orleans.

Why

The current model of serverless is stateless one. However, real world applications are not always stateless. Actor model fits serverless nicely, you benefit the serverless part but also benefit stateful part, on AWS Lambda.

Read more on the docs

How it works

MQLess is a router in front of AWS Lambda. When you send a message to an actor, MQLess queue the message to each actor mailbox and activate the actor on AWS Lambda. When actor is done processing the message, MQLess send the response back to the caller and process the next message on the mailbox.

Building MQLess

Ubuntu

sudo apt update
sudo apt install -y libtool automake autoconf pkg-config build-essential libcurl4-nss-dev libmicrohttpd-dev libzmq3-dev libjansson-dev
git clone https://github.com/zeromq/czmq.git
cd czmq
./autogen.sh
./configure
make
sudo make install
cd ..
git clone https://github.com/somdoron/mqless.git
cd mqless
./autogen.sh
./configure
make

To install it globally run sudo make install. To run MQLess run mqless, to see all options run mqless --help.

Windows

Coming soon or contribute

OSX

Coming soon or contribute

Docker

You can run mqless from docker as well, for local installation run:

 docker run -d -p 34543:34543 --restart always --network host mqless/mqless --aws-local http://127.0.0.1:3001

For AWS run:

 docker run -d -p 34543:34543 --restart always --network host mqless/mqless

You have to create a IAM role first, head over to the docs

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.