JackTT

JackTT @jacktt

About: Software Engineer | DevOps | Gopher 🇻🇳

Location:
localhost
Joined:
Jun 21, 2023

JackTT
articles - 58 total

Tracing error strack in Golang

Problem: No Stack Trace in Native Errors Consider this Go snippet: func function3()...

Learn More 0 0May 23

A better pkg.go.dev

About pkgo.dev I have never been able to read a package's documentation on pkg.go.dev...

Learn More 4 1Feb 16

Pod Topology Spread Constraints

Pod Topology Spread Constraints Pod Topology Spread Constraints - a.k.a...

Learn More 1 0Jan 12

Avoid Misunderstanding ON DELETE NO ACTION

Relational databases often provide several options for handling actions when a referenced row in a...

Learn More 3 2Oct 6 '24

[Golang] Understanding Unbuffered and Buffered Channels

Table of contents Channel capacity Behavior Closed channel Receive-Only & Send-only...

Learn More 6 0Sep 14 '24

Snowflake Schema vs. Star Schema: Pros, Cons, and Use Cases

Star Schema Structure: Central Fact Table: Contains quantitative data for...

Learn More 1 0Sep 12 '24

[Postgres] Isolation levels

In PostgreSQL, isolation levels determine how transaction integrity is maintained when multiple...

Learn More 0 0Sep 12 '24

ACID in Postgres

ACID is a set of properties that ensure reliable transactions in a database system. It stands for...

Learn More 3 4Sep 3 '24

Kubernetes probes: startupProbe, livenssProbe, and readinessProbe

Liveness Liveness probes determine when to restart a container. If the liveness probe...

Learn More 0 0Aug 7 '24

Kubernetes Scheduler

I. Concepts Node labels When create a node, we can mark some labels for it. On...

Learn More 1 0Jul 31 '24

Kubernetes Scheduler

I. Concepts Node labels When create a node, we can mark some labels for it. On...

Learn More 1 0Jul 31 '24

Kubernetes Scheduler

I. Concepts Node labels When create a node, we can mark some labels for it. On...

Learn More 0 0Jul 31 '24

Exploring some Powerful Features of Golang

Table of content Goroutines Channel Buffered Channel Defer Select Plugin Binary...

Learn More 1 0Jul 31 '24

Explaining A/B testing algorithm

We are developing a crypto news aggregator Bitesapp.co. A few days ago, we implemented A/B testing...

Learn More 0 0Jul 30 '24

Go mock

What is Go mock Go mock is a mocking framework that allows developers to create mock...

Learn More 2 0Jul 30 '24

Comparing Limit-Offset and Cursor Pagination

Comparing Limit-Offset and Cursor Pagination There are two popular methods for pagination...

Learn More 5 0Jul 10 '24

Showing more Article info on Daily.dev

Daily.dev is a very good extension that helps us aggregate news from several sources. When...

Learn More 1 0Jul 9 '24

Showing more Article info on Daily.dev

Daily.dev is a very good extension that helps us aggregate news from several sources. When...

Learn More 0 0Jul 8 '24

[Article as Code] Syncing Articles Between Dev.to and Multiple Blogging Platforms

In the world of content creation, each platform offers unique advantages. Publishing articles on...

Learn More 2 0Jul 8 '24

Why are NoSQL Databases beeter at Horizontal Scaling Compared to SQL Databases

The ability of NoSQL databases to horizontally scale more effectively than SQL databases is rooted in...

Learn More 2 0Jul 8 '24

GraphQL Types

Field declaration By default, it's valid for any field in your schema to return null...

Learn More 2 0Jul 3 '24

Graphql Fundamental

GraphQL provides a complete and understandable description of the API, including both "API endpoints"...

Learn More 2 1Jul 3 '24

Snowflake Schema vs. Star Schema: Pros, Cons, and Use Cases

Star Schema Structure: Central Fact Table: Contains quantitative data for...

Learn More 4 0Jun 11 '24

Is JWT Safe When Anyone Can Decode Plain Text Claims

If I get a JWT and can decode the payload, how is it secure? Why couldn't I just grab the token out...

Learn More 1 0Jun 6 '24

Understanding the "SELECT FOR UPDATE" SQL Statement

What is "SELECT FOR UPDATE"? SELECT FOR UPDATE is a clause in SQL that is appended to a...

Learn More 19 0Jun 6 '24

Managing Concurrent Purchases of Limited Items in a Database

Imagine that we're developing an e-commerce website. In this case, we have a limited number of items...

Learn More 1 0Jun 6 '24

Why does not postgres use my index?

This is a quick note 1. Query Conditions Not Matching the Index The index is not on the...

Learn More 1 0Jun 5 '24

Advanced Go Build Techniques

Table of contents Build options Which file will be included Build tags Build contraints ...

Learn More 0 0May 8 '24

Solidity concepts

Concept / Keyword Description Visibility Specifies the accessibility of functions and state...

Learn More 0 0May 8 '24

Optimistic lock & Pessimistic lock

Pessimistic lock Lock READ UPDATE Unlock Example: START TRANSACTION; -- Select the...

Learn More 0 0May 8 '24