under the hood of the particular service platform

27
Danny Cohen Director of Product Development http://particular.net Under the hood of the Particular Service Platform

Upload: particular-software

Post on 24-Jun-2015

108 views

Category:

Technology


2 download

DESCRIPTION

NServiceBus: The Pipeline - where it all begins!

TRANSCRIPT

Page 1: Under the hood of the particular service platform

Danny CohenDirector of Product Development

http://particular.net

Under the hood of the

Particular Service Platform

Page 2: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Platform & Architecture overview

NServiceBus pipeline: where it all begins

ServiceControl: the “secret” ingredient ServiceInsight: reining in complexity

ServicePulse: monitoring from the inside-out

ServiceMatrix: developer productivity booster engine

Agenda

Page 3: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Page 4: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Page 5: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Page 6: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Page 7: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

The Particular Service Platformhttp://particular.net/service-platform

Page 8: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

Particular Service Platform - Architecture Overview

Under the hood of the Particular Service Platform

Control Q

Page 9: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

NServiceBus pipeline: Where it all begins

Under the hood of the Particular Service Platform

TODO: Add NSB Pipeline illustration here

Page 10: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

NserviceBus Endpoint Auditing

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Audit all messages and processing errors into defined central queues

Page 11: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

Extended Auditing withControl Plugins

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Control Q Control Plugins collect and report about:•Endpoint Heartbeats•Saga activity data•Custom Checks for endpoint health•Debugging data

// NuGet Console:Install-Package SeviceControl.Plugin.Heartbeat Install-Package SeviceControl.Plugin.SagaAuditInstall-Package SeviceControl.Plugin.CustomChecksInstall-Package SeviceControl.Plugin.DebugSession

Page 12: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

ServiceControl: The “secret” ingredient

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Control Q

• Consume all audited messages • Store internally (embedded database)• Index and analyze• Expose Querying & extensibility API

Page 13: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

ServiceInsight: Reining in Complexity

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Control Q

ServiceInsight:

•Connect to ServiceControl•Query using HTTP API•Provide data visualization

Page 14: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

ServicePulse: Production Monitoring from the Inside out

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Control Q

ServicePulse:

•Connect to ServiceControl•Monitor production events •Alert and report

Page 15: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

ServiceMatrix: Developer ProductivityBooster Engine

Under the hood of the Particular Service Platform

Endpoint

Endpoint

Endpoint

Endpoint

Audit Q

Error Q

Control Q

ServiceMatrix

•Now: Create new fully functional solutions in minutes•vNext: Support existing endpoints

Page 16: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Online Webinars:

Building Better .NET Solutions with the Particular Service Platform

Production Monitoring with ServicePulse and the

Particular Service Platform

Page 17: Under the hood of the particular service platform

Thank you!

www.Particular.net

Page 18: Under the hood of the particular service platform

Backup Slides

Page 19: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

Scenario: Online Video Store

Under the hood of the Particular Service Platform

Customer purchases online Video Content

Send purchase order to Sales

Notify CRM System

Allow buyer’s remorse period to elapse

Operations: prepare content & provide link

When content is ready: notify customer

& CRM

Customer can cancel purchase order before

remorse period elapses

Page 20: Under the hood of the particular service platform
Page 21: Under the hood of the particular service platform
Page 22: Under the hood of the particular service platform
Page 23: Under the hood of the particular service platform
Page 24: Under the hood of the particular service platform
Page 25: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBusUnder the hood of the Particular Service Platform

Scenario: Production Monitoring

Endpoint

Heartbeat ConnectivityStorage

? ? ?

Page 26: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

Custom Checks

Introduction to ServicePulse for NServiceBus

Drop custom check dll into the endpoint bin directory

Endpoints periodically (or on-demand) run custom checks

Custom checks events received and stored in SC

ServicePulse indicates when Custom Checks events are raised or cleared

Code the custom check in a class that inherits from PeriodicCheck(see sample GH repo issue ServicePulse#16)

EndpointEndpoint

EndpointEndpointEndpoint

Audit Q

Error Q

ServiceControl ServicePulse

Page 27: Under the hood of the particular service platform

Introduction to ServiceInsight for NServiceBus

Endpoint Heartbeats

Introduction to ServicePulse for NServiceBus

Drop the ServiceControl plugin dll into the endpoint’s bin directory

Endpoints start sending hearbeat messages (default: every 30 sec)

Heartbeats received and monitored by SC.

ServicePulse indicates when heartbeats are not received as expected

EndpointEndpoint

EndpointEndpointEndpoint

Audit Q

Error Q

ServiceControl ServicePulse