<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Udi Dahan &#8211; The Software Simplist</title>
	<atom:link href="https://udidahan.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://udidahan.com</link>
	<description>Enterprise Development Expert &#38; SOA Specialist</description>
	<lastBuildDate>Mon, 20 Jul 2020 13:27:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.1</generator>
	<item>
		<title>[Ask Udi] Two services operating on the same entity</title>
		<link>https://udidahan.com/2016/02/19/ask-udi-two-services-operating-on-the-same-entity/</link>
					<comments>https://udidahan.com/2016/02/19/ask-udi-two-services-operating-on-the-same-entity/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Fri, 19 Feb 2016 08:10:41 +0000</pubDate>
				<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[Microservices]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://udidahan.com/?p=2669</guid>

					<description><![CDATA[Most of my regular readers know that I recommend against having more than one service operating on the same entity, but with the groundswell of interest around microservices, there appear to be more and more people who are falling into this trap, so I thought it worthwhile to do a short refresher on the topic. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" style="float: right; margin-left: 10px; margin-bottom: 10px;" src="/wp-content/uploads/last_piece.jpg" alt="last_piece" width="325" height="350" />Most of my regular readers know that I recommend against having more than one service operating on the same entity, but with the groundswell of interest around microservices, there appear to be more and more people who are falling into this trap, so I thought it worthwhile to do a short refresher on the topic.</p>
<p>I got this question submitted the other day on an old post from 2007 on <a href="http://udidahan.com/2007/02/20/autonomous-services-and-enterprise-entity-aggregation">autonomous services and enterprise entity aggregation</a>:</p>
<blockquote><p>What happens when two services must be able to create/update the same entities?</p>
<p>For example, take this scenario, lets suppose we have two services: Marketing Service and Product Inventory Service. Marketing Service must be able to create new instances of the business entity Products, as the marketing team needs to make publicity about new products before the products is available for sale. On the other hand, the marketing department will not make publicity for the all products, so the Product Inventory Service needs to be able to create new instances of the Product too.</p>
<p>How to implement autonomous services when there is more than one service which is authoritative services over the same business entity?</p></blockquote>
<h2>Where confusion starts</h2>
<p>When people look to allocate responsibility to their services, there are a number of implicit assumptions that are often made that make it difficult to follow the rules of service design.</p>
<h2>Problematic Assumption #1</h2>
<p>Services should be aligned with organizational boundaries.</p>
<p>For the full story as to why this isn&#8217;t a good idea, read my post on <a href="http://udidahan.com/2014/05/26/people-politics-and-the-single-responsibility-principle/">people, politics, and the single responsibility principle</a>.</p>
<p>In the question above, assuming that the Marketing Service does all the things that the Marketing Department does, and inversely doesn&#8217;t do the things the department doesn&#8217;t do gets us into trouble. If a service is responsible for the creation of an entity, there shouldn&#8217;t be any other service that can create that entity. So, in this case, the &#8220;Marketing Service&#8221; (assuming that that would still be the best name for it) would always create the &#8220;Product&#8221; entity &#8211; assuming that that is the right name and set of attributes to put together.</p>
<h2>Problematic Assumption #2</h2>
<p>Entities should represent &#8220;real world&#8221; things.</p>
<p>For the full story as to why this isn&#8217;t a good idea, read my post <a href="http://udidahan.com/2012/03/05/dont-try-to-model-the-real-world-it-doesnt-exist/">don&#8217;t try to model the real world, it doesn&#8217;t exist</a>.</p>
<p>In the question above, assuming that there is an entity called Product and that entity owns all data about a product like its&#8217; name, price, and amount in inventory gets us into trouble. You see, each of those attributes relates to very different business processes when we look at their use in transactional logic. I mean, sure, you may need to show all the data on one screen in the UI, but that can be done fairly simply using UI composition techniques. For some more advanced UI composition ideas, see the video in this post on <a href="http://udidahan.com/2014/07/30/service-oriented-composition-with-video/">service-oriented composition</a>.</p>
<p>Anyway, instead of having a single Product entity, we could have a &#8220;CatalogItem&#8221; entity that would encompass information about the &#8220;product&#8221; like its name, description, image, and category information. That entity would share a common ID with entities owned by other services &#8211; like an &#8220;InventoryItem&#8221; that would own information like the quantity of the product.</p>
<p>Depending on other more detailed information about the domain, we may decide on whether data like the dimensions and weight of the product would go together with the quantity or on a separate &#8220;ShippableItem&#8221; entity owned by yet a different service. One justification for the separation is that the quantity of inventory is quite a bit more volatile than the dimensions and weight. Still, we could have separate entities for those things in the same service.</p>
<h2>And that&#8217;s why it&#8217;s so difficult</h2>
<p>When you can no longer rely on the crutches of organizational structure and the nouns of the domain, it becomes much harder to model your domain &#8211; dividing up responsibility into services and setting up the right entity model for each of them. At that point, you really need to dive deep into the domain and analyze the way each attribute of data is used and what kind of transactional integrity constraints are real and which are imagined.</p>
<p>For those of you who haven&#8217;t gone back and read all of my older posts (and let&#8217;s be honest, nobody does that when they subscribe to a blog), I hope the links above give you some next steps to take in learning about service design.</p>
<h2>If you want even more</h2>
<p>I&#8217;ve been teaching about this stuff for a while now and most of the people who&#8217;ve attended the training think it&#8217;s quite helpful. To get a sense of what this course is like, check out this <a href="http://player.vimeo.com/video/67449760?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=1" target="_blank">short video</a></p>
<p>The thing is that these courses fill up pretty quick &#8211; the upcoming ones in Dallas Texas in March and London UK in April have already sold out, so I&#8217;m going to try to do more this year than just the four I did last year.</p>
<p>The next one that is now open for registration will be in <a href="http://www.eventbee.com/v/nservicebus/event?eid=120345643">Sydney Australia in May</a>.</p>
<p>I&#8217;m going to try and see if I can get back to the US in August and London in December, but for now the next other course that is already available will be in <a href="http://www.eventbee.com/v/nservicebus/event?eid=177637445">Denver CO in November</a>.</p>
<p>For those of you who would have a hard time traveling or taking time off work, you can get access to the recording of the first two days of the course &#8211; <a href="http://particular.net/s/fqvb6bdciovkqcjdwac">totally free</a>.</p>
<h2>More questions?</h2>
<p>Feel free to leave a comment and I&#8217;ll do my best to help you out.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2016/02/19/ask-udi-two-services-operating-on-the-same-entity/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>NSBCon 2015 &#8211; Dallas Texas</title>
		<link>https://udidahan.com/2015/10/30/nsbcon-2015-dallas-texas/</link>
					<comments>https://udidahan.com/2015/10/30/nsbcon-2015-dallas-texas/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Fri, 30 Oct 2015 10:44:02 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<guid isPermaLink="false">http://udidahan.com/?p=2650</guid>

					<description><![CDATA[Seeing as it&#8217;s been just about a year since the last NSBCon we ran in New York City, I&#8217;m happy to say we&#8217;re bringing NSBCon back to the US &#8211; this time in Dallas Texas, Dec 1-4. Click here for the full details. First &#8211; the war stories For those of you who have been [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://particular.net/nsbcon2015"><img loading="lazy" src="/wp-content/uploads/nsbcon.jpg" alt="nsbcon" title="nsbcon" width="600" height="277" style="border:none;" /></a></p>
<p>Seeing as it&#8217;s been just about a year since the last NSBCon we ran in New York City, I&#8217;m happy to say we&#8217;re bringing NSBCon back to the US &#8211; this time in Dallas Texas, Dec 1-4.</p>
<p><a href="http://particular.net/nsbcon2015">Click here</a> for the full details.</p>
<h3>First &#8211; the war stories</h3>
<p>For those of you who have been wondering about what it would be like to apply the Service-Oriented principles I blog about, we&#8217;ll hear the war story of one brave architect&#8217;s journey down that path, which kinds of messaging patterns helped, and which it didn&#8217;t.</p>
<p>Another point of concern for people considering event-driven approaches to building systems is how to keep control of all of these loosely-coupled bits and pieces. Luckily we&#8217;ll have a session talking about various monitoring and devops techniques to keep on top of everything that&#8217;s happening &#8211; and not just a theory of how that could be done, but a &#8220;from the trenches&#8221; account of how well they actually worked.</p>
<h3>Then &#8211; down to the metal</h3>
<p>In addition to some really &#8220;down and dirty&#8221; sessions about all the cool nifty NServiceBus features that have come out this past year, we&#8217;ll also give you a sneak peek into what&#8217;s coming in the future (after keeping very tight lipped about our future roadmap).</p>
<p>And finally, we&#8217;ll talk a bit about the actor model and Akka.net &#8211; where they fit in message-driven architectures and how to get the two worlds to play together nicely.</p>
<h3>And finally &#8211; an unconference</h3>
<p>When all is said and done, what you really want is some time to talk through your specific challenges with people who&#8217;ve &#8220;been there&#8221; and &#8220;done that&#8221;. That&#8217;s why our last day is a full interactive &#8220;unconference&#8221; meaning that you get to set the agenda, get direct access to all the speakers, and even grab some NServiceBus experts to debug some code with you. </p>
<p>If you&#8217;ve never been to an unconference before, you don&#8217;t know what you&#8217;re missing. </p>
<h3>So, hurry up!</h3>
<p>Discounted &#8220;early bird&#8221; tickets are almost sold out.</p>
<p>I really hope to see you all there.</p>
<p><a href="http://particular.net/nsbcon2015">Check it out</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2015/10/30/nsbcon-2015-dallas-texas/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Training still happening</title>
		<link>https://udidahan.com/2015/09/21/training-still-happening/</link>
					<comments>https://udidahan.com/2015/09/21/training-still-happening/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 21 Sep 2015 11:57:14 +0000</pubDate>
				<category><![CDATA[Courses]]></category>
		<category><![CDATA[Presentations]]></category>
		<guid isPermaLink="false">http://udidahan.com/?p=2632</guid>

					<description><![CDATA[So, about 2.5 years ago I wrote that I would be winding down my training, specifically saying &#8220;In any case, I’ll be giving the course 4 more times, and that’ll be it.&#8221; Well, that wasn&#8217;t it Now, even though I did scale back the training quite a lot &#8211; from around 10 public courses a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>So, about 2.5 years ago I wrote that I would be <a href="http://udidahan.com/2013/02/23/last-round-of-training/">winding down my training</a>, specifically saying &#8220;In any case, I’ll be giving the course 4 more times, and that’ll be it.&#8221; </p>
<h3>Well, that wasn&#8217;t it</h3>
<p>Now, even though I did scale back the training quite a lot &#8211; from around 10 public courses a year down to 2, they didn&#8217;t stop entirely. After settling into what appears to be a new stable and sustainable rhythm, I&#8217;m experimenting with bringing the training up to 4 times a year / once a quarter. So far, so good.</p>
<p>Beyond a tweet here and there about those courses, I haven&#8217;t been blogging about them &#8211; or blogging much at all really (this will be my 3rd post this year).</p>
<p>Anyway, I&#8217;m getting back into the swing of things and there are some courses coming up:</p>
<h3>Next up Sydney, then Dallas</h3>
<p>The next one is in Sydney Australia Oct 12-16 &#8211; <a href="http://www.eventbee.com/event?eid=119522301">register here</a>. Somewhat surprisingly, this is pretty close to selling out so if you&#8217;re down under, you&#8217;ll probably want to sign up for this one as I probably won&#8217;t be back for at least a year.</p>
<p>The one after that will be in Dallas TX, March 7-11 &#8211; <a href="http://www.eventbee.com/v/nservicebus/event?eid=145430863">register here</a>. I know there were a lot of you in the US that wanted to go to the last one in Austin, but that one sold out pretty quick. Hopefully you&#8217;ll be able to get in this one &#8211; and there&#8217;s still plenty of time if you want to get the early-bird price. </p>
<h3>Looking forwards</h3>
<p>Other than the courses, you can find me (and a bunch of other people in Particular) speaking at various user groups and conferences around the world. Here&#8217;s the <a href="http://udidahan.com/training/">list of upcoming events</a>. Come up and say hello <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>* Here&#8217;s a <a href="https://gist.github.com/udidahan/6b40380c9c2145e12522">gist of some ugly javascript</a> to get the source data for that.</p>
<h3>In Closing</h3>
<p>I really do enjoy teaching and seeing how people&#8217;s eyes light up when something all of sudden clicks for them. I&#8217;ll probably continue teaching, in one form or another, for quite some time. </p>
<p>Hope to see you at one of my next courses or events.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2015/09/21/training-still-happening/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Microservices presentation [London 2014]</title>
		<link>https://udidahan.com/2015/07/21/microservices-presentation-london-2014/</link>
					<comments>https://udidahan.com/2015/07/21/microservices-presentation-london-2014/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Tue, 21 Jul 2015 11:23:45 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[Microservices]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2381</guid>

					<description><![CDATA[&#8230; in which I realize I shouldn&#8217;t put off blogging about the presentations I&#8217;ve given. This one is from µCon 2014: The Microservices Conference at Skills Matter in London. The title of this talk was: An Integrated Services Approach and the description: After many years of the largely enterprise-scale SOA philosophy being applied across multiple [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&#8230; in which I realize I shouldn&#8217;t put off blogging about the presentations I&#8217;ve given.</p>
<p>This one is from <a href="https://skillsmatter.com/conferences/6312-mucon#skillscasts">µCon 2014: The Microservices Conference</a> at Skills Matter in London.</p>
<p><a href="https://skillsmatter.com/skillscasts/5235-keynote-an-integrated-services-approach"><img loading="lazy" src="/wp-content/uploads/microservices11.jpg" alt="microservices" title="microservices" width="750" height="524" class="alignnone size-full wp-image-2385" style="border:none;" srcset="https://udidahan.com/wp-content/uploads/microservices11.jpg 750w, https://udidahan.com/wp-content/uploads/microservices11-300x210.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" /></a></p>
<p>The title of this talk was: <b>An Integrated Services Approach</b></p>
<p>and the description: </p>
<p>After many years of the largely enterprise-scale SOA philosophy being applied across multiple systems, we’re now seeing some of that philosophy being applied to the design of the systems themselves with Microservices. Unfortunately, unless we integrate these enterprise and system level philosophies appropriately, we’ll end up with a mess of data duplication and coupling that may even result in businesses running on inconsistent data. Join Udi for a discussion of a unified approach that leverages the best of both worlds.</p>
<p>Hope you find it interesting.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2015/07/21/microservices-presentation-london-2014/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Finding Service Boundaries – illustrated in healthcare</title>
		<link>https://udidahan.com/2015/02/02/finding-service-boundaries-illustrated-in-healthcare/</link>
					<comments>https://udidahan.com/2015/02/02/finding-service-boundaries-illustrated-in-healthcare/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 02 Feb 2015 10:23:38 +0000</pubDate>
				<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2365</guid>

					<description><![CDATA[A couple of months back I gave a presentation at NDC London about how to find service boundaries, giving examples from the field of healthcare. The recording is now online here. If you want to learn more about these topics, check out more of my posts on SOA here. If you want the full, in-depth, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A couple of months back I gave a presentation at NDC London about how to find service boundaries, giving examples from the field of healthcare. The recording is now online <a href="https://vimeo.com/113515335#t=338s">here</a>.</p>
<p><iframe loading="lazy" src="//player.vimeo.com/video/113515335#t=338s" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></p>
<p>If you want to learn more about these topics, check out more of my posts on SOA <a href="http://www.udidahan.com/category/autonomous-services/">here</a>.</p>
<p>If you want the full, in-depth, zero-to-sixty experience &#8211; you should really attend my Advanced Distributed Systems Design course. The next one is in <a href="http://www.eventbee.com/v/nservicebus/event?eid=194624294">March in San Francisco</a> but there will be others around the world through the rest of this year.</p>
<p>For the full list of events, <a href="http://www.udidahan.com/training/">click here</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2015/02/02/finding-service-boundaries-illustrated-in-healthcare/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>Ask me anything &#8211; Dec 11</title>
		<link>https://udidahan.com/2014/12/08/ask-me-anything-dec-11/</link>
					<comments>https://udidahan.com/2014/12/08/ask-me-anything-dec-11/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 08 Dec 2014 17:07:11 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Presentations]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2353</guid>

					<description><![CDATA[This coming Thursday, Dec 11 I&#8217;m going to be doing an &#8220;Ask Me Anything&#8221;. For those of you who aren&#8217;t familiar with the format, an &#8220;Ask Me Anything&#8221; (or AMA for short) is a kind of online &#8220;press conference&#8221; which was popularized on Reddit, and has had fairly well-known people do them including President Obama, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This coming Thursday, Dec 11 I&#8217;m going to be doing an &#8220;Ask Me Anything&#8221;.</p>
<p>For those of you who aren&#8217;t familiar with the format, an &#8220;Ask Me Anything&#8221; (or AMA for short) is a kind of online &#8220;press conference&#8221; which was popularized on Reddit, and has had fairly well-known people do them including President Obama, Bill Gates, Madonna, and more. For more information, see Wikipedia <a href="http://en.wikipedia.org/wiki/Reddit#IAmA_and_AMA" style="font-weight:normal;">on the topic</a>.</p>
<h2>Here&#8217;s how it works</h2>
<p>First thing, sign up at <a href="http://particular.net/ask-udi-dahan-anything" style="font-weight:normal;">http://particular.net/ask-udi-dahan-anything</a> to get the conference info.</p>
<p>Then, check out and vote on the questions people have already asked, and ask your own. </p>
<p>Of course, you can also loop some friends in to vote for your questions, but I will do my best to answer as many questions as I can &#8211; live on Thursday Dec 11, at 12pm EST (5pm GMT). </p>
<p>Even if you can&#8217;t make that time, the recording will be available afterwards. Once I have the link for that, I&#8217;ll blog it as well.</p>
<p>But don&#8217;t just take a passive wait-and-see approach. If you&#8217;ve been reading my blog, I know you&#8217;ve got questions about SOA, DDD, CQRS, messaging, NoSQL databases, and more &#8211; so this is your chance to get them answered.</p>
<p>Go on then: <a href="http://particular.net/ask-udi-dahan-anything">Ask me anything</a>.  <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/12/08/ask-me-anything-dec-11/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Watch out for superficial invariants</title>
		<link>https://udidahan.com/2014/11/16/watch-out-for-superficial-invariants/</link>
					<comments>https://udidahan.com/2014/11/16/watch-out-for-superficial-invariants/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Sun, 16 Nov 2014 10:11:50 +0000</pubDate>
				<category><![CDATA[Business Rules]]></category>
		<category><![CDATA[CQRS]]></category>
		<category><![CDATA[Workflow]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2348</guid>

					<description><![CDATA[As I was reading a blog post on CQRS, Aggregate Roots, and Invariants here, I became aware of a mistake I&#8217;ve seen many developers make over the years and I thought I&#8217;d call it out real quick. Superficial Invariants Taken from the blog post mentioned above: &#8220;For example, an employee cannot take more annual leave [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As I was reading a blog post on CQRS, Aggregate Roots, and Invariants <a href="http://danielwhittaker.me/2014/11/15/aggregate-root-cqrs-event-sourcing/">here</a>, I became aware of a mistake I&#8217;ve seen many developers make over the years and I thought I&#8217;d call it out real quick.</p>
<h3>Superficial Invariants</h3>
<p>Taken from the blog post mentioned above: &#8220;For example, an employee cannot take more annual leave than they have.&#8221;</p>
<p>This falls into the trap of applying mathematical thinking (which we developers possess in great quantities) to the business world. The business world isn&#8217;t that mathematical (in general), and tends to have many more shades of gray expressed as &#8220;business rules&#8221; which can, and do, change.</p>
<h3>Rules &#8211; not invariants</h3>
<p>Employees can&#8217;t take more annual leave than they have.<br />
&#8230; unless their manager approves.<br />
&#8230; but that&#8217;s only up to 2 days.<br />
&#8230; unless their manager is a VP, and then it&#8217;s up to 5 days.<br />
&#8230; and that negative balance will be deducted from next year&#8217;s leave.<br />
&#8230; Oh, and if the employee leaves the company before then, then the value of those negative days will be deducted from their final paycheck.</p>
<h3>Impact on your domain</h3>
<p>First of all, I hope you see that this isn&#8217;t something that you would trivially implement on an Employee object.</p>
<p>If you read these rules more carefully, you&#8217;ll probably notice that they&#8217;re speaking about a long-running process.</p>
<p>First, there is a request for leave. Then there&#8217;s an approval (with certain rules) which may come sometime later. And the approval itself may not even end the process &#8211; if the balance becomes negative.</p>
<p>And, as you&#8217;ve probably heard me say before, you end up with sagas as your aggregate roots (see <a href="http://www.udidahan.com/2010/08/31/race-conditions-dont-exist/">Race conditions don&#8217;t exist</a> from 4 years ago).</p>
<h3>And a word about Bounded Contexts</h3>
<p>Notice that these rules don&#8217;t care very much about things like the employee&#8217;s name, phone number, email, etc. Similarly, logic that deals with that data probably doesn&#8217;t care about the number of days of leave an employee takes. </p>
<p>In other words, these sets of data and logic can be said to belong to different Sub-Domains (in DDD terminology).</p>
<p>As such, it can make sense to take the annual leave logic and put it in a bounded context separate from the one responsible for the contact info. </p>
<h3>In closing</h3>
<p>In many of the samples and blog posts I see online, an overly simplified problem domain is implemented showing how the given implementation technique would be applied.</p>
<p>The problem is that developers then use that implementation technique as a &#8220;cookie cutter&#8221;, trying to fit real-world requirements into it, and then end up making a pretty big mess.</p>
<p>The more you delve into real-world requirements of business domains, the less you&#8217;ll see of mathematical invariants (unless, maybe, you&#8217;re building a physics engine for a game or something) and the more you&#8217;ll see long-running processes unfolding in front of you.</p>
<p>Regardless of whether you use <a href="http://particular.net/NServiceBus">NServiceBus sagas</a> or not, start looking at the world as dynamic long-running processes rather than static noun-centric entities.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/11/16/watch-out-for-superficial-invariants/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>Best US Supermarket running NServiceBus (for years)</title>
		<link>https://udidahan.com/2014/10/21/best-us-supermarket-running-nservicebus/</link>
					<comments>https://udidahan.com/2014/10/21/best-us-supermarket-running-nservicebus/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Tue, 21 Oct 2014 08:29:04 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2338</guid>

					<description><![CDATA[I was quite thrilled when I heard that our customer Wegmans got ranked by Consumer Reports as the #1 supermarket chain in the US. Wegmans have been long-time customers of NServiceBus and I recently got the opportunity to go on a guided tour in their flagship store in Rochester and hear all the ways that [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/wegmans1.jpg" alt="wegmans" title="wegmans" width="271" height="375" style="float:right; margin-left:10px; margin-bottom:10px;" />I was quite thrilled when I heard that our customer Wegmans got ranked by Consumer Reports as the <a href="http://www.businessinsider.com/best-supermarkets-in-america-2014-3">#1 supermarket chain in the US</a>.</p>
<p>Wegmans have been long-time customers of NServiceBus and I recently got the opportunity to go on a guided tour in their flagship store in Rochester and hear all the ways that they&#8217;ve been leveraging our platform &#8211; even the scales that people use to weigh their produce are linked up.</p>
<p>Yup &#8211; you may even be eating NServiceBus and not know it <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>There are also some pretty powerful back-office processes at play &#8211; things that your regular consumer wouldn&#8217;t even notice but that matter quite a bit.</p>
<p>In any case, I&#8217;ll hand this over to Adam Fyles &#8211; the person who has done the actual work of getting NServiceBus into Wegmans, from the early proof-of-concept days to leveraging it across the enterprise to tell the story himself.</p>
<p>Here&#8217;s Adam presenting at NSBCon USA 2014:</p>
<p><iframe loading="lazy" src="//fast.wistia.net/embed/iframe/t9lt8x1xyh" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="640" height="360"></iframe></p>
<p>And if you want the slides or to hear more from Adam, check out his blog at: <a href="http://adamfyles.blogspot.com/">http://adamfyles.blogspot.com/</a>.</p>
<p>For more information on NServiceBus and the rest of the Particular Service Platform, check out <a href="http://particular.net/">http://particular.net/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/10/21/best-us-supermarket-running-nservicebus/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NSBCon London 2014 Wrap-up</title>
		<link>https://udidahan.com/2014/08/05/nsbcon-london-2014-wrap-up/</link>
					<comments>https://udidahan.com/2014/08/05/nsbcon-london-2014-wrap-up/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Tue, 05 Aug 2014 10:13:34 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Presentations]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2304</guid>

					<description><![CDATA[Well, NSBCon London was a blast. It was such a blast that it took me this long to recover and get my head back into blogging. In any case, for those of you who couldn&#8217;t make it, check out this short 2-min video to get a feel for what it was like: The venue was [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Well, NSBCon London was a blast. It was such a blast that it took me this long to recover and get my head back into blogging. In any case, for those of you who couldn&#8217;t make it, check out this <a href="https://particular-1.wistia.com/medias/lz66venwns">short 2-min video</a> to get a feel for what it was like:</p>
<p><a href="//fast.wistia.net/embed/iframe/lz66venwns?popover=true" class="wistia-popover[height=608,playerColor=0db3c8,width=1080]"><img src="https://embed-ssl.wistia.com/deliveries/7aad4cb703e57be19b68ce1ebf9b70e381232426.jpg?image_play_button=true&#038;image_play_button_color=0db3c8e0&#038;image_crop_resized=500x281" alt="" /></a><br />
<script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/popover-v1.js"></script><br />
<noscript><br />
<a href="https://particular-1.wistia.com/medias/lz66venwns"><img loading="lazy" src="https://embed-ssl.wistia.com/deliveries/7aad4cb703e57be19b68ce1ebf9b70e381232426.jpg?image_play_button=true&#038;image_play_button_color=0db3c8e0&#038;image_crop_resized=450x253" alt="NSBCon London Recap" width="450" height="253" /></a><br />
</noscript></p>
<p>The venue was packed, the speakers were great, and all in all the conference was a smashing success. If you don&#8217;t believe me &lt;wink/&gt; you can check out Roy Cornelissen&#8217;s coverage <a href="http://roycornelissen.wordpress.com/2014/07/09/nsbcon-2014-recap/">here</a>.</p>
<h3>All videos now online</h3>
<p>For those of you who couldn&#8217;t make it, we have all the videos recorded for you and you can access them <a href="http://particular.net/nsbcon-2014">here</a>.</p>
<p>Some of the cooler demos included:</p>
<ul>
<li>Szymon Pobiega showing how he plugged the Event Store under NServiceBus for complete transport, subscription, timeout, and saga persistence &#8211; video <a href="https://skillsmatter.com/skillscasts/5037-event-store-and-nservicebus">here</a>
</li>
<li>Dylan Beattie videoing the audience with his iPhone and having that processed through NServiceBus and uploaded to their site in &#8220;real time&#8221; &#8211; <a href="https://skillsmatter.com/skillscasts/5130-media-publishing-workflows-using-nservicebus">check it out</a>
</li>
</ul>
<p>Of course, I really think you should check out the <a href="http://particular.net/nsbcon-2014">full list</a>.</p>
<h3>Onward &#8211; to New York</h3>
<p><a href="http://www.nsbconnyc"><img loading="lazy" src="https://res.cloudinary.com/skillsmatter/image/upload/c_fill,w_300/v1397139794/eeoxx2rgbb8cam66eekq.png" width="300" height="300" alt="NSBCon New York" title="NSBCon New York" style="border:none; float:right; margin-left:10px; margin-bottom:10px;"></a>And for those of you in the US and Canada, we&#8217;re happy to announce that registration is open for NSBCon New York!</p>
<p>The early bird is available until the end of this week (Aug 8), so you should really get going.</p>
<p><a href="https://skillsmatter.com/conferences/6223-nsbcon-nyc-2014#program">Register here</a>.</p>
<p>We&#8217;ve got some really great speakers lined up for you &#8211; Jimmy Bogard will be there, and we&#8217;ll have both Oren Eini and Ted Neward speaking as well (who you might remember from the infamous <a href="http://www.dotnetrocks.com/dnr_photos/ORMSmackdown.jpg" style="font-weight:normal;">ORM Smackdown</a>).</p>
<p>And Carl and Richard from Dot Net Rocks will be there as well &#8211; rockin&#8217; it the way that only DNR can.</p>
<p><a href="https://skillsmatter.com/conferences/6223-nsbcon-nyc-2014#program"></p>
<h3>Hope to see you there!</h3>
<p></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/08/05/nsbcon-london-2014-wrap-up/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Service-Oriented Composition (with video)</title>
		<link>https://udidahan.com/2014/07/30/service-oriented-composition-with-video/</link>
					<comments>https://udidahan.com/2014/07/30/service-oriented-composition-with-video/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Wed, 30 Jul 2014 12:44:48 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2297</guid>

					<description><![CDATA[When telling people about my approach to SOA, in which a given service would have client/browser-side components running side-by-side in the same process and even in the same page as components from other services, I often get asked this question: &#8220;Doesn&#8217;t all of this loosely-coupled composition come with a high cost, in terms of client [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When telling people about my approach to SOA, in which a given service would have client/browser-side components running side-by-side in the same process and even in the same page as components from other services, I often get asked this question:</p>
<blockquote><p>&#8220;Doesn&#8217;t all of this loosely-coupled composition come with a high cost, in terms of client to server chit-chat?&#8221;</p></blockquote>
<p>So, I&#8217;ve finally buckled down and put together a slide to illustrate how the technocratic IT/Ops service I&#8217;ve talked about <a href="http://www.udidahan.com/2012/12/10/service-oriented-api-implementations/">in the past</a> can provide components to resolve these sorts of problems.</p>
<p>After putting the slide together, and realizing some animation would do it good, I went and made a short (5 min) video including some verbal explanation as to how it all works &#8211; just for clarity. <a href="https://www.youtube.com/watch?v=eNO0dVYEYZk">Check it out</a> or watch it here:</p>
<p><iframe loading="lazy" width="480" height="360" src="//www.youtube.com/embed/eNO0dVYEYZk?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>And here&#8217;s the image showing everything in one picture:</p>
<p><img loading="lazy" src="/wp-content/uploads/itops1.jpg" alt="Service-oriented composition" title="Service-oriented composition" width="600" height="450" class="alignnone size-full wp-image-2298" srcset="https://udidahan.com/wp-content/uploads/itops1.jpg 600w, https://udidahan.com/wp-content/uploads/itops1-300x225.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/07/30/service-oriented-composition-with-video/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>NSBcon Update</title>
		<link>https://udidahan.com/2014/06/16/nsbcon-update/</link>
					<comments>https://udidahan.com/2014/06/16/nsbcon-update/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 16 Jun 2014 12:45:32 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2285</guid>

					<description><![CDATA[Just a quick reminder to let you know that NSBcon London is next week. For those of you who have been wondering, yes, you can come to just one of the days if you aren&#8217;t able to take both days off of work. Also, if you want to come but can&#8217;t convince your boss to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://skillsmatter.com/conferences/6198-nsbcon"><img loading="lazy" src="/wp-content/uploads/nsbcon14-300-px-x-300-px1.png" alt="NSBcon" title="NSBcon" width="300" height="300" style="float:right; margin-left:10px; margin-bottom:40px; border:none;" /></a>Just a quick reminder to let you know that NSBcon London is next week.</p>
<p>For those of you who have been wondering, yes, you can come to just one of the days if you aren&#8217;t able to take both days off of work. Also, if you want to come but can&#8217;t convince your boss to pay for it, drop us a line and we&#8217;ll hook you up with a discount. Just send an email to <a href="mailto:nsbcon@particular.net">nsbcon@particular.net</a> and we&#8217;ll take care of everything.</p>
<p>One last thing &#8211; unfortunately, Oren won&#8217;t be able to come speak in London (but still will be speaking in NYC). While no one can quite fill in those shoes (as Oren is quite a big guy), we have someone I think you&#8217;ll really enjoy hearing: James Lewis, one of the main voices in the Microservices arena, will be coming to talk about &#8230; Microservices!</p>
<p>Hope to see you there: <a href="http://www.nsbcon.com">NSBcon.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/06/16/nsbcon-update/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>People, Politics, and the Single Responsibility Principle</title>
		<link>https://udidahan.com/2014/05/26/people-politics-and-the-single-responsibility-principle/</link>
					<comments>https://udidahan.com/2014/05/26/people-politics-and-the-single-responsibility-principle/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 26 May 2014 06:24:59 +0000</pubDate>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[OO]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2277</guid>

					<description><![CDATA[In one of Uncle Bob&#8217;s recent blog posts on the Single Responsibility Principle he uses the example of using people and organization boundaries as an indication of possible good software boundaries: When you write a software module, you want to make sure that when changes are requested, those changes can only originate from a single [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/Puzzle31.jpg" alt="People" title="People" width="300" height="200" style="float:right; margin-left:10px; margin-bottom:10px;" />In one of Uncle Bob&#8217;s recent blog posts on <a href="http://blog.8thlight.com/uncle-bob/2014/05/08/SingleReponsibilityPrinciple.html">the Single Responsibility Principle</a> he uses the example of using people and organization boundaries as an indication of possible good software boundaries:</p>
<blockquote><p>When you write a software module, you want to make sure that when changes are requested, those changes can only originate from a single person, or rather, a single tightly coupled group of people representing a single narrowly defined business function. You want to isolate your modules from the complexities of the organization as a whole, and design your systems such that each module is responsible (responds to) the needs of just that one business function.</p></blockquote>
<p>This is something that often comes up when I teach people about service boundaries when it comes to SOA &#8211; organization boundaries are the most intuitive choice.</p>
<p>And, once up on a time, that intuition might have indeed held up.</p>
<h3>Stepping back in time</h3>
<p>In the age before computers, organizations had a very specific way of structuring themselves. </p>
<p>People who had to work closely together sat in close physical proximity to each other. Data that was required on an ongoing basis would be in file cabinets also physically co-located with the people using that data, and it would be structured in a way that was optimal for their specific purposes. All of this was due to the high cost of communicating with people farther away.</p>
<p>If you needed data from a different department, you had <b>requisition</b> it by filling out a special form, put it in your outbox, and then some guy from the mail room would pick it up, and physically schlep it to the right department, putting it in their inbox, and then someone there would get your data for you &#8211; putting it together with your original request, and then the mail guy would schlep it back. This inbox/outbox style of communication should ring a bell from the messaging patterns I talk about with <a href="http://www.particular.net/nservicebus">NServiceBus</a>.</p>
<p>As a result, different departments had to have very clearly delineated responsibilities with minimal overlap with each other. The organization just couldn&#8217;t function any other way.</p>
<p>And then a bunch of us geeks came along.</p>
<h3>Enter the age of computers and networks</h3>
<p>By introducing this technology, the cost of communication across large distances started falling &#8211; slowly at first, and then quite dramatically.</p>
<p>When anyone in an organization was able access data from anywhere in the blink of an eye, an interesting dynamic started to unfold. All of a sudden, the division of responsibility between departments wasn&#8217;t as critical as it was before. When an employee needed to do something, there wasn&#8217;t this &#8220;that isn&#8217;t our job, you need to go to so-and-so&#8221; reaction. Because things could be done instantly, that&#8217;s exactly what happened.</p>
<h3>And then came the politics</h3>
<p>By removing the cost of communication, it became possible for more power-hungry people in the organization to start making (or trying to make) decisions that they couldn&#8217;t have made before. The introduction of computers into an organization was heralded as a new way of doing business &#8211; that the old organizational boundaries were a relic that we should leave behind us.</p>
<p>And thus can the re-org (the first of many).</p>
<p>Responsibilities and people were shuffled around, managers vied for more power, and politics took its&#8217; place as one of the driving forces in the company structure.</p>
<p>Nowadays, if you want a decision made in a company, there isn&#8217;t just one person who has the authority to sign off on it anymore. No, you need to have <i>meetings</i> &#8211; and more meetings, with people you never knew existed in the company, or why on earth they should have a say on how something is supposed to get done. But that is now our reality: endlessly partially overlapping responsibilities across the organization.</p>
<h3>So, what of the Single Responsibility Principle</h3>
<p>This just makes it that much harder to decide how to structure our software &#8211; there is no map with nice clean borders. We need to be able to see past the organizational dysfunction around us, possibly looking for how the company might have worked 100 years ago if everything was done by paper. While this might be possible in domains that have been around that long (like banking, shipping, etc) but even there, given the networked world we now live in, things that used to be done entirely within a single company are now spread across many different entities taking part in transnational value networks.</p>
<p>In short &#8211; it&#8217;s freakin&#8217; hard.</p>
<p>But it&#8217;s still important.</p>
<p>Just don&#8217;t buy too deeply into the idea that by getting the responsibilities of your software right, that you will somehow reduce the impact that all of that business dysfunction has on you as a software developer. Part of the maturation process for a company is cleaning up its&#8217; business processes in parallel to cleaning up its&#8217; software processes.</p>
<p>The good news is that you&#8217;ll always have a job <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/05/26/people-politics-and-the-single-responsibility-principle/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>New York ALT.NET Presentation</title>
		<link>https://udidahan.com/2014/05/01/new-york-alt-net-presentation/</link>
					<comments>https://udidahan.com/2014/05/01/new-york-alt-net-presentation/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Thu, 01 May 2014 10:58:42 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Presentations]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2267</guid>

					<description><![CDATA[I&#8217;m going to be in New York in a couple of weeks teaching my Advanced Distributed Systems Design with SOA course and, as I usually do, will be giving a presentation at a local user group &#8211; this time at the NY ALT.NET user group on Wednesday May 14 @6:30pm. Just as an aside, I&#8217;m [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;m going to be in New York in a couple of weeks teaching my Advanced Distributed Systems Design with SOA course and, as I usually do, will be giving a presentation at a local user group &#8211; this time at the NY ALT.NET user group on Wednesday May 14 @6:30pm.</p>
<p>Just as an aside, I&#8217;m not currently planning on running another course this year so you might want to try to make <a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">this one</a> before it sells out.</p>
<p>In any case, here&#8217;s the description of the presentation:</p>
<blockquote><p>
Ever since callbacks made their way into programming languages, developers have been arguing whether the benefits of looser-coupling outweigh the drawback of seeing the control flow in one place. </p>
<p>These arguments continue as developers look to leverage technologies like RabbitMQ on-premise or Azure Queues and Amazon SQS in the cloud. See which development practices can bring the global flow visualization of orchestration to your publish/subscribe messaging architectures to get the best of both worlds.
</p></blockquote>
<p>The presentation will be at Microsoft, 11 Times Square (<a href="https://www.google.com/maps/place/11+Times+Square/@40.7565374,-73.9896843,17z/data=!3m1!4b1!4m2!3m1!1s0x89c258534f8455ad:0x55d4588f7b23a524?hl=en">map</a>)<br />
Room 6501a, 6th Floor. Make sure you bring a photo ID for building security.</p>
<p><a href="http://www.meetup.com/nyaltnet/events/152376822/">Register here</a>.</p>
<p>Hope to see you there!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/05/01/new-york-alt-net-presentation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NSBcon London 2014</title>
		<link>https://udidahan.com/2014/04/22/nsbcon-london-2014/</link>
					<comments>https://udidahan.com/2014/04/22/nsbcon-london-2014/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Tue, 22 Apr 2014 14:05:24 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Workflow]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2253</guid>

					<description><![CDATA[Since my last post announcing NSBcon you probably haven&#8217;t gone to take a look at what&#8217;s happening. The speaker lineup for NSBcon London 2014 is now complete and we&#8217;ve got a really great mix of talks, if I do say so myself. I&#8217;ve already mentioned that Oren and Greg will be there, but I wanted [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://skillsmatter.com/conferences/6198-nsbcon"><img loading="lazy" src="/wp-content/uploads/nsbcon14-300-px-x-300-px1.png" alt="NSBcon" title="NSBcon" width="300" height="300" style="float:right; margin-left:10px; margin-bottom:10px; border:none;" /></a>Since my last post <a href="http://www.udidahan.com/2014/03/13/announcing-nsbcon/">announcing NSBcon</a> you probably haven&#8217;t gone to take a look at what&#8217;s happening. </p>
<p>The speaker lineup for NSBcon London 2014 is now complete and we&#8217;ve got a really great mix of talks, if I do say so myself.</p>
<p>I&#8217;ve already mentioned that Oren and Greg will be there, but I wanted to talk a bit about the rest of the roster:</p>
<h2>First up &#8211; Wonga</h2>
<p>If you&#8217;re living in the UK, you almost can&#8217;t avoid seeing these ads.</p>
<p><img loading="lazy" src="/wp-content/uploads/Grabs_from_Wonga_T_1623046a1.jpg" alt="Wonga" title="Wonga" width="620" height="341" class="alignnone size-full wp-image-2256" srcset="https://udidahan.com/wp-content/uploads/Grabs_from_Wonga_T_1623046a1.jpg 620w, https://udidahan.com/wp-content/uploads/Grabs_from_Wonga_T_1623046a1-300x165.jpg 300w" sizes="(max-width: 620px) 100vw, 620px" /></p>
<p>What you probably didn&#8217;t know is that Wonga has been running on NServiceBus for years now.<br />
(No &#8211; we had nothing to do with the ads, and there&#8217;s nothing we can do about them.)</p>
<p><a href="https://twitter.com/Porkstone">Charlie Barker</a> was there from the beginning and has lived to tell the tale:</p>
<blockquote><p>We faced the problem of scaling our platform to meet rapid growth in customers whilst at the same time increasing the team from 15 to 200 people spread across five countries. We did this by transitioning from N-Tier to SOA even as we were delivering new features and keeping the platform stable. No small feat.</p></blockquote>
<p>This is an interesting story to hear, not only from the point of view of NServiceBus, and I&#8217;d definitely recommend grabbing Charlie over lunch or over a beer. This is probably one of the higher profile startup successes in the UK you&#8217;ll find and, as always, the behind the scenes story is just fascinating.</p>
<h2>And to the cloud!</h2>
<p>No self-respecting technology conference these days can go without spending at least some time talking about the cloud &#8211; and we won&#8217;t be the ones to buck the trend, even though we have a healthy disrespect for all sorts of things, including the ourselves <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>You&#8217;ll hear from one of the foremost Azure MVPs and all around cloudy Belgian <a href="https://twitter.com/YvesGoeleven">Yves Goeleven</a> (whose last name nobody is really sure how to pronounce). Yves has been the driving force behind getting all the various bits of Azure infrastructure integrated into NServiceBus and, if you get him to just the right level of inebriation, will spill all the dirty little secrets of the Azure platform that Microsoft doesn&#8217;t want anyone to know.</p>
<p><a href="https://twitter.com/dylanbeattie">Dylan Beattie</a> will then relate his tales of creating loosely-coupled encoding workflows for audio and video on the cloud at Spotlight &#8211; one of the world&#8217;s leading resources for professional actors, casting directors, and production professionals. It ain&#8217;t easy making ordinary people into stars.</p>
<h2>And so much more</h2>
<p>To see the complete lineup, go to <a href="https://skillsmatter.com/conferences/6198-nsbcon#program">NSBcon.com</a>.</p>
<p>And me &#8211; what will I be talking about? That&#8217;s a good question.</p>
<p>Not to steal my own thunder (after stealing everybody else&#8217;s), but you&#8217;ll hear about the deeper integration we&#8217;ve got planned for SignalR, making your event-driven architecture extend from the back of your systems all the way to the browser, so much simpler and smoother than you ever thought possible. </p>
<p>I&#8217;ll also tell you about how we&#8217;re going to enable you to run on queues that don&#8217;t support distributed transactions (like Service Bus for Windows Server) without having to worry about making your logic idempotent. For some background, see my blog post on <a href="http://www.udidahan.com/2012/12/31/life-without-distributed-transactions/">Life without distributed transactions</a>.</p>
<p>In short &#8211; it&#8217;s going to be a kick-ass conference.</p>
<p><a href="http://www.nsbcon.com">Check it out.</a></p>
<p>* and for those of you paying out of pocket, contact <a href="mailto:nsbcon@particular.net">nsbcon@particular.net</a> for a discount.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/04/22/nsbcon-london-2014/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>#NoEstimates &#8211; Really?</title>
		<link>https://udidahan.com/2014/04/19/noestimates-really/</link>
					<comments>https://udidahan.com/2014/04/19/noestimates-really/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Sat, 19 Apr 2014 14:23:21 +0000</pubDate>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Coaching]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[The Team]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2230</guid>

					<description><![CDATA[There has been some discussion online recently about the issue of estimates in software development, specifically under a meme called #NoEstimates. This came up when I was in London for the DevWeek conference at the speaker dinner with Austin Bingham, Rob Smallshire, and Allen Holub and I wanted to share some of the ideas that [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/estimates1.jpg" alt="estimates" title="estimates" width="250" height="226" style="float:right; margin-left:10px; margin-bottom:10px;" />There has been some discussion online recently about the issue of estimates in software development, specifically under a meme called <a href="http://itknowledgeexchange.techtarget.com/uncharted-waters/heusser-on-noestimates/">#NoEstimates</a>.</p>
<p>This came up when I was in London for the DevWeek conference at the speaker dinner with <a href="https://twitter.com/austin_bingham">Austin Bingham</a>, <a href="https://twitter.com/robsmallshire">Rob Smallshire</a>, and <a href="https://twitter.com/allenholub">Allen Holub</a> and I wanted to share some of the ideas that came up, as well as some of my personal opinions on the matter.</p>
<h3>Context matters</h3>
<p>When you&#8217;re in an organization that is continuously developing and evolving a product, platform, or suite, your context is quite different than when you&#8217;re working on a <b>project</b> either for an external client or an internal one.</p>
<p>In short: product vs. project.</p>
<p>While in both contexts you&#8217;ll want frequent releases, the main difference is that a project is meant to achieve a certain state of &#8220;done-ness&#8221; in a bound period of time. A product is not ever meant to be &#8220;done&#8221; in that way. A successful product is one that continues to evolve over time, with that success (arguably) resulting in more resources being dedicated to its development.</p>
<p>If we were to zoom out our scope beyond that of the project, we&#8217;d probably see certain product-ish qualities at the level of a client&#8217;s entire IT environment &#8211; no state of &#8220;done-ness&#8221; and similar consequences of success.</p>
<h3>Where estimates are needed</h3>
<p>Whether you&#8217;re in a product development organization or the CIO of an enterprise, there are a certain number of features/projects (FP) that people in &#8220;the business&#8221; want done. Let&#8217;s assume that each FP has a certain amount of business value that its implementation would result in and that that value is known in advance.</p>
<blockquote><p><b>Sidebar</b>: Clearly, the business value of any feature or project can not be known with much certainty in advance of it being implemented. Still, for the purpose of keeping the analysis simple for now, let&#8217;s table this issue for a bit.</p></blockquote>
<p>While you might think it&#8217;s reasonable to perform the work on these FPs in order of decreasing value, that is mistaking revenue for profit/return-on-investment (ROI).</p>
<p>In other words, we need to know roughly how much each of them costs to be able to calculate its predicted ROI (value &#8211; cost).</p>
<p>Only then can we decide in which order to do the work.</p>
<p>So, we need somebody technical to give an estimate.</p>
<h3>High-level estimates</h3>
<p>In this context, sometimes it&#8217;s enough to provide 3-4 buckets describing the amount of work &#8211; I like the approach of using shirt sizes: S, M, L, XL.</p>
<p>This can help the organization decide quickly to charter the development of the FPs with very high value and very low cost. These low hanging fruit are great for getting started, but when you&#8217;re done with them, then you have to decide between a bunch of FPs whose predicted ROI are all very close to each other.</p>
<p><b>Before doing that (!)</b>, it&#8217;s important that no projects with an XL size are fully chartered as is &#8211; no matter what the value.</p>
<p>When a technical person gives an XL estimate, that means &#8220;this is so big, I really have no idea how long it&#8217;ll take&#8221;. The variance can be huge here &#8211; in some cases, they might not even be certain if the request is doable without being given some time to do additional research first. And that is exactly why you need to carve out a certain chunk of time and resources for doing that research.</p>
<p>&#8220;But you don&#8217;t understand, Udi! We need this done ASAP.&#8221;</p>
<p>Believe me when I say that that ship has already sailed.</p>
<p>There&#8217;s a pretty good chance that before that extra-large FP is half-done, so much time will have gone by that business priorities will have shifted. Unfortunately, by that time so many resources will have been invested in it that nobody will have the guts (or political capital) to pull the plug on it. The best people will start leaving &#8211; sometimes to other FPs but, more often, the company as well. Even when these nightmarishly large missions are eventually done &#8211; they end up being something of a <a href="http://en.wikipedia.org/wiki/Pyrrhic_victory">Pyrrhic victory</a>.</p>
<p>So, what to do?</p>
<p>Well, beyond financing a certain amount of <b>directed and scoped</b> research and development to get a better handle on that beast, let me suggest this:</p>
<h3>Enter the &#8220;Lean Startup&#8221;</h3>
<p>If you haven&#8217;t heard about it yet, and regardless of whether you&#8217;re actually working at a startup (I&#8217;d say that it is even more important for large organization), you need to check out <a href="http://theleanstartup.com/">the Lean Startup</a>.</p>
<p>While I won&#8217;t be able to do justice to it here, let me use this admittedly gross oversimplification:</p>
<blockquote><p>You are mistaken about the predicted business value.</p></blockquote>
<p>Really.</p>
<p>So what you need to do is to start applying the scientific method &#8211; a series of experiments in which you are looking for proof to validate your hypothesis about the predicted value, where the outcome of one experiment is used to formulate another hypothesis to be tested in the next experiment.</p>
<p>Let me say this differently &#8211; until you are as rigorous in evaluating the predicted value of a given initiative as you are in estimating its cost, with that rigor increasing with the size of the initiative, you have no business starting to work on it.</p>
<p>And this is what&#8217;s missing from most of the software development world.</p>
<h3>Portfolio management</h3>
<p>I don&#8217;t really care what you call it, but the portfolio of potential investments and the risk analysis around them needs to be handled properly. </p>
<p>Based on the language I&#8217;ve chosen, you can see parallels to the world of finance. Now, before your mind starts going to the news of all the shady crap that&#8217;s been going on in the world of finance, understand that there are both positive and negative outliers in every domain.</p>
<p>That being said, I won&#8217;t point you to books on finance (at least, not for starters).</p>
<p>I suggest reading <a href="http://www.jrothman.com/books/manage-your-project-portfolio-increase-your-capacity-and-finish-more-projects/">Manage your project portfolio</a>, by Johanna Rothman (one of my favorite people in the world). She also has a couple of <a href="http://www.jrothman.com/blogs/">blogs</a>, and that can help you get started.</p>
<p>This has already gotten quite long, so I&#8217;ll skip a bit and talk about what you should do if you&#8217;re &#8220;just&#8221; a developer being asked to give an estimate.</p>
<h3>How to give a good fine-grained estimate</h3>
<p>Here&#8217;s the format to use:</p>
<blockquote><p>This will take a team of N between T1 and T2 and I am P% confident in that range, with the following assumptions (1, 2, 3), and most importantly, that the team does not work on anything else during that period of time.</p></blockquote>
<p>Let me repeat that important bit again:</p>
<p><b>Assuming the team does not work on anything else.</b></p>
<p>Most of the kinds of people who ask for estimates aren&#8217;t going to like that kind of answer. You may get some pushback, &#8220;don&#8217;t be clever &#8211; can this be done by the end of the year, or not?&#8221;. In other words, they&#8217;re asking you for a commitment &#8211; not an estimate. This is common with certain types of dysfunctional organizations &#8211; the project management people are only measured on adherence to schedule, not on whether the system solves the right problem. You, the developer, want to make sure you&#8217;re solving the right problem &#8211; you want to be Agile. But that&#8217;s not the point.</p>
<p>Let me repeat &#8211; Agile is not the point.</p>
<p>If the organization around you is dysfunctional, be smart &#8211; don&#8217;t try to be right. Solving the right business problem is the <b>right</b> thing to do, but often it&#8217;s not <b>smart</b> thing to do. If you don&#8217;t like having to deal with this kind of organizational politics, you had better find yourself a different organization &#8211; otherwise, you had better be smart.</p>
<h3>How to receive good estimates</h3>
<p>Assuming you&#8217;re a team lead, project manager, product owner, or something similar, here&#8217;s how to respond when someone gives you an estimate in the above format.</p>
<ol>
<li>If P is subjectively high enough and T2 is subjectively low enough, give them the green light.</li>
<li>
      If P isn&#8217;t high enough, or the range of T1 to T2 is too broad:</p>
<ol>
<li>If you have previously given them time to do research (RT), double the value of RT.</li>
<li>Make sure they are only doing research during this time (no other development).</li>
<li>The purpose of the research is to increase P, or decrease the range of T1-T2</li>
<li>When receiving the new estimate, go back to the beginning.</li>
</ol>
</li>
</ol>
<p>To be clear, &#8220;research&#8221; does not mean navel-gazing. It can and often will involve writing a bunch of code as well as on figuring out what the requirements should have been in the first place.</p>
<p>&#8220;But Udi, won&#8217;t this end up wasting time that could be better used on actually building the system?&#8221;</p>
<p>No.</p>
<p>In reality, this will end up paying back all the time that should have been spent up-stream on portfolio management and requirements analysis activities.</p>
<p>Which brings me to&#8230;</p>
<h3>Working software over comprehensive documentation</h3>
<p>Sometimes, writing high-quality working software is the last thing you want to do.<br />
Specifically, the earlier you are in the project, the less likely that you should be focusing on code.</p>
<p>Often, the most cost-effective thing to do is some rapid-prototyping like creating UI mock-ups to verify what the system should really do.</p>
<p>This really deserves a blog post of its own (with thanks to Geert for finding <a href="http://www.udidahan.com/2012/09/08/build-one-to-throw-away/">the link</a>), but suffice it to say that this is a skill-set all its own that should exist in every software development organization.</p>
<p>On other word on small startups &#8211; I often hear from people who are doing their own startup that want to do DDD, CQRS, SOA, and a bunch of other three-letter-acronyms they picked up on various blogs and books, because <b>this time</b> it&#8217;s up to them; this time they&#8217;re going to do it right. </p>
<p>No, no, no &#8211; stop that. Go read the Lean Startup. Then do it. And if you&#8217;re extremely lucky, you will be so successful that in a couple of years you will be in the position to rewrite the system &#8211; the only difference is that now you&#8217;ll REALLY know what the system is supposed to be.</p>
<h3>In closing</h3>
<p>OK &#8211; so that&#8217;s well over 1500 words I&#8217;ve spilled on the topic.</p>
<p>While the hashtag #NoEstimates makes a great soundbite, estimates are an important part of the information that needs to flow around the organization to help quantify and mitigate risk. Too often there are various organizational dysfunctions tangled up in the same areas as estimates which, I suppose, could give the impression that the estimates are to blame.</p>
<p>While I wish I could tell you that all you need to do is find an organization that doesn&#8217;t have any of these dysfunctions and all will be well for you, unfortunately there aren&#8217;t any organizations without them. Just like all families are dysfunctional in one way or another, so too are organizations. This is simply because each of us human beings is somewhat dysfunctional.</p>
<p>Well functioning organizations are made up of highly aware individuals &#8211; people who have become able to see and mitigate some of their personal issues, and thus can be patient as the people around them similarly work through their issues. Together, these individuals continuously create and adapt their working processes and systems to compensate for the various dysfunctions in the group.</p>
<p>Under these iteratively growing conditions of mutual trust, various kinds of estimates are performed at different levels and times and are just a normal part of communication and decision-making.</p>
<p>Please, don&#8217;t throw out the baby with the bath-water.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/04/19/noestimates-really/feed/</wfw:commentRss>
			<slash:comments>14</slash:comments>
		
		
			</item>
		<item>
		<title>Announcing the Particular Service Platform</title>
		<link>https://udidahan.com/2014/04/16/announcing-the-particular-service-platform/</link>
					<comments>https://udidahan.com/2014/04/16/announcing-the-particular-service-platform/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Wed, 16 Apr 2014 14:41:52 +0000</pubDate>
				<category><![CDATA[EDA]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[Particular]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2211</guid>

					<description><![CDATA[After many months of hinting about the coming of the Particular Service Platform, it&#8217;s finally here. For everybody who has been building message-driven systems on .NET &#8211; I really do believe that this is the dawn of a new era (and if you know anything at all about me, you know that I don&#8217;t tend [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img src="/wp-content/uploads/champaign.png" alt="champaign" title="champaign" style="width:90px; height:135px; float:right; margin-left:10px; margin-bottom:10px;" />After many months of hinting about the coming of the <a href="http://www.particular.net">Particular Service Platform</a>, it&#8217;s finally here.</p>
<p>For everybody who has been building message-driven systems on .NET &#8211; I really do believe that this is the dawn of a new era (and if you know anything at all about me, you know that I don&#8217;t tend to exaggerate).</p>
<h3>What is it?</h3>
<p>Imagine designing your solution by graphically creating endpoints and messages, seeing the routing laid out in front of you visually, being able to specify system wide error and audit queues, having your cross-cutting authentication applied automatically to all endpoints, correlating events together into sagas, pressing F5, and as everything springs to life, on your second monitor you can see the messages flowing through your specific debug session synchronized in real time as you step through your code.</p>
<p>Well, you don&#8217;t have to imagine &#8211; that&#8217;s now a reality.</p>
<p>Top that off with some nice production monitoring that includes heartbeats for all of your endpoints, notification of message processing failures (with the ability to send them back for reprocessing), and some cool extensibility to plug in your own custom checks.</p>
<p>It&#8217;s a whole new world of service-oriented development.</p>
<p>This <a href="http://bit.ly/platformOverview">short video</a> will give you a sense of what it&#8217;s like:</p>
<p><a href="//fast.wistia.net/embed/iframe/8ju7eemmdh?popover=true" class="wistia-popover[height=608,playerColor=00a3c4,width=1080]"><img src="https://embed-ssl.wistia.com/deliveries/ff6eb27bcc109ca4241ef62408c91a2e36bf860b.jpg?image_play_button=true&#038;image_play_button_color=00a3c4e0&#038;image_crop_resized=500x281" alt="" /></a><br />
<script charset="ISO-8859-1" src="//fast.wistia.com/assets/external/popover-v1.js"></script></p>
<p>Here&#8217;s some other things you might find interesting.</p>
<h3>Testing you can trust</h3>
<p>I&#8217;ll bet you didn&#8217;t know the level of testing that we&#8217;re now putting into each release. </p>
<p>Every time we put out a new release, we test it on cloud servers configured across all permutations of transports, containers, persistence technologies, server operating systems, as well as for compatibility with previously released versions 2 years back (!). This way, when you want to have a new system subscribe to events published by a system already in production, you&#8217;ll know that it will all &#8220;just work&#8221; – no matter what. </p>
<p>Running all of these tests in the cloud is something that we could never afford back when we were a regular free/open-source project, but is definitely worth it. We know you count on us for your mission-critical systems and will continue doing our very best to be worthy of that trust.</p>
<h3>The roadmap</h3>
<p>Now that the platform is out, the next big thing you can expect is the removal of all distributed transactions.</p>
<p>Over the past months (and even years) we&#8217;ve been making preparations for this, making all sorts of small backwards compatible changes and enhancements so that we can fully control the inbound and outbound behavior of messages. The investments we&#8217;ve been making in automated tests is also in support of this. We want to be absolutely positive that you will get the exact same logical behavior as before without losing any of the transactional guarantees you&#8217;ve come to expect from NServiceBus.</p>
<p>We&#8217;ll give you updates on this and the other things we&#8217;re working on soon, as part of our larger roadmap so that you&#8217;ll know roughly what kind of big features you can expect and when. Of course, we always leave some &#8220;slack&#8221; in our iterations for working on critical patches, enhancements, and refactoring.</p>
<p>In any case, the main idea here is for you to be able to give us feedback and input on what’s important to you and for us to communicate back what we will be able to commit to and when.</p>
<h3>Expressing our thanks</h3>
<p>It&#8217;s been quite a journey this past year – the company has doubled in size and we&#8217;ve really got a great group of people here. While we&#8217;re constantly looking ahead and seeing all the wonderful things that we want to do, I wanted to take a moment and look back.</p>
<p>It&#8217;s been almost two years of work on ServiceMatrix (previously named NSB Studio) – the absolute biggest investment we&#8217;ve made. This past year was really the biggest push, and when taken together with all of the other tools – the production monitoring in ServicePulse that so many people have been clamoring for; the under-the-hood visibility of ServiceInsight; and the unseen glue of ServiceControl tying them all together;  well, it was a very ambitious year.</p>
<p>I wanted to thank everyone who took part in our betas – your feedback was absolutely invaluable;</p>
<p>To our <a href="http://particular.net/champions">Community Champs</a> who keep asking us the difficult questions and pushing us to do better;</p>
<p>To all of you in our community who have believed in us;</p>
<p>To the growing ranks of paying customers who voted with their wallets as well as their hearts;</p>
<p>You have my personal thanks as well as those of the entire team.<br />
It continues to be an honor and a privilege.</p>
<h3>Go and get it</h3>
<p>That’s it – go to <a href="http://www.particular.net">www.particular.net</a> and click the big &#8220;download now&#8221; button and take the new platform for a spin!</p>
<p>I can&#8217;t wait to hear what you all think.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/04/16/announcing-the-particular-service-platform/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Loosely-coupled orchestration recording now online</title>
		<link>https://udidahan.com/2014/04/07/loosely-coupled-orchestration-recording-now-online/</link>
					<comments>https://udidahan.com/2014/04/07/loosely-coupled-orchestration-recording-now-online/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 07 Apr 2014 13:25:02 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2205</guid>

					<description><![CDATA[When I was in London a couple of weeks ago teaching my SOA class, I gave an evening presentation called Loosely-Coupled Orchestration which talked about some of the challenges people face when introducing more event-driven and asynchronous patterns into their systems &#8211; for example, dealing with out-of-order message delivery. I&#8217;m happy to say that the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When I was in London a couple of weeks ago teaching my SOA class, I gave an evening presentation called Loosely-Coupled Orchestration which talked about some of the challenges people face when introducing more event-driven and asynchronous patterns into their systems &#8211; for example, dealing with out-of-order message delivery.</p>
<p>I&#8217;m happy to say that the recording of that session is now online, courtesy of the good folks at Skills Matter, and you can now view that <a href="https://skillsmatter.com/skillscasts/5090-loosely-coupled-orchestration-with-messaging">here</a>.</p>
<p>In this presentation, you&#8217;ll also see a lot of the new capabilities that will be coming out soon with the release of our new Particular Service Platform &#8211; the suite of tools that makes NServiceBus that much more awesome. From monitoring of production issues, to debugging cross-endpoint message flows, to modeling of message-driven &amp; service-oriented systems, it really takes distributed systems development to the next level.</p>
<p><a href="https://skillsmatter.com/skillscasts/5090-loosely-coupled-orchestration-with-messaging">Check it out!</a></p>
<p>Oh, I almost forgot, there are still some seats left for my course in New York City. <a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">Details here</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/04/07/loosely-coupled-orchestration-recording-now-online/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Code for my Programming in 4D talk</title>
		<link>https://udidahan.com/2014/04/02/code-for-my-programming-in-4d-talk/</link>
					<comments>https://udidahan.com/2014/04/02/code-for-my-programming-in-4d-talk/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Wed, 02 Apr 2014 11:48:30 +0000</pubDate>
				<category><![CDATA[Business Rules]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[Modeling]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Versioning]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2187</guid>

					<description><![CDATA[So, I&#8217;ve been a bad presenter. I&#8217;ve given my Programming in 4D talk already several times and I haven&#8217;t yet uploaded the code for it. And seeing as I&#8217;m going to be giving it again today (at the DevWeek conference in London), I figured that I should finally get my act together and put it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://upload.wikimedia.org/wikipedia/commons/5/55/Tesseract.gif"><img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxITEhUUEhQUFBQWFxoYFRcVFxccFxwUHRcXFxQXFBYbHCggGBolHRYVITEiJSkrLi4uFx8zODMsNygtLisBCgoKDg0OGxAQGywkICQsLCwsLCw0LCwsLCwsLCwsLCwsLDQsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLP/AABEIAMwAzAMBEQACEQEDEQH/xAAbAAEAAwADAQAAAAAAAAAAAAAABQYHAQMEAv/EAEQQAAEDAgMEBAkKBQQDAQAAAAEAAgMEEQUGIRIxQVEHYXGxEyIjMjNicoGRJDRCUmNzocHR8BSSorLhJTWCwkOD0hb/xAAZAQEAAwEBAAAAAAAAAAAAAAAAAwQFAgH/xAAyEQACAQMDAgQEBQUBAQAAAAAAAQIDBBEhMTISQRMzUXEiQmGRFCOBobFDUtHh8PEF/9oADAMBAAIRAxEAPwDDUAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQB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6SUbMofCTz8Zvx4K3C9py30K0rWcdtT3Z+xOmMMbo545AWDzTqDyI5r2VaPS2zmFOXVgyKom2jdZE5dTyaUY4R1Lk6CAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCA//Z" title="Click here for the animation" alt="Click here for the animation" style="float:right; margin-left:10px; margin-bottom:10px;" /></a>So, I&#8217;ve been a bad presenter.</p>
<p>I&#8217;ve given my Programming in 4D talk already several times and I haven&#8217;t yet uploaded the code for it.</p>
<p>And seeing as I&#8217;m going to be giving it again today (at the DevWeek conference in London), I figured that I should finally get my act together and put it online.</p>
<p>Interestingly enough, the other conferences I&#8217;ve spoken at either didn&#8217;t record it or didn&#8217;t put the recording online. Hopefully DevWeek will do better &lt;FingersCrossed/&gt;.</p>
<h3>The overall solution</h3>
<p>The scenario I talk about in this presentation is (again) a standard one in the world of retail: customers who want to return products that they&#8217;ve purchased and get a refund.</p>
<p>I&#8217;ve used our new <a href="http://particular.net/ServiceMatrix-1">ServiceMatrix</a> tooling to model the solution like this (click for a larger image):</p>
<p><a href="http://www.udidahan.com/wp-content/uploads/RefundPolicySolutionBig1.png" /><img loading="lazy" src="/wp-content/uploads/RefundPolicySolutionSmall1.png" alt="RefundPolicySolution" title="RefundPolicySolution" width="700" height="379" class="alignnone size-full wp-image-2191" srcset="https://udidahan.com/wp-content/uploads/RefundPolicySolutionSmall1.png 700w, https://udidahan.com/wp-content/uploads/RefundPolicySolutionSmall1-300x162.png 300w" sizes="(max-width: 700px) 100vw, 700px" /></a></p>
<p>If you&#8217;d like to download the complete solution, <a href="https://www.dropbox.com/s/yyg32z0zqd41c60/RetailSample.zip">click here</a>. </p>
<p>Now, we&#8217;re going to focus on the RefundPolicy object that you can see towards the bottom left.</p>
<h3>The Refund Policy</h3>
<p>So, in this scenario, what we&#8217;re going to implement is a process whereby if you return your products within 30 days of the purchase, you&#8217;ll receive a 100% refund; if you return your products within 60 days you&#8217;ll receive a 50% refund, and anything longer than that and no refund for you.</p>
<p>Here&#8217;s the code:</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<div class="csharpcode">
<pre><span class="kwrd">public</span> <span class="kwrd">class</span> RefundPolicy : Saga&lt;RefundPolicySagaData&gt;, </pre>
<pre>                            IAmStartedByMessages&lt;OrderAccepted&gt;, </pre>
<pre >                            IHandleMessages&lt;ProductsReturned&gt;, </pre>
<pre>                            IHandleTimeouts&lt;Percent&gt;, </pre>
<pre >                            IHandleSagaNotFound</pre>
<pre>{</pre>
<pre>    <span class="kwrd">public</span> <span class="kwrd">void</span> Handle(OrderAccepted message)</pre>
<pre>    {</pre>
<pre >        Data.OrderId = message.OrderId;</pre>
<pre>        Console.WriteLine(<span class="str">"OrderAccepted"</span>);</pre>
<pre >&nbsp;</pre>
<pre>        Data.Percent = 100;</pre>
<pre >&nbsp;</pre>
<pre>        RequestTimeout(TimeSpan.FromDays(30), 50.Percent());</pre>
<pre >        RequestTimeout(TimeSpan.FromDays(60), 0.Percent());</pre>
<pre>    }</pre>
<pre >&nbsp;</pre>
<pre>    <span class="kwrd">public</span> <span class="kwrd">void</span> Handle(ProductsReturned message)</pre>
<pre >    {</pre>
<pre>        Console.WriteLine(<span class="str">"ProductsReturned"</span>);</pre>
<pre >&nbsp;</pre>
<pre>        Bus.Send&lt;IssueRefund&gt;(m =&gt; m.Percent = Data.Percent);</pre>
<pre >        MarkAsComplete();</pre>
<pre>    }</pre>
<pre >&nbsp;</pre>
<pre>    <span class="kwrd">public</span> <span class="kwrd">override</span> <span class="kwrd">void</span> ConfigureHowToFindSaga()</pre>
<pre >    {</pre>
<pre>        ConfigureMapping&lt;ProductsReturned&gt;(m =&gt; m.OrderId).ToSaga(s =&gt; s.OrderId);</pre>
<pre >    }</pre>
<pre>        </pre>
<pre >    <span class="kwrd">public</span> <span class="kwrd">void</span> Timeout(Percent state)</pre>
<pre>    {</pre>
<pre>        Console.WriteLine(<span class="str">"Timeout"</span>);</pre>
<pre>        Data.Percent = state;</pre>
<pre >&nbsp;</pre>
<pre>        <span class="kwrd">if</span> (state == 0)</pre>
<pre >            MarkAsComplete();</pre>
<pre>    }</pre>
<pre >&nbsp;</pre>
<pre>    <span class="kwrd">public</span> <span class="kwrd">void</span> Handle(<span class="kwrd">object</span> message)</pre>
<pre >    {</pre>
<pre>        <span class="kwrd">if</span> (message <span class="kwrd">is</span> ProductsReturned)</pre>
<pre >            Console.WriteLine(<span class="str">"No refund for you"</span>);</pre>
<pre>    }</pre>
<pre >}</pre>
<pre>&nbsp;</pre>
<pre ><span class="kwrd">public</span> <span class="kwrd">class</span> RefundPolicySagaData : ContainSagaData</pre>
<pre>{</pre>
<pre >    [Unique]</pre>
<pre>    <span class="kwrd">public</span> <span class="kwrd">int</span> OrderId { <span class="kwrd">get</span>; <span class="kwrd">set</span>; }</pre>
<pre >&nbsp;</pre>
<pre>    <span class="kwrd">public</span> Percent Percent { <span class="kwrd">get</span>; <span class="kwrd">set</span>; }</pre>
<pre >}</pre>
</div>
<p></p>
<h3>And what&#8217;s so good about that?</h3>
<p>Well, not to steal my own thunder and give you a reason not to watch the video when it comes out, the trick is in the two RequestTimeout calls that are invoked when an OrderAccepted message arrives. You see, what that does is that it takes the data that defines the behavior of the refund policy and persists that via a queue, which will play back the data to our object according to the defined schedule.</p>
<p>This way, if/when the business decides to change the rules (say, reducing the timeframes to 20 days and 40 days), that will only affect users who are placing new purchases. The customers who made a purchase 50 days earlier (when the rules were still 30/60) will get the correct behavior applied to them.</p>
<h3>Next steps</h3>
<p>Of course, nobody would want a developer to have to open this code and change it in order to make a simple change like 30/60 -> 20/40, so we could externalize the data by creating a dictionary property on the saga where the key is the TimeSpan and the value is the Percent. Then, we could pull those values from either a config file or database and inject them into the property on the saga.</p>
<p>Here&#8217;s how the code of the saga would change:</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<div class="csharpcode">
<pre ><span class="kwrd">public</span> <span class="kwrd">class</span> RefundPolicy : Saga&lt;RefundPolicySagaData&gt;, </pre>
<pre>                            IAmStartedByMessages&lt;OrderAccepted&gt;, </pre>
<pre >                            IHandleMessages&lt;ProductsReturned&gt;, </pre>
<pre>                            IHandleTimeouts&lt;Percent&gt;, </pre>
<pre >                            IHandleSagaNotFound</pre>
<pre>{</pre>
<pre >    <span class="kwrd">public</span> Dictionary&lt;TimeSpan, Percent&gt; DataDefinitions { <span class="kwrd">get</span>; <span class="kwrd">set</span>; }</pre>
<pre>&nbsp;</pre>
<pre >    <span class="kwrd">partial</span> <span class="kwrd">void</span> HandleImplementation(OrderAccepted message)</pre>
<pre>    {</pre>
<pre >        Data.OrderId = message.OrderId;</pre>
<pre>        Console.WriteLine(<span class="str">"OrderAccepted"</span>);</pre>
<pre >&nbsp;</pre>
<pre>        Data.Percent = 100;</pre>
<pre >&nbsp;</pre>
<pre>        <span class="kwrd">foreach</span>(<span class="kwrd">var</span> kv <span class="kwrd">in</span> DataDefinitions)</pre>
<pre >            RequestTimeout(kv.Key, kv.Value);</pre>
<pre>    }</pre>
</div>
<p>And the code to do the property injection would look like this:</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<div class="csharpcode">
<pre ><span class="kwrd">public</span> <span class="kwrd">class</span> RefundPolicyDataConfigurator : INeedInitialization</pre>
<pre>{</pre>
<pre >    <span class="kwrd">public</span> <span class="kwrd">void</span> Init()</pre>
<pre>    {</pre>
<pre >        Dictionary&lt;TimeSpan, Percent&gt; data = <span class="kwrd">null</span> <span class="rem">/* get from config instead */</span>;</pre>
<pre>        Configure.Instance.Configurer</pre>
<pre >            .ConfigureProperty&lt;RefundPolicy&gt;(p =&gt; p.DataDefinitions, data);</pre>
<pre>    }</pre>
<pre >}</pre>
</div>
<p>Classes the implement INeedInitialization are invoked at process startup, and that call to ConfigureProperty instructs the container to set the DataDefinitions property of our RefundPolicy every time it is resolved (which is on every message).</p>
<h3>In closing</h3>
<p>We now have a solution which allows non-developers to make changes to the refund policy definitions without requiring us to deploy any new code to production. Also, any changes that are made will preserve the promises we made to our users in the past.</p>
<p>Of course, if you want changes to rules to impact all users immediately, this approach wouldn&#8217;t be so good.</p>
<p>Again, if you&#8217;d like to download the complete solution, <a href="https://www.dropbox.com/s/yyg32z0zqd41c60/RetailSample.zip">the code is here</a>, and if it wasn&#8217;t already obvious, this code makes use of <a href="http://particular.net/">NServiceBus</a> quite heavily.</p>
<p>When the recording comes online, I&#8217;ll update this post with a link as well as do another blog post.</p>
<p>Hope you like it.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/04/02/code-for-my-programming-in-4d-talk/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>On that Microservices thing</title>
		<link>https://udidahan.com/2014/03/31/on-that-microservices-thing/</link>
					<comments>https://udidahan.com/2014/03/31/on-that-microservices-thing/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 31 Mar 2014 16:40:36 +0000</pubDate>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2181</guid>

					<description><![CDATA[Seems that I&#8217;m a bit late to the Microservices party &#8211; original article here. But since I&#8217;ve been getting repeated requests to weigh in on the topic, I guess I&#8217;ll have to risk fanning the flames up again. Also, since quite a few reactions have already been written on the topic (and I don&#8217;t want [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/ants1.jpg" alt="ants" title="ants" width="300" height="182" style="float:right; margin-left:10px; margin-bottom:10px;"/>Seems that I&#8217;m a bit late to the Microservices party &#8211; original article <a href="http://martinfowler.com/articles/microservices.html">here</a>.</p>
<p>But since I&#8217;ve been getting repeated requests to weigh in on the topic, I guess I&#8217;ll have to risk fanning the flames up again.</p>
<p>Also, since quite a few reactions have already been written on the topic (and I don&#8217;t want to repeat them here), I&#8217;ll just point to <a href="http://arnon.me/2014/03/services-microservices-nanoservices">this post by Arnon</a> which sums them all up pretty well.</p>
<p>Now, I don&#8217;t entirely agree with all the commentary Arnon pointed to, or all of his thoughts on the topic, but I&#8217;ll try to take those up some other time.</p>
<p>And before jumping into it, let me say that there is a lot of good stuff in the article and that, regardless of naming, spreading the word more broadly on these approaches has value.</p>
<h3>So, where do I stand on the topic</h3>
<p>First of all, for those of you who have been following my blog for a while I&#8217;d say this:</p>
<p>Microservices almost equals Autonomous Components.</p>
<p>Why &#8220;almost&#8221;?</p>
<p>Because an Autonomous Component (AC) isn&#8217;t necessarily a physical unit of deployment &#8211; very often we&#8217;ll see multiple ACs deployed in the same physical process. One of the most common occurrences is in a web front end built as a composite UI. In the same web server process we&#8217;ll see components from multiple Services.</p>
<p>This is something that was hardly mentioned in the original article.</p>
<h3>On Services and Systems</h3>
<p>In my world, Services are a larger organizing principle that are meant to align solution domain boundaries with problem domain boundaries.</p>
<p>Now, that might sound very similar to this passage from the original article:</p>
<blockquote><p>
&#8220;The microservice approach to division is different, splitting up into services organized around business capability. Such services take a broad-stack implementation of software for that business area, including user-interface, persistant storage, and any external collaborations. Consequently the teams are cross-functional, including the full range of skills required for the development: user-experience, database, and project management.&#8221;
</p></blockquote>
<p>Now, this isn&#8217;t entirely surprising because I did have several conversations with both James and Martin on the topic over the past couple of years.</p>
<p>Still, there is something important missing here that I believe is very important to achieve loose-coupling, and that is that Services necessarily have to span system boundaries.</p>
<p>Let me repeat that: a Service will need to have components that are deployed to more than one system.</p>
<p>Here&#8217;s why:</p>
<p>Let&#8217;s say you have a piece of data like the price of a product. Not only will that data be visible in one system, often it will need to be shown (as well as updated) in other systems too. In order to have appropriate encapsulation of that concept, the owning service will need to be the one that owns the components that operate on that concept in the other systems.</p>
<p>This means that if we need to show the product price on an invoice in a back-end system, then that invoice would have to be a composite UI as well, and the service which owns the price will have a component deployed there which would be responsible for showing the price on the invoice.</p>
<p>In this manner, no code outside the service boundary would know about the concept of the product price and thus could not end up coupled to it.</p>
<p>Although the original article does get into this to some degree (when talking about Decentralized Data Management), I don&#8217;t really see how a microservice/AC could end up having this level of ownership of data.</p>
<p>Still, the point made about different persistence technologies is valid at the level of services (though not ACs).</p>
<h3>How big is a service</h3>
<p>Now, if the price is not shared outside the boundary of the service, then how would order totals be calculated? </p>
<p>The answer is that the totals must (MUST) be calculated in the same service.</p>
<p>This shouldn&#8217;t be surprising as it&#8217;s just good old OO &#8211; encapsulating data with the logic that operates on it. Or, if you&#8217;d like, call it the Single Responsibility Principle: there should only be a single service impacted by a change to the definition of this data.</p>
<p>As a result, you&#8217;ll tend to see services that aren&#8217;t all that small, and probably not so many of them. In my experience, I&#8217;ve seen between 7 and 15 services the majority of the time. </p>
<h3>Cross-service collaboration</h3>
<p>Although I am glad to see the recommendation for event-based interactions between microservices, the focus on cross-process communication ignores some extremely important collaboration scenarios &#8211; the most important of which is in the client tier.</p>
<p>In a web application, it is quite common to have components written in javascript from multiple services interacting among themselves in the browser &#8211; one publishing events, others subscribing to those JS events. It is also quite common to see those JS components request some data from back-end components in the same service in response to those JS events.</p>
<p>This type of synchronous RPC communication within a service boundary is perfectly acceptable, although it stands in contrast to the recommendations of the microservices approach.</p>
<h3>Caveat on sharing data</h3>
<p>I&#8217;ve been going on and on about the importance of not sharing data, but there is one exception to that rule.</p>
<p>There is a special service that I call IT/Ops which (among other things) is responsible for integration with 3rd party systems. As a part of this integration, it encapsulates data transformation logic and, as a result, needs to be able to receive data from the other more business-centric services.</p>
<p>As you can imagine, this puts IT/Ops in the risky position of coupling itself to a lot of things and thus needs to be done carefully. As a result, I recommend that many of the most skilled technical people work within the IT/Ops team, also serving in a consultative capacity to the other service teams.</p>
<h3>In closing</h3>
<p>I am extremely thankful to Martin and James for writing the Microservices article.</p>
<p>I think that the conversations it has sparked are timely, and hopefully more people will ponder these questions of how to structure their code-bases in order to avoid them becoming monolithic.</p>
<p>And while I think that it&#8217;s great to consider aligning team boundaries with service boundaries, people need to understand that it will need to be an evolutionary process &#8211; it will take time to transition an existing code base and an existing team structure to this new model, especially since these teams will have to continue to deliver features and bug fixes through the transition period.  Jumping to the new model directly may cause more harm than good.</p>
<p>This is actually one of the most salient topics of my course (next one in <a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">NYC in May</a>) &#8211; how do you get there from here. In my experience there are 4 phases that companies go through, often taking at least a couple of years, with larger environments taking potentially longer.</p>
<p>In any case, let&#8217;s keep the conversation going.</p>
<p>What are your thoughts? Have you been applying the Microservices approach, or possibly the one I talk about (I really should give it a name). What&#8217;s been working well for you? What hasn&#8217;t?</p>
<p>Leave me a comment or write your own blog post.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/03/31/on-that-microservices-thing/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
			</item>
		<item>
		<title>and now the ADSD Unconference!</title>
		<link>https://udidahan.com/2014/03/14/and-now-the-adsd-unconference/</link>
					<comments>https://udidahan.com/2014/03/14/and-now-the-adsd-unconference/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Fri, 14 Mar 2014 14:08:38 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[SOA]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2166</guid>

					<description><![CDATA[In addition to NSBcon, we&#8217;re also going to be running the first ADSD conference in London too &#8211; the day before, in fact. Well, it would be more accurate to say the first ADSD UNconference. For the thousand+ people I&#8217;ve trained over the past 7 years who have been applying the principles of the course [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://skillsmatter.com/conferences/6220-adsd-unconference"><img loading="lazy" src="/wp-content/uploads/ADSD_unconference1.png" alt="ADSD unconference" title="ADSD unconference" width="300" height="300" style="float:right; margin-left:10px; margin-bottom:10px; border:none;" /></a>In addition to <a href="http://www.udidahan.com/2014/03/13/announcing-nsbcon/">NSBcon</a>, we&#8217;re also going to be running the first ADSD conference in London too &#8211; the day before, in fact.</p>
<p>Well, it would be more accurate to say the first <a href="https://skillsmatter.com/conferences/6220-adsd-unconference">ADSD UNconference</a>.</p>
<p>For the thousand+ people I&#8217;ve trained over the past 7 years who have been applying the principles of the course and want to discuss what&#8217;s been working for them, what hasn&#8217;t been working, and how new tools and technologies can be applied to achieve loosely-coupled bliss, this is the place for you.</p>
<p><b>Important:</b> This is unconference is limited to people who have taken the <strike>red pill</strike> ADSD course.</p>
<p>Join us in London on June 25 &#8211; <a href="https://skillsmatter.com/conferences/6220-adsd-unconference">register here</a>.<br />
Or in New York City on October 1 &#8211; <a href="https://skillsmatter.com/conferences/6222-adsd-unconference-nyc">register here</a>.</p>
<p>We will be meeting the evening before to set the agenda and then go out for drinks and dinner.</p>
<h3>What&#8217;s ADSD?</h3>
<p>That&#8217;s the acronym for the Advanced Distributed Systems Design with SOA and DDD course I&#8217;ve been teaching for the past 7+ years.</p>
<p>If you want to know about Service-Oriented Architecture (or <a href="http://martinfowler.com/articles/microservices.html">Microservices</a> as it&#8217;s now being called &#8211; separate blog post coming on that topic), Domain-Driven Design, Command-Query Responsibility Separation, and how to gradually transition your way there &#8211; this is the course for you.</p>
<p>The next one is in London March 24-28 &#8211; <a href="https://skillsmatter.com/courses/258-advanced-distributed-systems-design-with-soa-course">register here</a>.<br />
The one after that is in NYC May 12-16 &#8211; <a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">register here</a>.</p>
<h3>What&#8217;s an &#8220;unconference&#8221;?</h3>
<p>Taken from <a href="http://en.wikipedia.org/wiki/Unconference">Wikipedia</a>:</p>
<blockquote><p>
An unconference is a participant-driven meeting. The term &#8220;unconference&#8221; has been applied, or self-applied, to a wide range of gatherings that try to avoid one or more aspects of a conventional conference, such as high fees, sponsored presentations, and top-down organization.</p>
<p>Typically at an unconference, the agenda is created by the attendees at the beginning of the meeting. Anyone who wants to initiate a discussion on a topic can claim a time and a space. Unconferences typically feature open discussions rather than having a single speaker at the front of the room giving a talk, although any format is permitted.
</p></blockquote>
<h3>In closing</h3>
<p>I know some people have gotten so much value from the course that they&#8217;ve actually attended the course a second time. </p>
<p>Most probably wouldn&#8217;t be able to convince their boss.</p>
<p>So it is my hope that this format can serve as a kind of continuation to the course for people in the ADSD community to maintain contact and learn from each other, on top of the online discussion group.</p>
<p>Hope to see you there!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/03/14/and-now-the-adsd-unconference/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Announcing NSBcon</title>
		<link>https://udidahan.com/2014/03/13/announcing-nsbcon/</link>
					<comments>https://udidahan.com/2014/03/13/announcing-nsbcon/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Thu, 13 Mar 2014 12:49:46 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[NSBcon]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2156</guid>

					<description><![CDATA[I am most thrilled to announce the first NSBcon! &#60;Applause/&#62; It&#8217;s been a long time since my first blog post on NServiceBus (about 7 years ago) and the community has come a long way since then. In any case, this won&#8217;t be a &#8220;looking back&#8221; post but rather one looking forwards. In addition to myself [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://skillsmatter.com/conferences/6198-nsbcon"><img loading="lazy" src="/wp-content/uploads/nsbcon14-300-px-x-300-px1.png" alt="NSBcon" title="NSBcon" width="300" height="300" style="float:right; margin-left:10px; margin-bottom:10px; border:none;" /></a>I am most thrilled to announce the first NSBcon!</p>
<p>&lt;Applause/&gt;</p>
<p>It&#8217;s been a long time since my first blog post on NServiceBus (about 7 years ago) and the community has come a long way since then.</p>
<p>In any case, this won&#8217;t be a &#8220;looking back&#8221; post but rather one looking forwards.</p>
<p>In addition to myself and the rest of the crew, we&#8217;ve got some great speakers coming out including the inimitable <a href="http://goodenoughsoftware.net/">Greg Young</a> and the formidable <a href="http://www.ayende.com">Ayende Rahien</a> (aka Oren Eini).</p>
<p><a href="https://skillsmatter.com/conferences/6198-nsbcon">Register here</a>.</p>
<p>For those of you who can&#8217;t make it to London for June 26-27, we&#8217;ll be running another NSBcon in The Big Apple (New York City) on September 29-30. <a href="https://skillsmatter.com/conferences/6223-nsbcon-nyc-2014">Register here</a></p>
<p>If you&#8217;d really like to come but have to pay out of pocket (either because you&#8217;re a contractor or your employer just won&#8217;t pay), send an email to <a href="mailto:nsbcon@particular.net">nsbcon@particular.net</a> and we&#8217;ll get you a nice discount, but please hurry as we don&#8217;t have many of these tickets left.</p>
<p><a href="https://skillsmatter.com/conferences/6198-nsbcon">Hope to see you there!</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/03/13/announcing-nsbcon/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>NYC 2014 &#8211; Registration open</title>
		<link>https://udidahan.com/2014/02/03/nyc-2014-registration-open/</link>
					<comments>https://udidahan.com/2014/02/03/nyc-2014-registration-open/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 03 Feb 2014 15:58:47 +0000</pubDate>
				<category><![CDATA[Courses]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2139</guid>

					<description><![CDATA[Registration is now open for my 5-day Advanced Distributed Systems Design course in New York City on May 12-16. Register here. I&#8217;m afraid that the venue we&#8217;ve got only has 24 seats and about half of those have already been sold, so if you&#8217;d like to register, please don&#8217;t wait. A while back, an attendee [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/nyc1.jpg" alt="nyc" title="nyc" width="300" height="209" style="float:right; margin-left:10px; margin-bottom:10px;" />Registration is now open for my 5-day Advanced Distributed Systems Design course in New York City on May 12-16. <a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">Register here</a>.</p>
<p>I&#8217;m afraid that the venue we&#8217;ve got only has 24 seats and about half of those have already been sold, so if you&#8217;d like to register, please don&#8217;t wait.</p>
<p>A while back, an attendee named Tom Cabanski blogged his experiences going through the course &#8211; it&#8217;s a really interesting view into the roller-coaster of the course. He&#8217;s broken it down into several parts, <a href="http://tom.cabanski.com/2012/01/22/advanced-distributed-system-design-with-udi-dahan-part-1-before-the-brain-storm/">starting here</a>, but I&#8217;d say that <a href="http://tom.cabanski.com/2012/01/28/advanced-distributed-system-design-with-udi-dahan-part-4-go-forth-and-make-things-simple/">part 4</a> is probably the most interesting.</p>
<p>Here are some choice quotes:</p>
<blockquote><p>Don’t name your services.  You probably will get the name wrong at first and that will lead you to group the wrong things into the service because the name will insist you do.</p></blockquote>
<blockquote><p>By day 4, every time Udi mentioned “best practice” there would be a ripple of giggles in the room.</p></blockquote>
<p><a href="http://www.eventbee.com/v/nservicebus/event?eid=103218412">Hope to see you there</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/02/03/nyc-2014-registration-open/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NServiceBus course &#8211; Feb 2014 in London</title>
		<link>https://udidahan.com/2014/01/20/nservicebus-course-feb-2014-in-london/</link>
					<comments>https://udidahan.com/2014/01/20/nservicebus-course-feb-2014-in-london/#comments</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Mon, 20 Jan 2014 12:00:38 +0000</pubDate>
				<category><![CDATA[Courses]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Training]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2129</guid>

					<description><![CDATA[I almost forget to mention that Jimmy Bogard will be coming back to London to teach the 4-day Enterprise Development with NServiceBus course on February 10th. Register here &#160;]]></description>
										<content:encoded><![CDATA[<p>I almost forget to mention that Jimmy Bogard will be coming back to London to teach the 4-day Enterprise Development with NServiceBus course on February 10th.</p>
<p><a href="http://skillsmatter.com/course/open-source-dot-net/udi-dahan-nservicebus/ud-886">Register here</a></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/01/20/nservicebus-course-feb-2014-in-london/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Training 2014</title>
		<link>https://udidahan.com/2014/01/19/training-2014/</link>
					<comments>https://udidahan.com/2014/01/19/training-2014/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Sun, 19 Jan 2014 10:20:11 +0000</pubDate>
				<category><![CDATA[Courses]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Training]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2127</guid>

					<description><![CDATA[Just a short post to let you know about my plans for training for the first part of this year. I&#8217;ll be teaching the 5-day Advanced Distributed Systems Design course on the week of March 24-28 in London. Registration is currently open here. I&#8217;ve also decided to come back to New York City and teach [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Just a short post to let you know about my plans for training for the first part of this year.</p>
<p>I&#8217;ll be teaching the 5-day Advanced Distributed Systems Design course on the week of March 24-28 in London. Registration is currently open <a href="http://skillsmatter.com/course/design-architecture/advanced-distributed-systems-design-with-soa/ud-886">here</a>.</p>
<p>I&#8217;ve also decided to come back to New York City and teach the course there on the week of May 12-16. Registration isn&#8217;t open just yet but if you&#8217;d like to reserve a spot, send me an email to <a href="mailto:training@udidahan.com">training@udidahan.com</a>.</p>
<p>You might have also heard some whispering of an NServiceBus conference &#8211; that too will be coming this year.</p>
<p>Stay tuned.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/01/19/training-2014/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NServiceBus Partial Update for 2013</title>
		<link>https://udidahan.com/2014/01/01/nservicebus-partial-update-for-2013/</link>
					<comments>https://udidahan.com/2014/01/01/nservicebus-partial-update-for-2013/#respond</comments>
		
		<dc:creator><![CDATA[udidahan]]></dc:creator>
		<pubDate>Wed, 01 Jan 2014 07:53:23 +0000</pubDate>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<guid isPermaLink="false">http://www.udidahan.com/?p=2099</guid>

					<description><![CDATA[What with the end of the calendar year, it feels like I should be writing some kind of yearly summary of what&#8217;s been going on with NServiceBus. While we&#8217;ve been making some pretty amazing progress, it still a bit premature for big announcements. In any case, here&#8217;s a partial list of goings-on: Monitoring &#8211; sneak [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" src="/wp-content/uploads/2013_newyear1.jpg" alt="2013_newyear" title="2013_newyear" width="250" height="129" style="float:right; margin-left:10px; margin-bottom:10px;" />What with the end of the calendar year, it feels like I should be writing some kind of yearly summary of what&#8217;s been going on with NServiceBus.</p>
<p>While we&#8217;ve been making some pretty amazing progress, it still a bit premature for big announcements.</p>
<p>In any case, here&#8217;s a partial list of goings-on:</p>
<h3>Monitoring &#8211; sneak peek</h3>
<p>One of the most requested additions to NServiceBus was strong production monitoring capabilities. </p>
<p>Some of the things we have coming include:</p>
<p>1. Endpoints periodically send heartbeats to a central location, and if they stop coming, the administrator gets notified.<br />
2. If messages can&#8217;t be processed for some reason and are sent to the error queue, the administrator gets a nice visual notification with the ability to send the message to be reprocessed.<br />
3. Developers can also plug in their own custom code to periodically report on various things, for example the existence of a folder, accessibility of a URL, etc.</p>
<p>Check out this short video to see how it all works:</p>
<p><iframe loading="lazy" allowfullscreen="true" allowtransparency="true" class="wistia_embed" frameborder="0" height="388" mozallowfullscreen="true" msallowfullscreen="true" name="wistia_embed" oallowfullscreen="true" scrolling="no" src="//fast.wistia.net/embed/iframe/f0y2bmwi2z" webkitallowfullscreen="true" width="640"></iframe></p>
<p>And yes &#8211; it will work across all our supported transports (MSMQ, RabbitMQ, ActiveMQ, SQL Server) as well as in the cloud (on Azure).</p>
<h3>Partners</h3>
<p>This was also a big year for the larger ecosystem.</p>
<p>In addition to our long-time partner <a href="http://www.headspring.com/">Headspring</a>, home of the legendary Jimmy Bogard, many more companies are now <b>Official Partners</b>. </p>
<p>I don&#8217;t want to play favorites here so this list is not in any particular order (except alphabetical). There are also a number of independent consultants that do amazing work but I&#8217;m not including them here for brevity so you might see some prominent countries not listed.</p>
<p>In the US, we have:</p>
<ul>
<li><a href="http://www.architectinginnovation.com/">Architecting Innovation</a> which covers all of the US.</li>
<li><a href="http://www.askcts.com/">CTS</a> &#8211; focusing on the South East.</li>
<li><a href="http://www.headspring.com/">Headspring</a> &#8211; Nation-wide but with a Texas flavor.</li>
<li><a href="http://www.ilmservice.com/">ILM</a> &#8211; focusing on the Mid-West.</li>
</ul>
<p>ILM also happens to be the home of David Boike &#8211; one of our community champions and author of the first <a href="http://www.amazon.com/dp/1782166343/">NServiceBus book</a>.</p>
<p>In Europe, we have:</p>
<ul>
<li><a href="http://www.bbv.ch/">BBV</a> &#8211; focusing on Switzerland, Germany, and Austria</li>
<li><a href="http://www.infosupport.com/">InfoSupport</a> &#8211; focusing on the Netherlands</li>
<li><a href="http://www.webstep.no/">WebStep</a> &#8211; focusing on Scandinavia</li>
</ul>
<p>BBV were the ones who did the heavy lifting for getting our support for ActiveMQ off the ground. </p>
<p>And not to forget the folks down under, there&#8217;s <a href="http://drivenlogic.com.au/">Driven Logic</a> in the Sydney area.</p>
<p>Keep an eye out as there&#8217;ll be some interesting things coming from our partners this coming year.</p>
<h3>In Closing</h3>
<p>I&#8217;ll close with some thank-you&#8217;s:</p>
<p>Thank you to the hundreds of new paying customers, as well as to the customers who&#8217;ve stuck by us over the years who make it possible for us to make enterprise development on .net that much more enjoyable.</p>
<p>Thank you to all the employees at Particular Software &#8211; now twice as many as there were last year, and probably going to double again in 2014. This team, I&#8217;ve got to tell you, is absolutely world-class. </p>
<p>Thank you, my dear reader, for coming back and reading my rambling thoughts time after time. I can&#8217;t believe I&#8217;ve been doing this <a href="http://www.udidahan.com/2013/12/31/omg-10-years-of-blogging/">10 years</a> now.</p>
<p>And, to my wife and kids, well, they don&#8217;t read my blog, but on the off chance they might one day, I&#8217;d better thank them as well.</p>
<p>I wish you all a wonderful 2014.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://udidahan.com/2014/01/01/nservicebus-partial-update-for-2013/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
