OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

soa-rm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [soa-rm] microservice database consistency


One other thing:

A lot of the monitoring and logging was also needed but frequently ignored in “old” SOA.  For example, we talked about the desirability of including this in the SOA-RAF but we ran out of folks with cycles and appropriate knowledge to develop the material.

Ken

On Feb 2, 2017, at 4:52 PM, Ken Laskey <klaskey@mitre.org> wrote:

Every source I’ve read on microservices notes the major drawback is complexity of a lot of moving parts.  Also, from commit to deploy in the devOps progression can engage a dozen different tools.  But it is impressive when you see someone who has configured it all just press a button and watch everything execute.

In any case, I think the sources start to fill in some holes we have questioned.  As you note, those answers raise additional questions.

Ken

On Feb 2, 2017, at 4:44 PM, Martin Smith <bfc.mclean@gmail.com> wrote:


Ken --I had a quick look at the first ref.  It offers 2 ways of maintaining consistency.  I followed the link to the first method (every time a MS changes its copy of data, it generates an event to notify the other services that use that data so they can update their copies.)  That link led to this (emphasis added): 

" The event store also behaves like a message broker. It provides an API that enables services to subscribe to events. When a service saves an event in the event store, it is delivered to all interested subscribers.  "

So now my MS ecosystem has to include a message broker service!  

I am getting the impression that the "simplicity" of MSA depends on a LOT of infrastructure--containers, logging services, orchestration services , health check services, reverse proxies, cache services, dynamic discovery services (this list from the NGINX MSA), and now a message broker. 

Now I know that AWS (for example) can provide containers, message brokers, an API gateway, and loggers (at least) but: (1) using these services requires familiarity with a lot of tools/services; (2)  in some cases, like the health check and event notifications to maintain data consistency, the approach requires code in each MS; and (3) one begins to wonder if all this interaction--e.g., generating and reacting to all the data-update events--doesn't create a lot of transaction overhead. Maybe it's all worth while to get horizontal scalability, and maybe although it looks like a lot of activity it's still more efficient than the dreaded monolith.  

And another thing:  AWS and other Public Cloud providers may have implemented all these supporting services/tools, but how would that be done in Private Cloud??  

My 2c.

Martin





On Thu, Feb 2, 2017 at 3:37 PM, Ken Laskey <klaskey@mitre.org> wrote:
This has been a continuing topic of discussion and I found some info that actually covers this in the level of detail where you an envision a solution.

How to maintain data consistency?


Thoughts?  Continuing questions?
 
Ken

------------------------------------------------------------------------------
Dr. Kenneth Laskey
MITRE Corporation, M/S F510          phone: 703-983-7934
7515 Colshire Drive                           fax: 703-983-1379
McLean VA 22102-7508


-- 
Martin F Smith, Principal
BFC Consulting, LLC
McLean, Va 22102
703 506-0159
703 389-3224 mobile




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]