qihaiyan commented on issue #6805:
URL: https://github.com/apache/apisix/issues/6805#issuecomment-1108132891

   
   
![image](https://user-images.githubusercontent.com/5896784/165033186-126b0623-eaf1-45b7-b578-025684bddfa4.png)
   
   
   as the above diagram , if i have 20 routes, like you said, i have to create 
the 20 routes duplicatly, event if they could reuse the configuration in the 
service(with same plugins) they belong to.
   if the 20 routes could belong to different service, i just need to create 2 
different service, rather than another 20 routes.
   
   refer to the document: 
[Service](https://apisix.apache.org/docs/apisix/architecture-design/service )
   `As shown, different Routes could be bound to the same Service. This reduces 
redundancy as these bounded Routes will have the same 
[Upstream](https://apisix.apache.org/docs/apisix/architecture-design/upstream) 
and [Plugin](https://apisix.apache.org/docs/apisix/architecture-design/plugin) 
configurations.` @tzssangglass 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to