Skip to content

cloudsoft/monterey-v4-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monterey version 4 example projects

This repository contains several simple actors for Monterey v4 and launchers to run them in Brooklyn. The actors are:

  • Hello, world: Receives messages and replies to the sender with a ‘hello’
  • Echo: Replies to messages with whatever data it was sent
  • Pi calculator: A master actor creates several child actors to calculate chunks of pi and accumulates their responses
  • Ping/pong: Two actors message each other back and forth
  • Suspend/resume: Demonstrates that suspending and resuming actors maintains actor state.

Each actor has a corresponding test case demonstrating its behaviour that uses the Monterey Venue test harness.

Building the actors

Clone the repository and build the examples:

git clone https://github.com/cloudsoft/monterey-v4-examples.git
cd monterey-v4-examples
mvn package

This will run the actor tests and create a JAR file in simple-actors/target/ that can be deployed to a Venue.

Running an actor

TBD

About

Examples for getting started with Monterey V4. (Scalable, distributable, actor model framework.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published