read/write split in UAA

Open
#3,609 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, java, mysql
Domain
backend, databases

Research direction

No file, test, or entry point is named. Start by checking UAA's database configuration and whether it supports separate Aurora writer and reader endpoints; done means documenting whether read/write splitting is supported and the recommended configuration for Aurora MySQL on AWS ECS.

Written by the indexing model from the issue text.

Description

UAA version : 78.0.2
We are deploying Cloud Foundry UAA on AWS ECS backed by an Aurora MySQL cluster with one writer and multiple reader instances.

Our question is regarding read/write traffic distribution:

Does UAA have built-in support for routing read queries to Aurora read replicas (using the cluster-ro endpoint) while ensuring write operations continue to go to the writer endpoint?

If not, what is the recommended best practice for using UAA with Aurora to take advantage of read replicas?

Any guidance on how to properly configure UAA with Aurora so that it efficiently utilizes the reader/writer setup would be very helpful.

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.