ID Capacity — The Math Behind Choosing the Right ID Length
The main aim of this article is to describe the limitations of ID, in terms of capacity, and the math...
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3906992) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Ponlamai Posted on May 1 ID Capacity — The Math Behind Choosing the Right ID Length #database #programming The main aim of this article is to describe the limitations of ID, in terms of capacity, and the math behind the scene. Alright, good people — ID is not complicated. Various methods can generate it, such as using a counting number, randomizing, or composing/concatenating from multi-attributes (like a national ID or college student ID).
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).