Simplify search / on_search #169
Replies: 4 comments 2 replies
-
I think this is in line with trying to make gateway simple and stateless: its job is just to forward all the search requests to all the providers in the domain / region. |
Beta Was this translation helpful? Give feedback.
-
Yes, it would be simple. I can see one reason for sending to bg though. Bg can keep stats on performance of BPP. There may be slas that can be enforceable. In small networks, even gw is not needed for search. As one can query the registry and broadcast to bpps. --- as an aside,-- Seems like over design to me. |
Beta Was this translation helpful? Give feedback.
-
I agree that in the future the gateways may be more advanced and keep various stats, etc. For that all the requests would have to go through them. This raises all other kinds of questions, like what if BAP / BPP chooses to use a different gateway, etc. But currently, we are not in that situation, and I think that sending on_search to the BAP along with removing X-Gateway-Authorization would simplify things a lot and allow scenarios like sending requests directly to the BPP that may be beneficial in some networks. I think at this stage of network development we would benefit from having gateway a simple and stateless entity that just forwards the requests. This way, one gateway can be substituted with another without any change in behavior. As long as we have a registry and gateway is simply forwarding the requests, checking BAP / BPP signature should be enough, and X-Gateway-Authorization shouldn't be necessary. |
Beta Was this translation helpful? Give feedback.
-
I think it would be useful to define the purpose of a gateway and then see if it is a good-to-have or must-have entity on a network. Or describe the conditions where a BG is redundant and where it is required. |
Beta Was this translation helpful? Give feedback.
-
As long as we have registry, I suggest the following simplifications:
This has following benefits:
Beta Was this translation helpful? Give feedback.
All reactions