# epg-mc **Repository Path**: JMArch/epg-mc ## Basic Information - **Project Name**: epg-mc - **Description**: EPG连接池集群管理中心 EPG Manage Center - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2016-04-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #cpcm EPG连接池集群管理中心 Connection pooling proxy Cluster Manager ##Arch
                                 +-----------+
                                 | Backend   |
                                 |       API +<----------+
                                 +---------+-+           |
                                           |             |
     Server                                |             |
                                           |             |
+-----------------------------------------------+        |
|      +-------------+                     |    |        |
|      |epg          |                     |    |        |
|      |             |:6060->api/pprof <---+    |        |
|  +-> |watch consul |                          |        |
|  |   |             |                          |      +-+---------+
|  |   |             |:6603->clients            |      |Grafana    |
|  |   |slowquery_log+-------------+            |      |           |
|  |   +------------++             |            |      |           |
|  |                | stats        |            |      +-----+-----+
|  |   system stats +------+       |log watch   |            |
+-------------+            |       |            |            |
|  |          |            |       |            |            |
|  |   +------v------+     v       |            |            |
|  |   |Telegraf     |             |            |            |
|  |   |             |:8125->statsd|listen      |            |
|  |   |             |             |            |       +----v----+
|  |   |             +--------------------------------->+Influxdb |
|  |   +-------------+             |            |       |         |
|  |                               |            |       +---------+
|  |                               |            |
|  |   +------------------+        |            |
|  |   |epgOWL            |        |            |
|  |   |                  <--------+            |     +--------+
|  |   |                  +---------------------------+OWL     |
|  |   +------------------+                     |     |        |
|  |                                            |     +--------+
|  |   +------------------+                     |
|  |   |consul agent      |                     |      +--------------+
|  +---+                  <-------------------------+  |consul server |
|      +------------------+                     |   +--+              |
+-----------------------------------------------+      +--------------+

##Functions 连接池节点注册,健康检查,状态上报; 接入Auth用户系统; 集群中数据库节点增加/删除; 数据库用户权限及连接数查询; 监控,数据统计;