[MXS-1472] Chain from one router to the next router Created: 2017-10-16 Updated: 2024-01-04 Resolved: 2019-09-26 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readconnroute |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Epic Link: | Service to Service routing | ||||||||||||||||
| Description |
|
Hi, Imagine we have 3 routers: Some reads in the application cannot handle replication lag. If all slaves have replication lag, we want to route it to the master. While (I think?) it is possible to make a readconnroute with 2 servers which point to these maxscale listeners this adds a lot of overhead. I think it is useful to have a router that forwards to to other routers. I can imagine there are many other use cases with chaining services. This feature would, for example, allow readwritesplit to be used in combination with simple schema sharding. So: [In Sync Slaves] [All Slaves] [Possibly Stale Read Service] [In Sync Read Service] In this example we can also rename 'routers' to 'servers' but that doesn't really cover the value. Perhaps we can make the 2 words interchangeable? Thank you, |