<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Rls on Tech News Feed</title>
    <link>https://news.dhphong.com/tags/rls/</link>
    <description>Recent content in Rls on Tech News Feed</description>
    <generator>Hugo -- 0.131.0</generator>
    <language>vi</language>
    <lastBuildDate>Fri, 01 May 2026 00:02:03 +0700</lastBuildDate>
    <atom:link href="https://news.dhphong.com/tags/rls/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>[PlanetScale Blog] RLS sounds great until it isn&#39;t</title>
      <link>https://news.dhphong.com/posts/2026-04-30-rls-sounds-great-until-it-isnt-planetscale/</link>
      <pubDate>Fri, 01 May 2026 00:02:03 +0700</pubDate>
      <guid>https://news.dhphong.com/posts/2026-04-30-rls-sounds-great-until-it-isnt-planetscale/</guid>
      <description>Nguồn: PlanetScale Blog
Tóm tắt Row Level Security (RLS) trong PostgreSQL cho phép định nghĩa security policy trực tiếp trong database thay vì application layer — mỗi query tự động bị lọc theo policy, không cần code ứng dụng xử lý. Tuy nhiên, PlanetScale lập luận rằng trong thực tế, footgun và gotcha của RLS thường outweigh lợi ích.
Vấn đề đầu tiên là connection pooling. Postgres dùng kiến trúc process-per-connection, nên cần PgBouncer để pool connections.</description>
    </item>
  </channel>
</rss>
