<?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 - The Software Simplist &#187; Podcast</title>
	<atom:link href="http://www.udidahan.com/category/podcast/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.udidahan.com</link>
	<description>Enterprise Development Expert &#38; SOA Specialist</description>
	<lastBuildDate>Sun, 08 Jan 2012 12:45:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Presentations and Courses</title>
		<link>http://www.udidahan.com/2011/03/04/presentations-and-courses/</link>
		<comments>http://www.udidahan.com/2011/03/04/presentations-and-courses/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 07:26:29 +0000</pubDate>
		<dc:creator>udidahan</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Courses]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Presentations]]></category>

		<guid isPermaLink="false">http://www.udidahan.com/?p=1407</guid>
		<description><![CDATA[Last night I gave a presentation at Skills Matter in the UK on asynchronous web-scale architectures. It&#8217;s been recorded and is now available online here.
I also was on the famous Dot Net Rocks again, this time talking about CQRS. You can find that here.
If you want to understand these topics in depth, the best recommendation [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I gave a presentation at Skills Matter in the UK on asynchronous web-scale architectures. It&#8217;s been recorded and is now available online <a href="http://skillsmatter.com/podcast/open-source-dot-net/asynchronous-systems-architecture-for-the-web/js-1417">here</a>.</p>
<p>I also was on the famous Dot Net Rocks again, this time talking about CQRS. You can find that <a href="http://www.dotnetrocks.com/default.aspx?showNum=639">here</a>.</p>
<p>If you want to understand these topics in depth, the best recommendation I can give you is to come to one of my courses. It isn&#8217;t possible to explain the relationships between SOA, CQRS, DDD, messaging, layering, etc in an hour presentation or a series of blog posts.</p>
<p>The next course is in New York City in April and is almost sold out &#8211; get one of the last 3 seats <a href="http://www.eventbee.com/view/newyork-adsd">here</a>.</p>
<p>I&#8217;ve also opened registration for the course in Sydney for July; even though I&#8217;ve secured a bigger venue, seats are already going quickly. Please don&#8217;t wait too long to register &#8211; <a href="http://www.eventbee.com/view/sydney-adsd">details here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2011/03/04/presentations-and-courses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weather, Podcast, and Courses</title>
		<link>http://www.udidahan.com/2010/12/20/weather-podcast-and-courses/</link>
		<comments>http://www.udidahan.com/2010/12/20/weather-podcast-and-courses/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 16:14:38 +0000</pubDate>
		<dc:creator>udidahan</dc:creator>
				<category><![CDATA[Courses]]></category>
		<category><![CDATA[Podcast]]></category>

		<guid isPermaLink="false">http://www.udidahan.com/?p=1370</guid>
		<description><![CDATA[Well, I&#8217;m back home now after a week of training in Seattle. I&#8217;m probably the luckiest frequent flyer in the world (touch wood). I flew to Seattle through Frankfurt, just after the (previous) big snow storm subsided and missing the storms that most travelers in the US had to endure. On my way back, I [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;m back home now after a week of training in Seattle. I&#8217;m probably the luckiest frequent flyer in the world (touch wood). I flew to Seattle through Frankfurt, just after the (previous) big snow storm subsided and missing the storms that most travelers in the US had to endure. On my way back, I flew through Newark, again just missing the (now current) big snow storms in Europe. And that&#8217;s on top of missing the whole ash cloud thing and over 300,000 miles of travel of this year.</p>
<p>I think I need to offer a sacrifice to the weather gods, or something.</p>
<p>Anyway, some news:</p>
<p><a href="http://www.richard-banks.org/">Richard Banks</a> interviewed me for the Talking Shop Down Under podcast. We discussed some NServiceBus, SOA, and REST. My voice wasn&#8217;t 100% as I&#8217;d just finished the last day of training, but I hope you can still make me out. <a href="http://www.talkingshopdownunder.com/2010/12/episode-40-udi-dahan-on-soa-and.html">Get it here</a>.</p>
<p>Also, I&#8217;m happy to announce that registration is open for my courses for next year &#8211; February in London, UK; March in Cologne Germany; April in New York, USA. I&#8217;m afraid that space is more limited this time around so please don&#8217;t wait. Registration and more information can be found <a href="http://www.udidahan.com/training/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2010/12/20/weather-podcast-and-courses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESB Differences Between Java and .NET</title>
		<link>http://www.udidahan.com/2010/03/29/esb-differences-between-java-and-net/</link>
		<comments>http://www.udidahan.com/2010/03/29/esb-differences-between-java-and-net/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 13:53:52 +0000</pubDate>
		<dc:creator>udidahan</dc:creator>
				<category><![CDATA[BPM]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[Messaging]]></category>
		<category><![CDATA[NServiceBus]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Pub/Sub]]></category>

		<guid isPermaLink="false">http://www.udidahan.com/?p=1212</guid>
		<description><![CDATA[At QCon London a couple of weeks ago I had a chat with Ross Mason, the founder of Mule &#8211; the open source Java ESB. After a while, I realized that NServiceBus is a bit different from Mule ESB in terms of scope.
While Mule has many features in terms of connectivity and integration, NServiceBus provides [...]]]></description>
			<content:encoded><![CDATA[<p>At QCon London a couple of weeks ago I had a chat with Ross Mason, the founder of <a href="http://www.mulesoft.com/mule-esb-open-source-esb">Mule &#8211; the open source Java ESB</a>. After a while, I realized that NServiceBus is a bit different from Mule ESB in terms of scope.</p>
<p>While Mule has many features in terms of connectivity and integration, NServiceBus provides platform interop only. One could say that this is a product of the different backgrounds I and Ross come from.  </p>
<p>On the other hand, the saga capabilities in NServiceBus for handling long-running processes are considered to be BPM functionality on the Java side of the industry, and as such, Mule does not have them.</p>
<p>In terms of other enterprise features like management and monitoring, Mule is more mature, but NServiceBus holds its own in terms of high availability and actually surpasses Mule with the grid and scale-out capabilities of its distributor.</p>
<p>Anyway, I think it&#8217;s about time each of these parts was explicitly described so that companies already invested in Java ESB tools will know what they&#8217;re getting with NServiceBus.</p>
<p>Until then, I hope this podcast describing the full spectrum of NServiceBus, from top level SOA services to in-the-weeds transaction management, will provide more information about what it is and why you might want to use it:</p>
<p><a href="http://deepfriedbytes.com/deepfriedbytes/podcast/episode-49-getting-the-right-message-about-nservicebus-with-udi-dahan/">Deep Fried Bytes, episode 49 &#8211; Getting the right message about NServiceBus with Udi Dahan</a>.</p>
<p>Comments most welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2010/03/29/esb-differences-between-java-and-net/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Scalability Podcast on Herding Code</title>
		<link>http://www.udidahan.com/2010/01/11/scalability-podcast-on-herding-code/</link>
		<comments>http://www.udidahan.com/2010/01/11/scalability-podcast-on-herding-code/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 19:44:49 +0000</pubDate>
		<dc:creator>udidahan</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Scalability]]></category>

		<guid isPermaLink="false">http://www.udidahan.com/?p=1168</guid>
		<description><![CDATA[The great folks over at Herding Code were nice enough to interview me back in November as I was over in Paris giving my 5-day SOA course. We talked about quite a lot of topics related to scalability.
Click here for the full list of topics and to download the podcast.
Let me know what you think [...]]]></description>
			<content:encoded><![CDATA[<p>The great folks over at <a href="http://www.herdingcode.com">Herding Code</a> were nice enough to interview me back in November as I was over in Paris giving my <a href="http://www.UdiDahan.com/training">5-day SOA course</a>. We talked about quite a lot of topics related to scalability.</p>
<p><a href="http://herdingcode.com/?p=229">Click here</a> for the full list of topics and to download the podcast.</p>
<p>Let me know what you think or any questions you may have in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2010/01/11/scalability-podcast-on-herding-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Architecture on ARCast.TV Rapid Response</title>
		<link>http://www.udidahan.com/2008/01/14/distributed-architecture-on-arcasttv-rapid-response/</link>
		<comments>http://www.udidahan.com/2008/01/14/distributed-architecture-on-arcasttv-rapid-response/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 23:45:34 +0000</pubDate>
		<dc:creator>udidahan</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[WCF]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/2008/01/14/distributed-architecture-on-arcasttv-rapid-response/</guid>
		<description><![CDATA[A while ago, me and Ron Jacobs (virtually) got together and did a couple &#8220;rapid responses&#8221; to questions on the MSDN architecture forums, and I just noticed that they&#8217;re online. The really great thing is that there are transcripts! For your convenience, I&#8217;ve included them here.
By the way, if you&#8217;re looking for more Q&#38;A style [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago, me and Ron Jacobs (virtually) got together and did a couple &#8220;rapid responses&#8221; to questions on the MSDN architecture forums, and I just noticed that they&#8217;re <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=348243#348243">online</a>. The really great thing is that there are transcripts! For your convenience, I&#8217;ve included them here.</p>
<p>By the way, if you&#8217;re looking for more Q&amp;A style info, check out the <a href="/category/ask-udi-podcast/">Ask Udi podcast</a>. If you have a pressing question and need a shorter turn around time than the month or so it usually takes me for the podcast, send me an email to <a href="mailto:OnlineConsultation@UdiDahan.com">OnlineConsultation@UdiDahan.com.</a></p>
<h3>Number 1</h3>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> Hey, welcome back to ARCast Rapid  Response. This is your host Ron Jacobs and today I&#8217;m looking at the MSDN  architecture forum where I see this message from &#8220;theking2.&#8221; Yeah? OK, so  &#8220;king,&#8221; he says, he&#8217;s building a distributed architecture that has a number of  external systems. These external systems interface through a telnet connection  and so they accept commands and return results as ACKS or  NACKS.</p>
<p>Typically these systems have limited resources for the number of  simultaneous sessions you can open, so, five to fifty depending on the system.  What he did to get around this, was, he created some Enterprise Services objects  and some pooled objects that set up these connections and then he has some Web  services. The Web services are going to receive an incoming message. They&#8217;re  going to call these pooled COM+ objects and they&#8217;re going to make the telnet  calls to the external systems. Sounds interesting.</p>
<p>He says, after a year  of production it has become apparent that some of the external systems are not  performing very well. He says the bulk of the requests, but not all, to the  external systems can be done asynchronously. So, he&#8217;s opting for a message  queue-based solution using pseudosynchronous calls whenever a direct response is  needed.</p>
<p>So, the question is, at what layer would message queuing make  most sense?</p>
<p>So, should the clients, this Web service that receives the  message &#8212; should it do a queue? Put a message in the queue and then the COM+  objects would pop off or they have some central Web services that would pop it.  So, the central Web services or these Enterprise Service objects? Or maybe just  a communication at the top of the telnet. He says this is the first time when  he&#8217;s using message queuing.</p>
<p>On the line with me I have Udi Dahan, the  Software Simplist from Israel.</p>
<p>Udi, this is a very interesting  application and my first gut reaction is, does it really matter where you put  the queuing?</p></blockquote>
<blockquote class="speaker_4_text"><p><cite class="speaker_4"><strong>Udi  Dahan:</strong></cite> Well, actually I took a look at it as well and I&#8217;d have  to say that it does because the problem that he&#8217;s trying to solve isn&#8217;t that  clear. We know that there is some sort of performance problem but we&#8217;re not  quite sure where it is. We know that there are long and varying latencies in the  responses but we&#8217;re not really quite sure why.</p>
<p>While we know that their  external system is a bit slow but our choice of where to put the queue will  probably have an impact, obviously on the development model of the clients and  the Web services as well as how those external systems would work. So, I&#8217;d have  to say that choosing the correct place to put the queue is important.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> Well, let me interject something  here because what you said just made me think. Now, if the problem is that these  external systems are slow and limited number of connections, the first question  we ought to ask is, does queuing help this situation at all?</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Well, that&#8217;s probably a good first  step. I mean every single time someone comes with a solution and then says, &#8220;OK,  what&#8217;s the problem,&#8221; it&#8217;s always a good thing to check that solution  first.</p>
<p>It looks like the problem that he has here has to deal with or the  reason that he wants to use a queue is to do some kind of load leveling. He&#8217;s  getting too many requests or at too high a rate from his clients and external  Web services and external web applications more than his back end systems can  use. So, using a queue as a load leveling mechanism is definitely the right way  to go. So, from that perspective I think that putting a queue somewhere in there  is a good idea.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> OK. So then if you put a queue, it  seems to me that it&#8217;s not going to make that much difference which layer you put  the queue, would it?</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Well, it might for the main reason  that you really have to look at where his bottleneck is and that&#8217;s his back end  systems. The bottleneck also has to do with the number of connections that can  be opened and the number of sessions that can be opened. The place that I&#8217;d be  looking at doing that is probably between those pooled COM+ objects and his  central Web services for the main reason that that really gives a nice  encapsulation in terms of the Web services towards both his organization&#8217;s  internal services if they are other Web services, web applications or clients  and everybody else that&#8217;s going on out there while keeping that abstraction out  of the way.</p>
<p>So, the choice of using pooled COM objects is one of the ways  he does the load leveling now. One of the problems he has is that it doesn&#8217;t  seem to be doing that much for him because the switches and knobs that are  available in COM+ in order to do that load leveling aren&#8217;t that great. What I&#8217;d  be looking at in his situation is to put a queue in there but on the back side  of that queue, not talking directly to the external system but doing something  with WCF.</p>
<p>WCF has an incredible amount of switches and knobs in order to  do the load throttling and the number of threads that are open. He could also do  that on a large number of URIs in order to sort of split up the load from that  perspective allowing him to cache results quite a bit better. So, that&#8217;s where  I&#8217;d be looking at too. Just throw away those COM+ objects, put WCF in there, use  the MSMQ binding and start configuring things from there.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> There&#8217;s a lot of stuff in the  message, but I think his core concern is performance. He mentions  pseudosynchronous calls. I think by that he means, a message comes in to the web  service, he&#8217;s going to drop something on the queue and then hold that message  response until he gets a response back from a queue. So, it&#8217;s sort of  synchronous but sort of not synchronous. So, in effect he&#8217;s kind of waiting on a  queue instead of waiting on the pooled object to make this outbound telnet  call.</p>
<p>I could agree if you said, &#8220;Well, look, our big problem is that we  keep getting time outs because when we go to get a COM+ object from the pool,  COM+ waits for a while and then it says, &#8220;Hey, there&#8217;s no object available&#8217; and  it returns an error,&#8221; then the queue is definitely going to help that problem.  But in terms of the sheer through put or performance of the system, this is not  going to help at all. It&#8217;s going to still be the same performance.</p>
<p>Now if  you said, &#8220;Oh look, we can do some of this work kind of at a later point in  time, &#8221; well queuing doesn&#8217;t allow you to time shift the work. Right? So, if you  said, &#8220;Look we can rethink this solution.&#8221; So you get a message in, we stuff  something in a queue that we&#8217;ll deal with later, and then very quickly return a  response like some kind of a number like, hey &#8220;your transaction number blah,  blah, blah, will be processed later, it&#8217;s queued for processing, &#8221;  whatever.</p>
<p>I mean that introduces a lot of complexity in the system but it  clearly would provide better response at the Web service layer. What do you  think?</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Well I think that at the most basic  level, his throughput is dictated by his back end systems. From what he seems to  be describing, every single request that is going through there, has to hit that  back end system. If he has a limited number of back end systems that are  supporting a limited number of connections, that&#8217;s going to limit his throughput  no matter what technology he puts in front of that. So that&#8217;s at the core level.  You just can&#8217;t get away from that.</p>
<p>The one thing that I would agree with  you in your description there is the choice of using those COM+ objects. I mean  COM+ was a great technology when it came out. The problem occurs, of course,  when we start getting into larger and larger delays around the response time and  we start getting all sorts of time out exceptions and things like that. So in  that respect, I definitely say you know, take a step back from there.</p>
<p>But  in terms of everything that he has around there, the queue isn&#8217;t going to make  the back end system run any faster. What it will do is definitely complicate his  system because he&#8217;s taking something that used to be synchronous and making it  asynchronous. Writing Web services in order to handle that, I mean just adding a  bunch of threads in order to listen to queues is not going to make things any  simpler.</p>
<p>However, what it might do is to improve the resource usage of  those Web services, OK? So instead of having those Web services have a bunch of  threads open, waiting for the response coming back from those COM+ pooled  objects, those threads could be relinquished and really just be triggered back  up when a response comes back from the queue.</p>
<p>So I don&#8217;t see an  improvement in the kind of solution that MSMQ or queuing would put in there in  terms of the latency &#8212; how long it would take for a response to get back.  However, I do see an improvement in terms of the resource usage of all the other  players in the system.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> I would agree with that. I would  just say though that if you make the Web server that is hosting these Web  services more resource efficient, maybe all you&#8217;re going to do is enable it to  get more requests in queue the more quickly. Ultimately, this solution I think  is going to solve a lot of problems related to time outs and server busy errors  and that sort of thing, thread contentions, but not likely to increase overall  performance.</p>
<p>But I definitely agree though. I would move this solution  forward to WCF. I used to be on the COM+ team. COM+ was rolled into WCF so that  it would have similar capabilities for pooling, instancing behavior,  transactional support, those sorts of things. I would definitely move that  forward into WCF.</p>
<p>OK! So great answer, Udi. Thank you so much for being  on this ARCast Rapid Response.</p></blockquote>
<h3>Number 2</h3>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> Hey this is Ron Jacobs back with  another ARCast.TV Rapid Response. Today I&#8217;m joined by Udi Dahan, the Software  Simplist from Israel.</p>
<p>Udi, I&#8217;m looking at the MSDN Architecture Forum and  here&#8217;s a question from &#8220;blast.&#8221; Blast says he&#8217;s looking for where to put  business rules. He&#8217;s developing a WinForm application. He uses data sets as the  data layer, he says. He&#8217;s thinking about business rules and where to put  them.</p>
<p>He says obviously, the more organized and centralized business  rules are, the better. He&#8217;s tempted to put the business rules in the UI layer  especially with the type data set. It makes a lot of sense there but not all  rules belong on the client. He says some rules belong on the server, perhaps in  a trigger.</p>
<p>So he&#8217;s asking where do you put your rules? How do you think  about this problem, Udi?</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Well, it looks like what he&#8217;s doing  here is developing a two-tier client that is using WinForms and using datasets  and speaking directly to the database. That in essence is part of his problem in  that in terms of performance, he&#8217;d like to run more rules in the UI layer so  that the user won&#8217;t be sending garbage to the database.</p>
<p>He also  understands that because he&#8217;s building a multi-user system, there is a limited  capability, in terms of concurrency, of actually having all the rules run  correctly in order to make sure that everything is correct. So, his choice of an  architecture, working two-tier is the main problem of why he has to fragment his  business rules.</p>
<p>If he were to move towards a three-tier solution, that is  put an application server between his smart client and the database, it would be  a lot easier to put those business rules there. Now, once the business rules are  out of the database, because again, we don&#8217;t have to deal with the concurrency  issues once we have an application server and we&#8217;re using transactions there and  we don&#8217;t have any disconnected problems, then what we can do is use those same  DLLs, that same CLR code that runs the business rules, and deploy it client-side  and use it there.</p>
<p>So, in terms of deployment, what we&#8217;d have is we&#8217;d have  the same rules, both running client-side and server-side, whereas from a  development perspective, we&#8217;d have them organized and centralized. That&#8217;s the  way that I&#8217;d go about it.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> Yeah, you know, I think  conceptually I agree with you that a multi-tier solution would be a very good  idea here. What I would probably think about conceptually, is breaking down  rules into things that really ought to happen on the client-side. In particular,  rules related to validation of data, so you know that you&#8217;ve got good and  complete data before you ship it off to the server-side. Oftentimes you have to  do that anyway because you have a button that shouldn&#8217;t be enabled until the  data is valid, or something like that.</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Absolutely.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> Of course, we all know that if you  have middle-tier web services, you must do validation both on the client-side  and the server-side, because you must ensure that the valid data is received on  the web server. So I agree with you that creating an assembly that you deploy on  both sides is a good idea.</p>
<p>I would just expand on what you said a little  bit and think about maybe on the server-side using a workflow foundation and  business rules and workflow as a way to handle a lot of the heavier lifting,  server-side validations and business rules that might require maybe sifting  through more data or whatever kind of things, but server-side business rules  that are more oriented towards business logic, and even if you have very, very  data-intensive roles, then maybe some of those might even happen in the  database. Don&#8217;t you agree?</p></blockquote>
<blockquote class="speaker_5_text"><p><cite class="speaker_5"><strong>Udi:</strong></cite> Oh, absolutely. Absolutely. That&#8217;s  something that I think often gets swept under the rug too much. Things like  unique constraints and things like that are kinds of business rules. They  protect the referential integrity and if we look at the alternatives, sometimes  getting 10 million rows out of the database, in order to do some sort of unique  email validation upon them, that&#8217;s just going to kill your  performance.</p>
<p>There are certain things that it just makes sense to do them  in the database, it&#8217;s just the best way to do it. The hard part, from a  development perspective, is maintaining the coherence of your business rules.  When you say, &#8220;OK, I want a single perspective, what are all the rules in my  system?&#8221;</p>
<p>Even though we might try to keep it all CLR based, some of the  things like unique constraints, like referential integrity, will be in the  database. So, what I sometimes suggest to do is to have a separate solution, in  terms of your development team, where you put all your business  rules.</p>
<p>This includes both the SQL statements for defining your unique  constraints and your referential integrity. Also put in that validation logic,  your workflow that you&#8217;re going to be running server-side. If it&#8217;s AJAX controls  and regular expressions that you&#8217;re going to be doing client-side in order to  validate that data, absolutely make sure you have, from a development  perspective, one place where you can go where you can see everything, because if  you don&#8217;t do that [inaudible] can be running, and when things stop working, you  won&#8217;t know how to debug it.</p></blockquote>
<blockquote class="speaker_3_text"><p><cite class="speaker_3"><strong>Ron:</strong></cite> All right. Well, excellent answer.  Udi, thank you so much.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2008/01/14/distributed-architecture-on-arcasttv-rapid-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask Udi Podcast now iTunes friendly</title>
		<link>http://www.udidahan.com/2007/10/06/ask-udi-podcast-now-itunes-friendly/</link>
		<comments>http://www.udidahan.com/2007/10/06/ask-udi-podcast-now-itunes-friendly/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 23:22:08 +0000</pubDate>
		<dc:creator>thesoftwaresimplist</dc:creator>
				<category><![CDATA[Podcast]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/2007/10/06/ask-udi-podcast-now-itunes-friendly/</guid>
		<description><![CDATA[I&#8217;ve finally gotten around to doing it &#8211; the Ask Udi Podcast now has enclosures for all the MP3 files.
Subscribe here.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally gotten around to doing it &#8211; the <a href="/ask-udi">Ask Udi Podcast</a> now has enclosures for all the MP3 files.</p>
<p><a href="http://feeds.feedburner.com/ask-udi">Subscribe here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2007/10/06/ask-udi-podcast-now-itunes-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Podcast] Using Autonomous Components for SLAs in SOA</title>
		<link>http://www.udidahan.com/2007/06/02/podcast-using-autonomous-components-for-slas-in-soa/</link>
		<comments>http://www.udidahan.com/2007/06/02/podcast-using-autonomous-components-for-slas-in-soa/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 05:07:36 +0000</pubDate>
		<dc:creator>thesoftwaresimplist</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Ask Udi Podcast]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<category><![CDATA[SCA & SDO]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/2007/06/02/podcast-using-autonomous-components-for-slas-in-soa/</guid>
		<description><![CDATA[In this podcast we answer questions about how to use autonomous components to unify disparate building blocks like servers, middleware, and databases in order to handle the technical complexity of complying with detailed service-level agreements. Reuse of business logic, database schemas, and messaging topics between autonomous components are discussed as well.
Download via the Dr. Dobbs&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>In this podcast we answer questions about how to use autonomous components to unify disparate building blocks like servers, middleware, and databases in order to handle the technical complexity of complying with detailed service-level agreements. Reuse of business logic, database schemas, and messaging topics between autonomous components are discussed as well.</p>
<p><a href="http://www.ddj.com/dept/webservices/199800168">Download via the Dr. Dobbs&#8217; site</a>.</p>
<p>Or download directly <a href="http://www.dobbsprojects.com/media/newengine/dynamp.php/070531ud01.mp3?podcast=070531ud01.mp3">here</a>.</p>
<p>And here&#8217;s this week&#8217;s question:</p>
<blockquote><p>
Hi Udi,</p>
<p>Thanks again for your continued assistance.  I was very much interested by your advice to consolidate each of the services related to each product family into a single service, but as autonomous components.  </p>
<p>From your description of autonomous components from a prior podcast, it seems that they are much the same as services &#8211; in that they communicate only via loosely coupled messaging, and can have their own databases.  Would you say that the main difference between autonomous components is that different autonomous components within a service may in fact share business logic and databases?  If so, it would seem that combining these services into a single service with 3 autonomous components would be a matter of definition, rather than an architectural shift.  Any information you could provide to clarify this distinction would be fantastic.</p>
<p>Something else that&#8217;s been playing on my mind of late &#8211; is whether or not you would consider a topic as having to belong to a specific service.  That is, would you say it is bad practice to have multiple services publish on a common topic?  I suppose if we have multiple services publishing on a common topic, then they should be defined as autonomous components, belonging to a single larger service &#8211; in which case that common topic would belong to that new service.</p>
<p>As usual your advice is always extremely helpful.  Please keep those podcasts coming!</p>
<p>Best Regards,<br />
Bill
</p></blockquote>
<p><u>Additional References</u></p>
<ul>
<li><a href="http://udidahan.weblogs.us/2007/04/30/podcast-message-schemas-between-multiple-publishers-and-subscribers/">Podcast on Message Schemas between multiple Publishers and Subscribers</a></li>
<li><a href="http://udidahan.weblogs.us/2006/08/28/podcast-business-and-autonomous-components-in-soa/">Podcast on Business and Autonomous Components in SOA </a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2007/06/02/podcast-using-autonomous-components-for-slas-in-soa/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.dobbsprojects.com/media/newengine/dynamp.php/070531ud01.mp3?podcast=070531ud01.mp3" length="15911054" type="audio/mp3" />
		</item>
		<item>
		<title>[Podcast] Handling Dependencies Between Subscribers in SOA</title>
		<link>http://www.udidahan.com/2007/05/31/podcast-handling-dependencies-between-subscribers-in-soa/</link>
		<comments>http://www.udidahan.com/2007/05/31/podcast-handling-dependencies-between-subscribers-in-soa/#comments</comments>
		<pubDate>Thu, 31 May 2007 20:59:28 +0000</pubDate>
		<dc:creator>thesoftwaresimplist</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Ask Udi Podcast]]></category>
		<category><![CDATA[Autonomous Services]]></category>
		<category><![CDATA[EDA]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Pub/Sub]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/2007/05/31/podcast-handling-dependencies-between-subscribers-in-soa/</guid>
		<description><![CDATA[In this podcast we answer questions about how to solve dependencies between systems that subscribe to events in SOA. We&#8217;ll also get into the pitfalls of employing distributed transaction when reusing existing systems even behind service boundaries.
Download via the Dr. Dobbs&#8217; site.
Or download directly here.
And the original question was:

Udi:
I have a question regarding publishing events [...]]]></description>
			<content:encoded><![CDATA[<p>In this podcast we answer questions about how to solve dependencies between systems that subscribe to events in SOA. We&#8217;ll also get into the pitfalls of employing distributed transaction when reusing existing systems even behind service boundaries.</p>
<p><a href="http://ddj.com/dept/webservices/199703676">Download via the Dr. Dobbs&#8217; site</a>.</p>
<p>Or download directly <a href="http://www.dobbsprojects.com/media/newengine/dynamp.php/070529ud01.mp3?podcast=070529ud01.mp3">here</a>.</p>
<p>And the original question was:</p>
<blockquote><p>
Udi:</p>
<p>I have a question regarding publishing events that relate to data changes. I found the article you wrote in the Arch Journal #8 very helpful. I think striving for autonomy is very important. The scenario I was thinking about is how can you ensure synchronization across subscribers of a particular event. </p>
<p>For example, System A publishes an event when customer information is updated. There are several systems that subscribe to this event. Two of the systems, System B and System C, need to be sync regarding customer information. System B uses operations from System C using the customer data. Using your example, System B has a process that runs for all &#8220;Preferred Customers&#8221;, and it uses processes on System C. However, System C may not have process the event to and may have a customer as preferred.</p>
<p>I have several thoughts, but would like to get your thoughts on this scenario. Are there any best practices or patterns?</p>
<p>Phil
</p></blockquote>
<p><u>Additional References:</u></p>
<ul>
<li><a href="http://msdn2.microsoft.com/en-us/arcjournal/bb245672">Autonomous Services and Enterprise Entity Aggregation</a> (Article in Microsoft Architecture Journal)</li>
<li><a href="http://udidahan.weblogs.us/2006/09/05/podcast-autonomous-services-and-pubsub/">Podcast on Autonomous Services and Pub/Sub</a></li>
</ul>
<p>You can find more episodes like this in the <a href="http://udidahan.weblogs.us/ask-udi/">Ask Udi archives</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2007/05/31/podcast-handling-dependencies-between-subscribers-in-soa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.dobbsprojects.com/media/newengine/dynamp.php/070529ud01.mp3?podcast=070529ud01.mp3" length="11911190" type="audio/mp3" />
		</item>
		<item>
		<title>Architects Panel, now online</title>
		<link>http://www.udidahan.com/2007/04/28/architects-panel-now-online/</link>
		<comments>http://www.udidahan.com/2007/04/28/architects-panel-now-online/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 08:30:45 +0000</pubDate>
		<dc:creator>thesoftwaresimplist</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Podcast]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/2007/04/28/architects-panel-now-online/</guid>
		<description><![CDATA[On January 31st, 2007 Microsoft Israel held their Developer Academy event.
Recordings of the presentations (in Hebrew) are available.
A number of panels were held as well which were not recorded. Not so for the Architects Panel, where Ron Jacobs turned the conversation into an ARCast, which is available here.
On the panel were:
Arnon Rotem-Gal-Oz, Assaf Ya&#8217;akoby, Dudu [...]]]></description>
			<content:encoded><![CDATA[<p>On January 31st, 2007 Microsoft Israel held their Developer Academy event.<br />
<a href="http://www.microsoft.com/israel/msdn/dev/index.htm">Recordings of the presentations (in Hebrew) are available.</a></p>
<p>A number of panels were held as well which were not recorded. Not so for the Architects Panel, where <a href="http://blogs.msdn.com/rjacobs/">Ron Jacobs</a> turned the conversation into an ARCast, which is available <a href="http://channel9.msdn.com/Showpost.aspx?postid=303592">here</a>.</p>
<p>On the panel were:</p>
<p><a href="http://www.rgoarchitects.com/blog/">Arnon Rotem-Gal-Oz</a>, Assaf Ya&#8217;akoby, Dudu Benabou, Koby Cohen, and myself.</p>
<p>From the show notes:</p>
<blockquote><p>
I love to hear about the mistakes people make.  Why?  Because it is our mistakes that make us into experienced architects.  If I can learn from the mistakes that others make &#8211; perhaps I can avoid making them while still learning their lesson.  In this episode I&#8217;m joined by a panel of architects in Tel Aviv who were gracious enough to share their mistakes with me.
</p></blockquote>
<p>Check out <a href="/podcasts/">other podcasts I&#8217;ve been a guest on</a>,<br />
or the <a href="/ask-udi/">&#8220;Ask Udi&#8221; podcast</a> where I go on and on about architecture related topics.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2007/04/28/architects-panel-now-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ARCast.net &#8211; SOA and Workflow with Udi Dahan</title>
		<link>http://www.udidahan.com/2007/01/05/arcastnet-soa-and-workflow-with-udi-dahan/</link>
		<comments>http://www.udidahan.com/2007/01/05/arcastnet-soa-and-workflow-with-udi-dahan/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 23:49:22 +0000</pubDate>
		<dc:creator>thesoftwaresimplist</dc:creator>
				<category><![CDATA[Podcast]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://udidahan.weblogs.us/archives/361</guid>
		<description><![CDATA[Get it here.
[Salt and Pepper, Peanut Butter and Jelly, Toast and Vegemite (if your down under) - these are all things that go together. But what goes with SOA you ask? Why Workflow of course! On this episode we are joined by Microsoft Archtiect MVP Udi Dahan who gives us his insight into putting these [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.skyscrapr.net/blogs/arcasts/archive/2006/12/28/598.aspx">Get it here.</a></p>
<p>[Salt and Pepper, Peanut Butter and Jelly, Toast and Vegemite (if your down under) - these are all things that go together. But what goes with SOA you ask? Why Workflow of course! On this episode we are joined by Microsoft Archtiect MVP Udi Dahan who gives us his insight into putting these two technologies together.]</p>
<p>I just can&#8217;t seem to shut up about these things. It&#8217;s gotten so bad that I&#8217;ll be inflicting the same session I gave in TechEd Developers Europe on our local Israeli crowd at the end of this month. You can find out what other horrors Microsoft has in store <a href="http://www.microsoft.com/israel/msdn/academy/default.mspx">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.udidahan.com/2007/01/05/arcastnet-soa-and-workflow-with-udi-dahan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

