Understanding OAuth 2.0: Role Distribution Between Frontend and Backend

Introduction Let’s dive into a detailed explanation of OAuth 2.0. We’ll examine the entire flow using GitHub OAuth as an example, then break down the implementation roles between the frontend and backend with practical examples. What is OAuth 2.0? OAuth 2.0 is a standard protocol for securely delegating third-party access to user data. In simpler terms, it’s a protocol used when a user wants to grant another application access to their data. It’s commonly used in implementing login systems, allowing users to sign in using their accounts from other services. ...

August 3, 2024 · 6 min · 1236 words · In-Jun Hwang

Types and Characteristics of Network Switches and Selection Methods

Introduction In today’s digital landscape, network switches serve as the backbone of modern networking infrastructure. These devices play a crucial role in efficiently managing and directing network traffic. While they primarily operate at the data link layer of the OSI (Open Systems Interconnection) model, different types of switches have evolved to handle various networking needs. Let’s dive into the world of network switches, exploring their types, unique characteristics, and what you should consider when choosing one for your network. ...

August 1, 2024 · 8 min · 1610 words · In-Jun Hwang

PR (Pull Request) Review Guide

Introduction PR reviews are an essential activity for collaboration. By reviewing PRs, we can improve the quality of code and facilitate smoother communication among team members. In this post, we’ll explore the things to keep in mind and the best practices to follow when performing a PR review. Purpose of PR Reviews The main purposes of performing a PR review are: Improve code quality: By reviewing code from the perspective of another developer, we can write better code. Early detection of bugs and potential issues: By having multiple eyes on the code, we can spot issues that the author may have missed. Share knowledge: The code review process allows team members to share their knowledge and experiences with each other. Maintain consistency: We can ensure that the team’s coding style and conventions are being followed consistently. PR Review Checklist To ensure an effective PR review, the following aspects should be checked: ...

July 31, 2024 · 3 min · 439 words · In-Jun Hwang

Working with Helm: The Kubernetes Application Package Manager

Introduction Helm is a tool for seamlessly packaging and deploying Kubernetes applications. Dubbed as the “package manager for Kubernetes,” helm simplifies complex application constructs, eases version management, and streamlines the application lifecycle management. In this article, we will delve into the concepts of helm, from the basics to advanced usage. 1. Helm Fundamentals 1.1 What is Helm? Helm is a “package manager” in the Kubernetes ecosystem. It plays a similar role in Kubernetes as apt or yum in Linux or Homebrew in macOS. With helm, you can easily define, install, and upgrade complex Kubernetes applications. ...

July 28, 2024 · 6 min · 1128 words · In-Jun Hwang

Setting Up a Single-Node Kubernetes Cluster on Ubuntu 24.04 LTS

1. Introduction Kubernetes is a powerful open-source platform for automating the deployment, scaling, and management of containerized applications. Primarily useful for large-scale distributed systems, it can also be deployed on a single node for development and testing purposes. This guide will walk you through the step-by-step process of installing and configuring a single-node Kubernetes cluster on Ubuntu 24.04 LTS. 2. Prerequisites A machine with Ubuntu 24.04 LTS (recommended minimum 2 CPUs, 2GB RAM, 20GB storage) Root or sudo privileges Internet connectivity 3. Installation Procedure 3.1 Update the System and Install Prerequisite Packages First, let’s update your system to the latest state and install some essential base packages. ...

July 27, 2024 · 4 min · 701 words · In-Jun Hwang