Designing a High-Load File Upload System with the Tus Protocol

Hello everyone, uploading data to the internet happens every day, from uploading photos to Facebook, videos to YouTube, TikTok, or files to Google Drive, etc. Files can range from small to very large sizes, but network environments have never been stable 😅, with jitter, lag, or sudden disconnections 🤯. Have you ever wondered how to deploy a system capable of resuming an upload even if the connection is lost midway?...

15 May, 2024 · 7 min · 1324 words · Duc Truong

Implement polling technique with Golang

Hello everyone, in the previous post, I introduced the Polling technique. In this post, I will leverage the power of Golang to implement the Polling technique (Short Polling and Long Polling). This is a blog post in my System Design series, if you are interested in issues related to system design. software system, follow this series to update the latest knowledge! Short polling In this approach, the downstream will send a request to the upstream after a certain period of time....

27 Apr, 2024 · 4 min · 785 words · Duc Truong

What is polling technique? Short polling vs long polling

In an era of relentless technological advancement, increasingly sophisticated software systems are emerging, accompanied by ever-growing and complex data. To handle large and complex data, modern software systems are often designed using the Microservices model. The Microservices model helps break down the system into smaller services, each of which can have even smaller components. One of the biggest challenges when building a Microservices system is how to make the services communicate with each other effectively....

23 Apr, 2024 · 6 min · 1233 words · Duc Truong

Markdown: Basic guide for beginners

Hello everyone, this is the first article in my series about Markdown, a simple and easy-to-use markup language. In this article, we will learn about the basic syntax of Markdown and how to use it in real applications. Introduction Markdown is a lightweight markup language designed to create text that is easy to read and write, created by John Gruber in 2004. Today, markdown is one of the most popular markup languages....

20 Apr, 2024 · 5 min · 969 words · Duc Truong