Briefly, if applications want a MySQL, just access localhost:3306.
Introduction
Pisanix [Pi-sanics] is a modern database governance framework for Kubernetes. Pisanix adds SQL-aware traffic control, audit, security and extension abilities to help manage various databases in the Database Mesh way.
Pisanix has 4 major features:
Local Service as Database: Pisanix provides a local database service, that is one applications could access a MySQL at localhost:3306 without any knowledge of the real data source.
Unified Config Management: Pisanix provides a centralized management of Database Mesh configurations, including traffic strategies like read-write splitting, sharding, encryption and concurrency control.
Multi Protocol Support: Pisanix has a bunch of different plugins to help build a Glue Layer for any database protocols.
Cloud Native Architecture: Pisanix takes advantage of the classic control plane and data plane pattern, using Infrastructure as Code to make it a versioned database access behavior.
Current Status
Pisanix now supports TrafficStrategy of Database Mesh Specificiation, besides VirtualDatabase, DatabaseEndpoint, and other features like AuditRequest and AccessControl are also on the way:
Runtime Resource-oriented Programming: supports extensible resource control abilities.
Database Reliability Engineering: make DBA's life easier with Kubernetes
Database traffic governance
Applications access databases with SQL, so Pisanix will hijack all SQL traffic. This is a great opportunity to do a lot of things around traffic, like loadbalancing and SQL firewall.
Observability
In the past, metrics could be retrieved from database instances and display in kinds of charts. Now with Pisanix, DBAs could have more chances to achieve better observability.
Programmable
For DBAs who could and would like to solve problems with programming. Pisanix supports many kinds of plugin mechanism, like Lua and Wasm. People will have the chance to 'reshape' the expected behavior of databases.
Documentation
Full documentation will be available on the Pisanix website.
Wechat User Group: Broker wechat to add you into the user group.
Roadmap
The Pisanix project is still at an early stage. In the next work, it will focus on enhancing the governance capabilities of traffic, such as data sharding, application data access auditing , and runtime resource QoS, etc. And it will continuously improve the performance and provide an ease of use experience, support plugin extensions to fit different business scenarios.
wbtlb/pisanix
Introduction
Pisanix
[Pi-sanics] is a modern database governance framework for Kubernetes. Pisanix adds SQL-aware traffic control, audit, security and extension abilities to help manage various databases in the Database Mesh way.Pisanix
has 4 major features:Current Status
Pisanix now supports
TrafficStrategy
of Database Mesh Specificiation, besidesVirtualDatabase
,DatabaseEndpoint
, and other features likeAuditRequest
andAccessControl
are also on the way:Getting Started
Highlights
Pisanix has 3 components:
Goals
Pisanix
has the following goals:Database traffic governance
Applications access databases with SQL, so Pisanix will hijack all SQL traffic. This is a great opportunity to do a lot of things around traffic, like loadbalancing and SQL firewall.
Observability
In the past, metrics could be retrieved from database instances and display in kinds of charts. Now with Pisanix, DBAs could have more chances to achieve better observability.
Programmable
For DBAs who could and would like to solve problems with programming. Pisanix supports many kinds of plugin mechanism, like Lua and Wasm. People will have the chance to 'reshape' the expected behavior of databases.
Documentation
Full documentation will be available on the Pisanix website.
Contribution
Please follows Contributing Guide
Community & Support
Roadmap
The Pisanix project is still at an early stage. In the next work, it will focus on enhancing the governance capabilities of traffic, such as data sharding, application data access auditing , and runtime resource QoS, etc. And it will continuously improve the performance and provide an ease of use experience, support plugin extensions to fit different business scenarios.
License