본문 바로가기

전체 글205

서버 OS로 Ubuntu를 선택한 이유 (feat. Amazon Linux, CentOS 비교) AWS EC2 인스턴스를 생성할 때 어떤 OS를 선택할지 고민하는 경우가 많습니다. ColonyDrop 프로젝트에서 Ubuntu 22.04 LTS를 선택한 이유를 다른 OS와 비교해서 정리했습니다.1. 서버 OS 종류AWS EC2에서 선택할 수 있는 주요 OS는 아래와 같습니다.OS 계열 패키지 관리자 특징UbuntuDebian 계열apt레퍼런스 풍부, 범용적Amazon Linux 2RHEL 계열yum/dnfAWS 최적화CentOSRHEL 계열yum기업 환경 많이 사용DebianDebian 계열apt안정성 높음Windows ServerWindows-.NET 환경2. 주요 OS 상세 비교Ubuntu장점- 레퍼런스, 커뮤니티 자료가 가장 풍부- apt 패키지 관리자로 설치 간편- Docker, Jenkins.. 2026. 4. 23.
Spring JPA에서 PK를 String 대신 Long으로 써야 하는 이유 JPA로 엔티티를 설계할 때 PK(Primary Key) 타입으로 무엇을 선택하느냐는 생각보다 중요한 문제입니다. 처음 설계할 때는 큰 차이가 없어 보이지만, 데이터가 쌓일수록 성능 차이가 눈에 띄게 나타납니다. 이 글에서는 String PK와 Long PK의 차이를 인덱스, 조인, 저장 공간 측면에서 비교해보겠습니다.1. 타입별 저장 크기 비교타입 크기BIGINT (Long)고정 8 bytesVARCHAR(20) (String)최대 20 bytes + 길이 정보 1~2 bytesVARCHAR(128) (String)최대 128 bytes + 길이 정보 1~2 bytesPK는 인덱스에도 저장되기 때문에, 크기가 클수록 인덱스 트리도 커지고 메모리를 더 많이 차지합니다.2. 인덱스 성능 차이Long PK .. 2026. 4. 23.
Generative AI enters cybersecurity battlefield https://pulse.mk.co.kr/news/english/11367097 2025. 7. 14.
was vs web-server web-server : 정적데이터를 처리하며 주로 아파치를 사용한다. 정적데이터 : 수정시 전체 데이터를 갈아치우는 것을 말한다. was : 동적데이터 처리 하며 주로 톰캣을 사용한다. 동적데이터 : 서버에서 실시간으로 변환되어 적용되어지는 데이터를 의미한다. 2025. 4. 23.
1.5 Protocol Layers and Their Service Models 1.5.1 Layered Architecture a packet is shipped from source host to destination host in theInternet. 2025. 4. 22.
2025.04.22 "We need to run some tests before moving to production."→ 프로덕션에 반영하기 전에 몇 가지 테스트를 진행해야 해요."Please merge your branch into the main branch when you're done."→ 작업이 끝나면 본인 브랜치를 메인 브랜치에 머지해주세요."We're experiencing a bug in the login module after the last update."→ 지난 업데이트 이후 로그인 모듈에 버그가 발생하고 있어요. 2025. 4. 22.
마피아게임 만들기 -로그인(node.js, javascript 사용) 프로젝트를 하는데 있어서 db를 사용하지 못했기 떄문에 로그인정보들은 어떤식으로 저장해야될지 고민했다.-> socket 연결한 server에 list 형식으로 로그인 정보를 저장하면되지 않을까 생각했는데 -> socket으로 연결된 서버에서 새로운 페이지를 로드한다면 socket 연결이 다시 되는것인데 이전에 있던 정보를 알 수 있는 방법이 없었다.-> 그래서 다른 방법을 찾아보니 sessionStorage 와 localStorage가 있었다.-> 하지만 localStorage는 아래의 표와 같이 같은 브라우저 다른탭일 경우 localStorage 가 공유되어 정보가 곂칠수있다는 단점이 있었다.상황 localStorage 공유 여부같은 브라우저, 같은 탭공유됨같은 브라우저, 다른 탭공유.. 2025. 4. 21.
1.3 The Network Core To send a message from a source end system to a destination end system, the source breaks long messages into smaller chunks of data known as packets. Between source and destination, each packet travels through communication links and packet switches (for which there are two predominant types, routers and link-layer switches) Most packet switches use store-and-forward transmission at the inputs.. 2025. 4. 18.
1.2 The Network Edge The Internet’s end systems include desktop computers (e.g., desktop PCs, Macs, and Linux boxes), servers (e.g., Web and e-mail servers), and mobile devices (e.g., laptops, smartphones, and tablets) End systems are also referred to as hosts because they host (that is, run) application programs such as a Web browser program, a Web server program, an e-mail client program, or an e-mail server progr.. 2025. 4. 16.
2025.04.16 "Could you please clarify the requirements for this feature?"→ 이 기능에 대한 요구사항을 명확히 해주실 수 있나요?"Let's schedule a quick meeting to align on the implementation plan."→ 구현 계획을 조율하기 위해 간단한 미팅을 잡읍시다."The issue has been resolved and the fix has been deployed to the staging environment."→ 문제가 해결되었고 수정 사항은 스테이징 환경에 배포되었습니다. 2025. 4. 16.
728x90
반응형