{"repo":"DiceTechnology/dice-fairlink","free":true,"listed":false,"github":"https://github.com/DiceTechnology/dice-fairlink","clone":"git clone https://github.com/DiceTechnology/dice-fairlink.git","description":"JDBC Driver for read-only connections on AWS RDS Clusters","language":"Java","stars":39,"topics":["jdbc","aws","aurora","replica","load","balance","mysql","postgresql","rds","amazon"],"license":"MIT","category":"databases-storage","readme_excerpt":"dice-fairlink is a JDBC driver designed to connect to the read replicas of an AWS Aurora cluster. The driver will periodically obtain a description of the cluster and despatch connections to each read replica on a round-robin fashion. dice-fairlink does not handle read/write connections Why do we need dice-fairlink (TL/DR version)? Because in many cases Aurora will not evenly distribute the connections amongst all the available read replicas. How can I use dice-fairlink (TL/DR version)? - Add dice-fairlink as a dependency to your JVM project - Add software.amazon.awssdk:rds and software.amazon.awssdk:resourcegroupstaggingapi as dependencies of your project - Add fairlink as a jdbc sub-protocol to your connection string's schema - If using the AWS API discovery mode, change your connection string's host to the name of your AWS Aurora cluster. Use the cluster's read-only endpoint otherwise - Ensure the code running dice-fairlink as the correct IAM policies (see sections Member Discovery and Exclusion Discovery) Here for version 1.x.x ? Version 2.x.x of dice-fairlink is substantially different internally, in particular in terms of configuration and the IAM permissions it needs to run. Please see the README.md of versions 1.x.x here. Changes from 2.x.x: - Added SQL discovery for postgres Changes from 1.x.x: - Renamed the sub-protocol from auroraro to fairlink ( auroraro is still accepted for backward compatibility and will be removed in version 3.0.0) - Added SQL discovery (only ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DiceTechnology","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DiceTechnology/dice-fairlink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}