Skip to content

Nybus-project/NybusLegacy

Repository files navigation

Nybus

Nybus is a service bus that allows you to quickly build loosely coupled applications that react to commands and events.

Commands and events help building a platform where different workers collaborate by executing each a very specific job; each worker can be instantiated several times to properly handle the load and increase the overall throughput of the application.

A Command is a message that must be handled only by the first worker that is available. An Event is a message that must be delivered to all the running workers that have subscribed it.

Example

A typical example is a web application that offloads a long-running job to an array of worker processes by invoking a command. The first available worker process will execute the job and, when completed, will raise an event to notify that the job is complete. The web application might have subscribed such event and notify the clients with a push notification. See the WebProducerConsumer sample

How to Install

Nybus is available through NuGet.

At the moment, these are the available packages:

Future development

Beside stabilizing the API, the future plans involves:

  • A reusable host process that scans for handlers in the assemblies contained in the same folder.
  • A binding based on AWS managed services, namely SQS and SNS.
  • A binding based on Azure managed services.
  • A binding based on MassTransit 3.0

Continuous integration Build status Coverage Status

The project is automatically built whenever a new commit is pushed into this repository. The code coverage is calculated with OpenCover.

Many thanks to AppVeyor and Coveralls for their support to the .NET Open Source community.

Here you can see the build history

Here you can see the code coverage history