Comments (2)
Original request from @majortom64 in #256:
For security purposes it would be great to support ephemeral database user credentials, generated by something like HashiCorp’s Vault. These credentials timeout and then need to be regenerated. When they change, the Connection Pool would need to automatically close or automatically handle getting the new credentials and updating the connection.
from postgres-nio.
In an ideal case, we would likely try to create a new connection with the new properties... And only accept them, if we are able to create a new connection with them. Only once we validated we can actually create new connections with the new properties, we should actually apply them to the pool (aka closing old connections). If we currently can't create connections with the old properties, who cares and we should apply them directly.
from postgres-nio.
Related Issues (20)
- 1.18 crashes on Linux HOT 10
- CI: Investigate running tests in release mode HOT 1
- Successfully closing connection logs `PSQLError`
- Composable PostgresQuery HOT 4
- Support marking connection as going away
- Support changing the number of allowed streams on a connection HOT 1
- Error "How can we receive a read, if the connection is closed" HOT 7
- Double ping pong that crashes the app. HOT 2
- Connection Pool Crash: Precondition failure when ping and close happen at the same time
- ConnectionPool: Allow connection scoring/preference, for example for a certain EventLoop HOT 1
- Fatal error: How can we receive a read, if the connection is closed HOT 3
- TIMESTAMP columns don't return the same value as was inserted HOT 3
- PostgresNIO/ListenStateMachine.swift:182: Fatal error: Invalid state: initialized HOT 12
- DATE columns set values with timezone offsets, producing conflicts when db server is on a different timezone. HOT 5
- Get count of active connection HOT 6
- Empty Set does not encode property
- ConnectionPool crash on keepalive with non-empty request queue HOT 2
- Rename `PostgresQuery` to `PostgresStatement`
- ConnectionPool crash when minimum connections > 0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres-nio.