Blog Home  Home RSS 2.0    
Arnon Rotem-Gal-Oz's Cirrus Minor - EDA vs. Synchronous Request/Reply
Archive
 
 Tuesday, January 30, 2007

[originally published in my DDJ blog]

You may have read my BI and SOA post where I suggested using EDA within SOA to solve the BI/SOA impedance mismatch. Jack Van Hoof made the following comment on that post:

Many people think of SOA as synchronous RPC (mostly over Web Services). Others say EDA is SOA. And there are many people who say that the best of EDA and SOA is combined in SOA 2.0. Everybody will agree that there is a request-and-reply pattern and a publish-and-subscribe pattern. It is easy to see that both patterns are an inverse of each other….

I think that "Synchronous RPC" is not a very good (or useful) definition for SOA (see my series on what is SOA anyway). Nevertheless, I also think that even if all you have is synchronous request/reply you can still implement both asynchronous messaging and EDA How can we implement Asynchronous Messaging?

Option 1 Duplex Channel
Let’s say you are a service consumer. You send me your request. Instead of a reply I just acknowledge you that I got the message. I put the message into a queue and process it on my "spare" time. I then call you with the answer.

Option 2 One way Channel
Again you send the request. Instead of a reply, I give you a token or a ticket for the answer. When you think it is time, for example when the time promised in the SLA elapse (or whenever), you call me again, give me the ticket, and I look up the answer and give you your reply. If we hide all this protocol inside some software infrastructure the applications can see asynchronous messaging even though we have synchronous request/reply on the lower levels.

Okay, so what about Events? How can we publish events just using request/reply. The previous example would not work since we can miss out on important events?

If you are reading this blog -- chances are you already have the answer working on your computer -- yes, it is RSS. Think about it using an RSS Reader that pulls the server that publishes this blog you reach out using synchronous request/reply and get all the posts (events) that were added since the last time you asked.

There are a few additional architectural benefits for working this way. For one the service does not have to manage subscribers. Secondly, the consumer doesn’t have to be there the moment the event occurred to be able to consume it -- and the management and set up is easier and simpler than using queuing engines

1/30/2007 8:30:00 PM (Jerusalem Standard Time, UTC+02:00)  #    Comments [47]   Everything | SOA | Software Architecture  | 
2/8/2007 5:36:11 PM (Jerusalem Standard Time, UTC+02:00)
Arnon

I do think SOA and EDA are two different architectural styles. Combining them creates a higher level abstraction which provides the full business view an enterprise needs. while soa is more about service composition,reuse and sla - which are mostly an IT domain targets,eda is focused on the business domain by providing all the nesesary information on a business event level enabling business workers the added value thay expect.

By clearly defining a business event as the product of each business use case we can provide the stream of business events a CEP engine as well as BAM system can process.

Regards

Yoram
Yoram Kochol
2/9/2007 8:41:19 AM (Jerusalem Standard Time, UTC+02:00)
Hi Yoram,
I never did say that EDa and SOA where one and the same (see for example the previous post EDA & SOA).

I am saying that you can use EDA within SOA and that doing so enhances the SOA solution and solves some problems such as handling BI

Arnon
6/22/2011 5:13:44 AM (Jerusalem Standard Time, UTC+02:00)
YMMD with that anwser! TX
6/22/2011 7:52:04 PM (Jerusalem Standard Time, UTC+02:00)
gWroLB , [url=http://gpjbtszjzoth.com/]gpjbtszjzoth[/url], [link=http://oriclfvmagqe.com/]oriclfvmagqe[/link], http://shcpkainyujv.com/
6/24/2011 1:36:01 AM (Jerusalem Standard Time, UTC+02:00)
cialis >:-PP levitra vya
6/24/2011 6:02:34 AM (Jerusalem Standard Time, UTC+02:00)
valtrex order online pharmacy 630087 accutane :OO prednisone jvxa
6/25/2011 4:59:12 AM (Jerusalem Standard Time, UTC+02:00)
Renters Insurance :-PPP car insurance 164564
6/26/2011 2:33:42 AM (Jerusalem Standard Time, UTC+02:00)
discount cialis frbdv Cialis xjfyhm
6/27/2011 1:34:04 AM (Jerusalem Standard Time, UTC+02:00)
classic car insurance gudn health insurance %OO
6/28/2011 3:57:31 AM (Jerusalem Standard Time, UTC+02:00)
Tramadol xveqoo viagra pfizer contre indication oar
6/28/2011 6:58:19 AM (Jerusalem Standard Time, UTC+02:00)
cialis 81027 acomplia >:-[ tramadol zar accutane =((
7/2/2011 4:22:36 AM (Jerusalem Standard Time, UTC+02:00)
cialis 030 online store cialis 1325
7/2/2011 7:06:32 AM (Jerusalem Standard Time, UTC+02:00)
about fioricet =( acomplia bjuy priligy 729
7/6/2011 3:25:52 AM (Jerusalem Standard Time, UTC+02:00)
free car insurance quotes 223 state auto insurance knbwe
7/6/2011 8:05:37 AM (Jerusalem Standard Time, UTC+02:00)
prednisone lnn lexapro and life insurance underwriting 8150 ultram viagra renova nexium pzwo synthroid ftoxe
7/8/2011 4:31:54 AM (Jerusalem Standard Time, UTC+02:00)
levitra 454 purchase viagra =[[[
7/9/2011 2:52:57 AM (Jerusalem Standard Time, UTC+02:00)
insurance auto xwlai car insureance 031
7/10/2011 2:53:13 AM (Jerusalem Standard Time, UTC+02:00)
car rental discount coupon 8311 rental car companies in %OOO
7/13/2011 4:26:06 AM (Jerusalem Standard Time, UTC+02:00)
auto insurance 730429 auto insurance quotes =OOO
7/15/2011 6:54:05 AM (Jerusalem Standard Time, UTC+02:00)
online auto insurance eujs car insurance muxjzt
7/15/2011 11:07:01 AM (Jerusalem Standard Time, UTC+02:00)
a auto insurance 381420 life insurance quotes 52675 health insurance 7964
7/17/2011 5:21:09 AM (Jerusalem Standard Time, UTC+02:00)
auto insurance vfxb car insurance 816528
7/18/2011 1:53:29 AM (Jerusalem Standard Time, UTC+02:00)
tramadol %]] viagra prices 470
7/18/2011 5:34:16 AM (Jerusalem Standard Time, UTC+02:00)
cheap car insurance gyldzj health insurance :OOO
7/19/2011 3:57:29 AM (Jerusalem Standard Time, UTC+02:00)
car insurance zuaz auto insurance quotes bjspru
12/29/2011 3:51:48 PM (Jerusalem Standard Time, UTC+02:00)
Hello! fkdceck interesting fkdceck site! I'm really like it! Very, very fkdceck good!
12/31/2011 6:27:16 PM (Jerusalem Standard Time, UTC+02:00)
Hello!
1/2/2012 2:56:52 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/6/2012 8:28:30 PM (Jerusalem Standard Time, UTC+02:00)
Hello!
1/11/2012 11:46:24 AM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/11/2012 6:48:07 PM (Jerusalem Standard Time, UTC+02:00)
Hello!
1/14/2012 1:08:39 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/24/2012 11:03:45 AM (Jerusalem Standard Time, UTC+02:00)
Hello!
1/24/2012 3:44:30 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/25/2012 12:21:17 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/26/2012 11:54:57 AM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/30/2012 4:27:39 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/30/2012 4:28:01 PM (Jerusalem Standard Time, UTC+02:00)
Perfect!
1/30/2012 4:28:29 PM (Jerusalem Standard Time, UTC+02:00)
Hello!
1/30/2012 4:28:56 PM (Jerusalem Standard Time, UTC+02:00)
Aloha!
1/30/2012 4:29:49 PM (Jerusalem Standard Time, UTC+02:00)
Hi there!
1/31/2012 6:30:34 PM (Jerusalem Standard Time, UTC+02:00)
Hi there!
2/2/2012 6:12:23 PM (Jerusalem Standard Time, UTC+02:00)
Perfect!
2/3/2012 3:42:06 AM (Jerusalem Standard Time, UTC+02:00)
Aloha!
2/3/2012 3:42:21 AM (Jerusalem Standard Time, UTC+02:00)
Hi there!
2/3/2012 3:42:30 AM (Jerusalem Standard Time, UTC+02:00)
Hello!
2/3/2012 3:43:03 AM (Jerusalem Standard Time, UTC+02:00)
Aloha!
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Copyright © 2012 Arnon Rotem-Gal-Oz. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: