Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
infogulch
on Aug 30, 2020
|
parent
|
context
|
favorite
| on:
Multi-Tenant Architectures
Ideally setting the tenant context happens early during request authorization, is a required to get access to a database connection, and is configured outside the scope of any request business logic.
pvorb
on Aug 31, 2020
[–]
Yeah, I'm using Java, so in practice this means I extended my JDBC DataSource. On every call to getConnection() it sets the schema.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: