Global cross-regional service calling method and system
The invention discloses a global cross-region service calling method and system, and the method comprises the steps: receiving a cross-region service request of calling a second service in a second region by a first service in a first region, judging whether cross-region service information correspo...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a global cross-region service calling method and system, and the method comprises the steps: receiving a cross-region service request of calling a second service in a second region by a first service in a first region, judging whether cross-region service information corresponding to the cross-region service is cached or not according to the cross-region service request, and if the cross-region service information is cached, calling the cross-region service information corresponding to the cross-region service; if so, issuing second cross-region service information corresponding to the second region; and if no cache exists, subscribing to the cross-region service request, initiating long polling of the cross-region service request to a second discovery service cluster of the second region, and issuing second cross-region service information fed back by the second discovery service cluster, so that the first service calls a second service in a cross-region manner according to the second |
---|