service-design

Understanding Data Outside Of Service : SOA

限于喜欢 提交于 2019-12-28 04:28:30
问题 Note: Data outside of service means the message returned by a service and consumed by the client. I have a service named LastBuyer Service. This will return the last buyer name of a book when I input the bookID to the service. When I call the service for the same book id, it will return different result (if a book is purchased by a new buyer). So I cannot cache the result of the service in the client (for a particular BookID). While reading the article “Data on the Inside vs. Data on the

Understanding Data Outside Of Service : SOA

廉价感情. 提交于 2019-11-27 15:53:26
Note: Data outside of service means the message returned by a service and consumed by the client. I have a service named LastBuyer Service. This will return the last buyer name of a book when I input the bookID to the service. When I call the service for the same book id, it will return different result (if a book is purchased by a new buyer). So I cannot cache the result of the service in the client (for a particular BookID). While reading the article “Data on the Inside vs. Data on the Outside” it says “Ok to Cache” – “ Since the ID of the message returns the same data, it is OK to cache a