Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Tao of microservices - some confusion regarding content  RSS feed

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apologies if this is the wrong place for this question but when trying to Google for answers to my questions this forum came up and I noticed the books author responding to questions.

The book arrived this morning and I am already confused  by some of the ideas. In the first chapter a micro service blog is demonstrated but it's not clear at all why the post service needs to exist. List's are retrieved directly from the entry service so why add an additional service just for posting?

The second confusion from this chapter is the cache service. From the diagram it appears that if this service went down then you could not retrieve or post at all?

I am also confused by the concept of services not knowing anything about other services. How can a service call an Api of another service and what value does adding the message type to messages bring?

Surely by calling an exposed Api service A knows of service B and by calling an endpoint it's obvious what the purpose of that message is?

These are probably all really obvious points as I have only read the first chapter but they seem to have gone completely over my head!

There are a couple of other things that don't make sense to me right now either but I will wait to see if I get any replies before adding them.

Cheers

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!