Tungsten Connector acts as a proxy service, sitting between client
applications and datasources in order to balance the load and provide high
availability (HA) support. The service works by accepting raw packets from
clients, and then forwarding them to the datasource. The process is reversed
when packets are sent back from the datasource and then redirected back to
Figure 6.1. Tungsten Connector Basic Architecture
In addition to this basic structure, Tungsten Connector also works with the
other components of Tungsten Clustering to handle some specific scenarios and
The connector works in harmony with the Tungsten Manager as part of
Tungsten Clustering and enables the connector to redirect queries between
known datasources within a given dataservice. For example, when the
manager identifies a failed datasource, queries to that datasource are
redirected to an alternative datasource without the application being
aware of the change.
The connector works with the Tungsten Clustering configuration and a number
of implied or explicit directives that enable the connector to redirect
requests within different datasources within the network. For example,
the connector can be configured to automatically forward write requests
to a database to the active master within the dataservice and reads to
Throughout this process the connector is redirecting the network packets
sent by application servers to the appropriate host. The contents and
individual statements are not processed or accessed. At all times
applications and clients using the connector do not need modification as to
them it will appear as a MySQL server.
shell > tpm connector
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 93422
Server version: 5.5.34-log-tungsten MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.