Various options for scaling out your Windows Azure applications.

Introduction

You can configure and fine-tune roles for any scaling scenario (from up to diagonal) and computing costs. For example, we could provision larger Worker Role (in deployment config) and configured message handlers to run in multiple threads.

builder.HandleCommands(role =>
  {
    role.NumberOfThreads = 4;
    role.SleepWhenNoMessages = 0.1.Seconds();
    role.ListenTo("lokad-command");
    role.ConsumeMessages(t => t.Name.EndsWith("Command"));
  })

Alternatively you could just start multiple worker role instances of the same CQRS server.

Last edited Apr 11, 2011 at 9:03 PM by AlexandrYZ, version 1

Comments

No comments yet.