Austin
취소

What can actually Nginx handle?

My portfolio site use nginx for reverse proxy. It doesn’t need to have nginx in frontend, because the main purpose of reverse proxy is to hide the backend port(or load-balance). But I made it for t...

Database-Transaction

What is Database Transaction? It refers to the unit of work performed by changing the state of the database. Simply put, it means accessing the database using the following query(SELECT, UPDAT...

How can we generate golang interface from SQL queries?

Database design First I’m going to write DB scheme using dbdiagram. We can make general sql code as below. Table users as U{ username varchar [pk] hased_password varchar [not null] full_...

OS-7(정리 in Korean)

Process vs Thread In Concept 프로세스 : 디스크에 있는 프로그램이 실행되기 위하여 메모리에 올라왔을 때의 형태 스레드 : 프로세스의 실제 CPU 실행단위 In Structure ...

OS-6(CPU scheduling algorithm)

CPU scheduling algorithm CPU schedule CPU resouces to each threads with following algorithm from Ready Queue non-preemptive : doesn’t stop Job FCFS : execute First in SJF : ex...

OS-5(Context Switch/Critical Section)

What is Context Switch Context Switch : replace PCB inside the memory with other PCB. store Process A’s PCB load Process B’s PCB to memory from disk When system call is oc...

OS-4(Process/Thread/Memory)

Difference in concept Process program that currently running when program in disk load on memory, it become process Thread basi...

OS-3(Memory)

This post is based on Unix v6 which is a root for current version of Linux How UNIXv6 manage their memory Definition of process is “Instance of a program in execution”. And in UNIXv6, they ...

OS-2(Types of cache mapping)

Direct Mapping Advantage Fast as only tag field matching is required while searching for a word It is comparatively less expensive than associative ma...

OS-1

Computer Architecture CPU-CORE Register : Data storage that needed for CU and ALU PC (Program Counter) : store address which is next instruction set AC (...