RouterDrivenStockQuotes
.StockQuotes
and illustrates use of an
HA-aware router (implemented by HARouter
), in conjunction with the
Monitor
class, to direct
application requests, based upon the type of request (read or write) and the
state (Master or Replica) of a node in the replication group.UpdateForwardingStockQuotes
.StockQuotes
example.RouterDrivenStockQuotes
and illustrates use
of an HA unaware router (implemented by SimpleRouter
), that load
balances requests (both read and write) across all the nodes in a
replication group.Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.