<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>D1 — Things Worth Sharing</title><description>Bài viết gắn tag D1.</description><link>https://cloudsecop.net/</link><item><title>Wildebeest: self-host Mastodon trên Cloudflare stack — federated trên Workers</title><link>https://cloudsecop.net/blog/wildebeest-mastodon-on-cloudflare/</link><guid isPermaLink="true">https://cloudsecop.net/blog/wildebeest-mastodon-on-cloudflare/</guid><description>Wildebeest = ActivityPub server tương thích Mastodon, chạy entirely trên Workers + D1 + R2 + KV. 1 Worker thay 10 service Mastodon truyền thống. $0-5/tháng vs $50-200 VPS.</description><pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate><category>Cloudflare</category><category>Workers</category><category>D1</category><category>R2</category><category>ActivityPub</category><category>Self-host</category><author>KhaVan</author></item><item><title>ORM cho D1: Drizzle, Prisma, hay raw SQL</title><link>https://cloudsecop.net/blog/orm-d1-drizzle-prisma/</link><guid isPermaLink="true">https://cloudsecop.net/blog/orm-d1-drizzle-prisma/</guid><description>3 lựa chọn: SQL thô (0KB), Drizzle (10KB, TS-first), Prisma (500KB WASM). Quy trình, pattern query phức tạp, migration, type safety, và khi nào ORM hại nhiều hơn lợi.</description><pubDate>Thu, 16 Oct 2025 00:00:00 GMT</pubDate><category>Cloudflare</category><category>Cloudflare Developer</category><category>D1</category><category>ORM</category><category>Drizzle</category><category>Prisma</category><author>KhaVan</author></item><item><title>D1 trong production: primary-replica, batch, và 7 gotcha</title><link>https://cloudsecop.net/blog/d1-production-patterns/</link><guid isPermaLink="true">https://cloudsecop.net/blog/d1-production-patterns/</guid><description>D1 là SQLite ở edge với primary region và read replica: kiến trúc, 5 query method, Sessions API cho read replica, prepared statement cache, migration, và 7 gotcha production.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate><category>Cloudflare</category><category>Cloudflare Developer</category><category>D1</category><category>Storage</category><category>SQL</category><author>KhaVan</author></item><item><title>Năm lưu ý về schema D1 mình rút ra từ những bài học đau thương</title><link>https://cloudsecop.net/blog/d1-schema-tips/</link><guid isPermaLink="true">https://cloudsecop.net/blog/d1-schema-tips/</guid><description>Composite primary key, khi nào vẫn cần FTS, vì sao không nên index theo cảm tính, và vì sao row count ở edge quan trọng hơn bạn nghĩ.</description><pubDate>Sat, 30 Nov 2024 00:00:00 GMT</pubDate><category>Database</category><category>D1</category><category>Cloudflare</category><category>Programming</category><author>KhaVan</author></item></channel></rss>