What's new in NServiceBus 4.0 20130718

1,161 views

Published on

A short presentation on the new features and improvements in the latest release of NServiceBus 4.0.

Presented on July 18th 2013 at the DublinAlt.Net meeting

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,161
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Feature highlights High performance and scalability Publish/Subscribe support for reduced coupling Workflow and background task scheduling Reliable integration with automatic retries Easy to extend and configure Developer Frienly Centralized auditing of all message flows Replication-free for cross-site communication Supports multiple transports, out-of-the-box Runs on Amazon, Azure, Websphere, Biztalk and more.
  • The bus is everywhere Each host has it’s bit of the bus
  • NServiceBus: Decouple your services while maintaining transactional consistency, reliability, and scalability.  ServiceMatrix: Graphically model your services and contracts, composing them into enterprise processes.  ServiceInsight: Visualize complete business processes across multiple messages and endpoints. ServicePulse: Ensure service level agreements are maintained across all systems and processes
  • (Andreas’s blog) New Transports: Apache ActiveMQ: Java interoperability, Supports DTC RabbitMQ: Great solution for cloud platforms such as EC2, No support for DTC SQL Server: Perfect transport solution for SQL Server users, Performance on a par with MSMQ, Enables non-DTC operations Improved Performance: MSMQ Transport: MSMQ transport has been optimized to use significantly fewer CPU cycles Multithread Support for Basic Licenses: Basic licenses are no longer limited to single threads. Basic License Throughput now supports multiple threads, enabling a basic license installation to handle multiple concurrent requests (up to the license throughput limitations) Performance Counters: New updated performance and throughput counters are now available Configuration Improvements: Simpler NHibernate Settings: NHibernate settings are easier to manage and configure. New and simplified EndPoint Configuration API: Easier configuration for new and existing transports. Configuration Logging: Choose your preferred logging framework, NServiceBus is no longer dependent on Log4Net, so you can use your own version of Log4Net or NLog , or write a custom wrapper. RavenDB Support: RavenDB has been upgraded to RavenDB v2 to utilize its new abilities. RavenDB is no longer merged and is now embedded. Clients can be updated (note: there may be a need to add redirect binding in your config file.) And more ... InMemory Bus: InMemory Bus enables handling events synchronously where durability is not a concern.
  • “ Graphically model your services and contracts, composing them into enterprise processes” logical view of your system An overview of: which components make up which services which contracts those services expose where messages are sent which events those messages cause which services are subscribed to those events Most of the code you will need is auto generated including configuration files, initialization code, and references. Generated code is based on T4 templates allowing for easy customization. Make changes to your code knowing that your design will stay in sync.
  • “ Graphically model your services and contracts, composing them into enterprise processes” logical view of your system An overview of: which components make up which services which contracts those services expose where messages are sent which events those messages cause which services are subscribed to those events Most of the code you will need is auto generated including configuration files, initialization code, and references. Generated code is based on T4 templates allowing for easy customization. Make changes to your code knowing that your design will stay in sync.
  • visibility across queues, processes and machines showing messages and their relation to other messages and endpoints
  • What's new in NServiceBus 4.0 20130718

    1. 1. What’s new in NServiceBus 4.0 Sean Farmar
    2. 2. A bit of background • What is NServiceBus • Why would you need it • Getting Started
    3. 3. What is NServiceBus? • Distributed bus (not a broker) • Messaging pub/sub (asynchronous) • Durable andTransactional (if you want) • Sagas (Workflow and background task scheduling)
    4. 4. Distributed Bus AppApp Bus.dlBus.dl ll AppAppAppApp Bus.dlBus.dl ll AppApp Bus.dlBus.dl ll AppAppAppApp Bus.dlBus.dl ll AppApp Bus.dlBus.dl ll AppAppAppApp Bus.dlBus.dl ll AppApp Bus.dlBus.dl ll AppAppAppApp Bus.dlBus.dl ll
    5. 5. Publish Subscribe [pub/sub]
    6. 6. Publish Subscribe [pub/sub]
    7. 7. Durable TxTxQQ$$ Order AppApp Receive DBDB Call 1 of 3 Rollback Call 2 of 3 Rollback The order is back in the queue
    8. 8. Sagas • Long running business processes • Events to linear business process • State management • Time management
    9. 9. Service Examples Subscribe to Customer Status Updated Publish Customer Status Updated Save status locally Subscribe to Product PricingProduct Pricing UpdatedUpdated Publish Product Pricing Updated Save pricing locally Place Order Publish Order Accepted Sales MarketingCustomer Care
    10. 10. Particular.net NServiceBus ServiceMatrix ServiceInsight  ServicePulse Coming Soon
    11. 11. NServiceBus 4.0 • New Transports:ActiveMQ, RabbitMQ, SQL Server • Improved Performance • Configuration Improvements • RavenDB Support • Management Service • New tools
    12. 12. ServiceMatrix 2.0 • A visual tool • Visual studio integration • Code generation • Inline documentation
    13. 13. ServiceMatrix 2.0
    14. 14. ServiceInsight 1.0 • Visualisation of distributed systems
    15. 15. DEMO
    16. 16. Q&A
    17. 17. ThankYou! Particular.net udidahan.com/blog Sean Farmar seanfarmar.com twitter: @farmar

    ×