This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Enterprise Java integration with Delphi and Free Pascal applications - new release 2019.02
https://coderanch.com/t/705708/Enterprise-Java-integration-Delphi-Free
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!