Skip to content

Talk: SaaS on Rails on PostgreSQL#198

Open
andyatkinson wants to merge 1 commit intomainfrom
chore/citus
Open

Talk: SaaS on Rails on PostgreSQL#198
andyatkinson wants to merge 1 commit intomainfrom
chore/citus

Conversation

@andyatkinson
Copy link
Owner

@andyatkinson andyatkinson commented May 20, 2024

This PR has code samples and examples from the Posette Conf talk "Saas
on Rails on PostgreSQL"

https://www.citusdata.com/posette/speakers/andrew-atkinson/

Some of the tech examples:

  • Row Level Security
  • Composite primary keys
  • Active Record Horizontal Sharding
  • Citus, row-based and schema-based sharding

@andyatkinson andyatkinson changed the title chore/citus Talk: SaaS on Rails on PostgreSQL Jun 11, 2024
This PR has code samples and examples from the Posette Conf talk "Saas
on Rails on PostgreSQL"

https://www.citusdata.com/posette/speakers/andrew-atkinson/

Some of the tech examples:
- Row Level Security
- Composite primary keys
- Active Record Horizontal Sharding
- Citus, row-based and schema-based sharding
@Dandush03
Copy link

you should checkout PgRLS it probably solve this by just creating a RLS table and passing the tenant, but i would never recommend adding a RLS implementation for CACHE, just an extra layer of logic, i would recommend using DB sharding for cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants