Metadata
-
[OS] - File SystemCS/면접준비 2022. 9. 30. 15:07
File System 컴퓨터에서 파일이나 자료를 쉽게 발견할 수 있도록, 유지 및 관리하는 방법이다. 저장매체에는 수많은 파일이 있기 때문에, 이런 파일들을 관리하는 방법을 말한다. 특징 Kernel에서 동작 CRUD 기능을 수행 계층적 Directory 구조 Disk Partition별로 하나씩 둘 수 있다. 역할 File management 보조 저장소 관리 파일 무결성 접근 방법 제공 목적 Disk와 Main memory의 속도 차이를 줄이기 위함 File 관리 Disk의 효율적인 사용 구조 Metadata+data Metadata = Data 영역에 기록된 File의 Name, location, 크기, Time, 삭제 유무 Data = File Data 파일을 구성하는 레코드들이 보조기억장치에 편..
-
10 . File SystemCS/OS 2022. 8. 8. 15:04
File System file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved 1. Space managements File system fragmentation occurs when unused space or single files are not contiguous. As a file system is used, files are created, modified and deleted. When a file is created, the file system allocates spa..
-
[Kafka] - 4. Producer개발/Kafka 2022. 8. 4. 16:10
Producer Producer는 Kafka에 Data를 넘겨주는 역할을 한다. ( Message = Data = Record = Event ) 1. Header(metadata) Topic, Partition, timestamp.. etc 2. Body Key-value Kafka는 Data를 Byte Array로 저장한다. Byte Array로 저장하기 위하여 Produce는 Data를 Serialize하며, Consumer는 Data를 확인 하기 위해 deserialze해야 한다. Key-value용 Serializer를 설정하기 위해서 아래 코드와 같이 사용한다고 한다. Properties props = new Properties(); props.put("bootstrap.servers", "lo..