When implementing a decision service, you may require state. But what is state and what is a stateful decision service?
Sometimes a decision service needs to consider information or context from previous invocations of the service.For example, you might want to award a customer discount if they purchased more than two items in one week. The information you keep about each invocation is called the state, and a decision service that uses state in its business logic is stateful.
This article discusses three ways you can build stateful decision services with ODM:
- Build stateful rules with Decision Server Insights (DSI)
- Build a stateful decision service with ODM and a tightly coupled database
- Build a stateful decision service with ODM on Cloud and a loosely coupled database
This article will focus on ODM on Cloud and decision services with a loosely coupled database.