可以使用中介流来将贵宾成员的请求路由到即时报价服务,而将其他的请求路由到延迟报价服务。
You could use a mediation flow to route gold member requests from your service to the real-time quotation service, and the rest to the delayed service.
对于此示例应用程序,呈现期间的延迟是由于访问远程股票报价服务所造成的。
For the example application, the latency during rendering is caused by access to the remote stock quotes service.
该服务委派了两个不同的服务以获取股票价格:一个提供延迟的报价,而另一个则提供实时报价。
Your service delegates to two external services to fetch the stock prices: one provides delayed quotes, and one provides real-time quotes.
应用推荐