ScalaLoci: Simple Examples
This repository contains simple showcases of ScalaLoci using small examples.
-
Simple Chat implements a public chat with a single chat room, to which every participant can send messages.
-
Simple Time Service displays the current time which is sent from a server.
-
Time Service displays the current time which is sent from a server and supports client-side user interaction by allowing the user to change the time format.
-
Pipeline shows how the operators in a processing pipeline can be placed on different peers to count the tweets that each author produces in a tweet stream.
-
Master–Worker shows an implementation of the master–worker pattern where a master node dispatches tasks to workers.
-
Token Ring models a token ring, where every node in the ring can send a token for another node. Multiple tokens can circulate in the ring simultaneously until they reach their destination.