API content-based routing
Problem statement:
In some circumstances, and often for historical reasons, there might be multiple datastores for the same entity. For example, it is not uncommon for an organization to have multiple Customer Relationship Management (CRM) systems. Although there might be plans to consolidate them into a single master version, until such consolidation takes place (which can take time), all the systems may have to be accessed when obtaining certain customers' records.
Another scenario is when database sharding is applied in order to distribute the load across multiple database instances. This technique is typically applied when the overall number of records stored is huge and a single instance struggles to cope with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access