<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Database on JsonKit Blog</title>
    <link>https://jsokit.com/blog/tags/database/</link>
    <description>Recent content in Database on JsonKit Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>© 2025 JsonKit</copyright>
    <lastBuildDate>Sun, 10 May 2026 17:07:26 +0000</lastBuildDate>
    <atom:link href="https://jsokit.com/blog/tags/database/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>UUID Generator Algorithms: From v1 to v4 Implementation</title>
      <link>https://jsokit.com/blog/posts/uuid-generator-algorithms-from-v1-to-v4-implementation/</link>
      <pubDate>Sun, 10 May 2026 17:07:26 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/uuid-generator-algorithms-from-v1-to-v4-implementation/</guid>
      <description>UUID Generator Algorithms: From v1 to v4 Implementation Building a distributed system recently, I needed globally unique IDs. Started with auto-increment database IDs, then hit a wall with sharding—different databases would generate conflicting IDs. After some research, I went with UUID. Here&amp;rsquo;s what I learned.&#xA;What is UUID? UUID (Universally Unique Identifier) is a 128-bit unique identifier, typically shown as a 36-character string:&#xA;550e8400-e29b-41d4-a716-446655440000 The format is 8-4-4-4-12, separated by hyphens.</description>
    </item>
    <item>
      <title>.env File Management: From Manual Editing to Visual Tools</title>
      <link>https://jsokit.com/blog/posts/env-file-management-from-manual-editing-to-visual-tools/</link>
      <pubDate>Wed, 11 Feb 2026 14:21:58 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/env-file-management-from-manual-editing-to-visual-tools/</guid>
      <description>.env File Management: From Manual Editing to Visual Tools Last week I helped a colleague debug a database connection issue. After hours of troubleshooting, we found an extra space in the .env file&amp;rsquo;s DATABASE_URL. This kind of silly mistake is all too common - manual config editing is prone to errors.&#xA;The Nature of .env Files The .env file follows the 12-Factor App methodology, separating config from code:&#xA;# Database config DATABASE_URL=postgres://user:pass@localhost:5432/mydb # API keys API_KEY=sk-xxxxxxxxxxxxx # Environment identifier NODE_ENV=production Simple format, but plenty of pitfalls.</description>
    </item>
    <item>
      <title>Building a Code Sharing Tool: URL Hash Storage and Base64 Encoding Techniques</title>
      <link>https://jsokit.com/blog/posts/building-a-code-sharing-tool-url-hash-storage-and-base64-encoding-techniques/</link>
      <pubDate>Fri, 30 Jan 2026 15:09:21 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/building-a-code-sharing-tool-url-hash-storage-and-base64-encoding-techniques/</guid>
      <description>Building a Code Sharing Tool: URL Hash Storage and Base64 Encoding Techniques Recently, I built a code sharing tool that requires a &amp;ldquo;no backend, permanent validity&amp;rdquo; sharing mechanism. After researching several approaches, I chose URL Hash + Base64 encoding - simple and reliable.&#xA;Why URL Hash Storage? Traditional code sharing tools use two approaches:&#xA;Backend database storage - Store code in database, generate short links. Pros: short links. Cons: needs backend, storage cost, links can expire.</description>
    </item>
  </channel>
</rss>
