HTHuy Trinh Dinhinhuytrinh.hashnode.dev路Feb 18 路 1 min readService Worker dummyWhat it is Service workers act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network reques...00
HTHuy Trinh Dinhinhuytrinh.hashnode.dev路Feb 17 路 2 min readBack-of-the-envelope Resource EstimationGiven a load parameter such as the number of active users a day, we want to estimate the computing and storage resources we need. Load and Performance Parameters Requests Per Second Usage: Calculate the storage size for databases and cache memory Exa...00
HTHuy Trinh Dinhinhuytrinh.hashnode.dev路Dec 12, 2025 路 3 min readRBAC vs ABAC authorizationAuthorization determines what authenticated users can access. RBAC: Role-Based Permissions RBAC assigns users to roles like admin, editor or viewer. Each role bundles specific permissions Example UseCase GitHub uses repository permission levels (read...00
HTHuy Trinh Dinhinhuytrinh.hashnode.dev路Dec 11, 2025 路 4 min readDesign System Core ChallengesCore Challenges Design System mainly solves problems when we scale a product for many users Without a huge number of users, all design system problems scale back to coding problems. Challenge 1: Too many concurrent users The most common problem is th...00
HTHuy Trinh Dinhinhuytrinh.hashnode.dev路Nov 17, 2025 路 2 min readAI FundamentalsToken Tokens are numbers that represent how LLM thinks about the text The tokenizer splits text into tokens it recognizes These tokers are converted into numbers https://tiktokenizer.vercel.app/ 馃摎 Resources https://www.aihero.dev/what-are-toke...00