To use a locally simulated cluster,
- Download or clone the starter pack.
- Build the solution to get the required packages.
- Open the first tutorial script and to use MBrace programming with your simulated cluster.
The scripts follow the tutorials in the Core Programming Model.
The locally simulated cloud fabric is called "MBrace.Thespian". This utilizes the multi-core capabillities of your machine and is independent of any particular cloud provider, but supports the same programming model as MBrace.Azure and other MBrace implementations. This lets you learn the MBrace cloud programming model in a provider-independent way.
Your cluster workers will be created automaticaly when using the scripts in the starter pack. You can also initialize manually (e.g. from an application) as follows:
1: 2: 3: 4: 5:
You can create a multi-machine cluster using instances of
is not covered in this tutorial.
Full name: Thespian-tutorial.cluster
private new : state:ClusterState * logLevel:LogLevel option * defaultFaultPolicy:FaultPolicy option -> ThespianCluster
private new : state:ClusterState * manager:IRuntimeManager * defaultFaultPolicy:FaultPolicy option -> ThespianCluster
member AttachNewLocalWorkers : workerCount:int * ?logLevel:LogLevel * ?quiet:bool -> unit
member AttachWorker : worker:ThespianWorker -> unit
member DetachWorker : worker:IWorkerRef -> unit
member KillAllWorkers : unit -> unit
member KillWorker : worker:IWorkerRef -> unit
member IsWorkerHosted : bool
member MasterNode : ThespianWorker option
Full name: MBrace.Thespian.ThespianCluster
Full name: MBrace.Thespian.ConsoleLogger
Full name: MBrace.Thespian.LogLevel