BEST POST ๐บ
-
[ํ์คํ] ZMQ Pattern
ZMQ Request-Reply pattern โHello Worldโ client/server example Client sends โHelloโ to the server Server replies with โWorldโ 1:1 TCP echo ์๋ฒ์ ์ ์ฌ Synchronous REQ-REP socket ์ดํ๋ฆฌ์ผ์ด์ ์ ๋๊ธฐ, ํต์ ์ ๋ํ ๋ถ๋ถ์ ์์์ ๋น๋๊ธฐ๋ก ์ฒ๋ฆฌ๋จ Client issues send() and then recv(), in a loop ํด๋ผ์ด์ธํธ๊ฐ ์ ํํ ํจํด - ๋ฆฌํ์คํธ ํจํด / ์๋ฒ๋ ๋ฆฌํ๋ผ์ด ํจํด Doing any other sequence (e.g., sending two messages in a row) will result in a return code of -1 from t..
2023.04.18 00:43 -
2022 ์ฐ์ฃผ์ ํ์ฌ๋ ์์ธก AI ๊ฒฝ์ง๋ํ ํ์ 2022.10.10 23:34
-
[Paper review] Xen and the Art of Virtualization
Xen and the Art of Virtualization Abstraction Numerous systems have been designed which use virtualization to subdivide the ample resources of a modern computer. Some require specialized hardware, or cannot support commodity operating systems. Some target 100% binary compatibility at the expense of performance. Others sacrifice security or functionality for speed. Few offer resource isolation or..
2024.03.15 18:35
NEW POST โจ
-
[PIM] Processing-in-memory: A workload-driven perspective
Processing-in-memory: A workload-driven perspective (IBM, 2019)ย https://ieeexplore.ieee.org/document/8792187ย Processing-in-memory: A workload-driven perspectiveMany modern and emerging applications must process increasingly large volumes of data. Unfortunately, prevalent computing paradigms are not designed to efficiently handle such large-scale data: The energy and performance costs to move thi..
2024.05.21 14:17 -
[PIM] Benchmarking a New Paradigm: An Experimental Analysis of a Real Processing-in-Memory Architecture
2024. 05. 17. FridayBenchmarking a New Paradigm: An Experimental Analysis of a Real Processing-in-Memory Architectureย Benchmarking a New Paradigm: Experimental Analysis and Characterization of a Real Processing-in-Memory SystemMany modern workloads, such as neural networks, databases, and graph processing, are fundamentally memory-bound. For such workloads, the data movement between main memory ..
2024.05.17 20:20 -
[RaspberryPi] ๋ผ์ฆ๋ฒ ๋ฆฌํ์ด๋ก NAS ์๋ฒ ๋ง๋ค๊ธฐ 2024.05.16 19:13
-
[Docker] Dockerfile WebSocket Client/Server Build
# Dockerfile WebSocketย https://leimao.github.io/blog/Boost-Docker/ย Boost C++ Library Docker ContainerPortable and Convenient C++ Libraryleimao.github.ioย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ๐ฉโ๐ปDocker desktop์ ํตํด ์์ ๋์์ ํด๋ผ์ด์ธํธ๋ฅผ ์ด์ด๋ ๋๊ณ ,ย (์๋ฒ์ ํด๋ผ์ด์ธํธ๋ฅผ ํ๋์ ์ด๋ฏธ์ง ํ์ผ๋ก ๋น๋ํ ๊ฒฝ์ฐ)ย ์๋ก ๋ค๋ฅธ ์ด๋ฏธ์ง๋ก ๋ถ๋ฆฌํ์ฌ, ํต์ ์ ์ํฌ ์๋ ์์ต๋๋ค!ย ย ย ย ย ๐ณ ์ ์ถํ Docker hub linkย https://hub.docker.com/repository/docker/sohyeonkimdev/websocket_docker/generalย Doc..
2024.05.16 19:07 -
[Docker] Cpp Boost WebSocket Client/Server
# WebSocket Server/Client with Docker Composehttps://github.com/Chrischuck/websocket-docker-exampleย GitHub - Chrischuck/websocket-docker-example: Example of a real time chat application with React, Express, Postgres, and Docker.Example of a real time chat application with React, Express, Postgres, and Docker. - Chrischuck/websocket-docker-examplegithub.com: Cpp ์น์์ผ ์์ ํ๋ก์ ํธ ๋๋ ค๋ณด๊ธฐย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ..
2024.05.09 11:30 -
[FreeBSD] Kernel Services and Process Management
Kernel Servicesย The boundary between the kernel- and user-level code is enforced by hardware-protection facilities provided by the underlying hardware. The kernel operates in a separate address space that is inaccessible to user processes. Privileged operationsโsuch as starting I/O and halting the central processing unit (CPU)โare available to only the kernel. Applications request services from ..
2024.05.01 04:49 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(2)
Chap5. Docker Introductionย -ย ๋์ปค๋ ๊ตฌ๊ธ์ด ๋ง๋ ย SWย ์๋๋ค. โSolomon Hykesโย ํ์ด์ฝย 2013์์ ๋ฐํ- 2013๋ ,ย ๋์ปค๊ฐย Goย ์ธ์ด๋ก ์ง ์๊ฐ,ย ์ฟ ๋ฒ๋คํฐ์ค ๋ฑ์ฅย (Go) ->ย ๋ย sw๊ฐ ์ถ์๋๋ฉฐย Goย ์ธ์ด๊ฐ ์ธ์ ๋ฐ์ย -ย ๋์ปค๋ ๊ฑฐ์ ๋๋ถ๋ถ์ ํ๋ซํผ ์์ ์ฌ๋ผ๊ฐ๋คย +ย ์คํ์์คย /ย ํ๋ซํผ์ ๋ ๋ฆฝ์ ์ผ๋กย SW๋ฅผ ๋๋ฆด ์ ์๋คย -> OS์ ๋ฌด๊ดํ๊ฒ ๋์ปค ์์์ ์ดํ๋ฆฌ์ผ์ด์ ์ ์ง๋ฉด ๋๋ค, infrastructureย ๊ณผ ๋ฌด๊ดํ๊ฒ ์ง๋ฉด ๋๋ค.-ย ํ๋ก๊ทธ๋๋ฐ ํ๋ฏ์ดย infrastructure๋ฅผ ๊ด๋ฆฌํ ์ ์๋ค, infrastructure as code (IaC)-ย ์คํํ ํ๋ก๊ทธ๋จ์ ์์ค ์ฝ๋์,ย ์ด๋ฏธ์ง๋ฅผ ๋ง๋ค๊ธฐ์ํ ๋์ปค ํ์ผ ์ฝ๋,ย ์ด๋ ๊ฒ ์ฝ๋ ํ์ผ์ดย 2๊ฐ ํ์ํ๋ค.ย * Immuta..
2024.05.01 03:36 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(1)
Chap1. Overviewย -ย ์์ฒ ์๋ง๋์ ์ปดํจํฐ๋ค์ด ์น์ ๊ธฐ๋ฐ์ผ๋ก ์๋น์คย ex)ย ๊ตฌ๊ธ, MS / Datacenter programmingย ๊ธฐ์ ์ ๊ฐ๋ฐ ์ฒ ํ๊ณผ ๋ฐฐ๊ฒฝ๋คย โ Agile, DevOps, CI/CD โ Continuous Integration and Delivery, Microservice and Serverlessย ย - IP Address -ย ์ปดํจํฐ ๊ธฐ๊ธฐ์ ์ฃผ์ด์ง๋ ์ฃผ์, internet protocol addressย - Port number -ย ํ ์ปดํจํฐ ๋ด์์๋ ํ๋ก๊ทธ๋จ๋ง๋ค ์ฃผ์๊ฐ ๋ถ์ย /ย ํ๋ก๊ทธ๋จ์ดย OS์ ๊ตฌ๋ฉ์ ๋ซ๋ ๊ฒย ex)ย ์น์ย 80๋ฒ ํฌํธ ์ฌ์ฉย - Domain name -ย ์ฌ๋์ด ์ดํดํ๊ธฐ ์ฌ์ด ์์ด ์ด๋ฆย /ย ๋ค์ ์๋ย (com)ย ๋๋ฉ์ธ์ด ๋ ๋์ ๊ฐ๋ Ex)ย https://www..
2024.05.01 03:28 -
[Docker] Ubuntu Docker-machine ์ค์น
๐ณ2024. 04. 29 Mondayย ์ง๋ ์ค๊ฐ๊ณ ์ฌ ์ , ์ฐ๋ถํฌ์ GUI ์ค์น๊น์ง ๋ง์น ์ํฉ์ ๋๋ค.ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ๐ฉโ๐ปdocker desktop์ ์ค์นํ ์ ์์๊ณ ,ย ๋์ปค ๋ค์์ผ๋ก ๋์ปค ๋จธ์ ์ ์ค์นํด์คฌ์ต๋๋ค!ย https://docs.docker.com/engine/install/ubuntu/ย Install Docker Engine on UbuntuJumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.docs.docker.comhttps://git..
2024.04.30 14:14 -
[Database] SQL Assignment 6
#1 SELECT last_name, hire_date FROM employees WHERE department_id in ( SELECT department_id FROM employees WHERE last_name = 'Zlotkey' ) AND last_name 'Zlotkey'; subquery ์์ด join์ผ๋ก ํํํ๊ธฐ SELECT D.last_name, D.hire_date FROM employees E, employees D WHERE E.department_id = D.department_id AND E.last_name = 'Zlotkey' AND D.last_name 'Zlotkey' #2 SELECT employee_id, last_name FROM employees WHERE sa..
2024.04.19 20:22 -
[Database] SQL Assignment 5
#1 SELECT MAX(salary) "Maximum", MIN(salary) "Minimum", SUM(salary) "Sum", AVG(salary) "Average" FROM employees #2 SELECT job_id, MAX(salary) "Maximum", MIN(salary) "Minimum", SUM(salary) "Sum", AVG(salary) "Average" FROM employees GROUP BY job_id #3 SELECT job_id, COUNT(employee_id) FROM employees GROUP BY job_id -- COUNT(*) : ๊ฐ ๊ทธ๋ฃน์ ํฌํ ์๋ฅผ count #4 SELECT COUNT(COUNT(MANAGER_ID)) "Number of mana..
2024.04.19 17:21 -
[Docker] M1 Docker-machine Error, Ubuntu ์ค์น
์ค๋ ์ฒ์์ผ๋ก m1 ์ ์ ๊ฐ ๋ ๊ฒ์ ํํํฉ๋๋ค ..ย https://github.com/docker/machine/releasesย Releases ยท docker/machineMachine management for a container-centric world. Contribute to docker/machine development by creating an account on GitHub.github.com์ ๋ ์๊น๋ฆฌ๋๋ผ๊ณ ์ ^^* . .ย ๋๋ฌผ์ ๋จธ๊ธ๊ณ ์ฐ๋ถํฌ ์ค์น r rย ย ย ย ย ย ย ย ย ย ย https://velog.io/@suzu11/Mac-M1-์์-์ฐ๋ถํฌ-์ค์นํ๊ธฐ-UTMย Mac M1 ์์ ์ฐ๋ถํฌ ์ค์นํ๊ธฐ ( UTM )๐ง ์ฐ๋ถํฌ๋ฅผ ๊น๊ธฐ ์ํ ์ฌ์ ๐งvelog.ioย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ..
2024.04.17 20:54 -
[Docker] CI/CD with Jenkins
๋์ปค์์ ์ ํจ์ค๋ฅผ ํ์ฉํ์ฌ CI/CD ์ฒดํํ๊ธฐ https://www.jenkins.io Jenkins Jenkins โ an open source automation server which enables developers around the world to reliably build, test, and deploy their software www.jenkins.io https://hub.docker.com/r/jenkins/jenkins Docker hub.docker.com * ์ฃผ์์ฌํญ - ํฐ๋ฏธ๋ ์์์ ํ์๋๋ key ๊ฐ์ ์ ์ฅํด๋ก๋๋ค. - ์ดํ ๋ก๊ทธ์ธ์ admin(ID)๊ณผ key ๊ฐ(๋น๋ฐ๋ฒํธ)๋ก ์งํ๋ฉ๋๋ค. - ๋์ผํ ํฌํธ๋ก ์ปจํ ์ด๋๋ฅผ ๋์ธ ์ ์์ผ๋, ํฌํธ ๋๋ฒ๋ฅผ ์์ ํด์ค๋๋ค. - ์์ดํ ํฌํธ..
2024.04.16 01:25 -
[FreeBSD] Design Overview of FreeBSD
The kernel ์ปค๋์ด๋? The kernel is the part of the system that runs in protected mode and mediates access by all user programs to the underlying hardware (e.g., CPU, keyboard, monitor, disks, network links) and software constructs (e.g., filesystem, network protocols). The kernel provides the basic system facilities; it creates and manages processes and provides functions to access the filesystem an..
2024.04.13 09:57 -
[2024 GDSC] Google Solution Challenge Certification
Wetox "Your detox mate, Wetox" GDSC-Hongik Project # Youtube https://www.youtube.com/watch?v=6Hqv1hoxDm8 # Git-hub https://github.com/GDSC-Wetox/Wetox-iOS GitHub - GDSC-Wetox/Wetox-iOS: GDSC-Hongik Wetox iOS GDSC-Hongik Wetox iOS . Contribute to GDSC-Wetox/Wetox-iOS development by creating an account on GitHub. github.com # ํ๊ณ โ๏ธ ๊ฐ์ธ์ ์ผ๋ก ๋ง์ด ์ฑ์ฅํ ์ ์์๋ ํ๋ก์ ํธ์๋ต๋๋ค :) ํ์๋ค ํ์ ๋ถ์๊ธฐ๋ ๋๋ฌด ์ข์๊ณ , ๋ ๋งค์ผ๋ฐค ๋ฐ์ผ๋ฆฌ ์คํฌ๋ผ์ ..
2024.04.11 14:46 -
[Docker] Docker Compose
2024. 04. 08 Monday * Down ์ ์ฃผ์ ๊ผญ yml ํ์ผ์ด ์๋ ์์น์์ ๋ช ๋ น์ด๋ฅผ ์คํํด์ผ ํ๋ค. curl http://localhost:8000 * Docker Compose - ๋ ์ด์์ ์ปจํ ์ด๋๋ฅผ ๋ค๋ฃฐ ์ ์๋ค! https://docs.docker.com/compose/compose-application-model/ How Compose works Understand how Compose works and the Compose application model with an illustrative example docs.docker.com
2024.04.08 20:57 -
[Database] SQL Assignment 4
#1. SELECT last_name, department_id, department_name FROM employees NATURAL JOIN departments -- department_id๊ฐ ๋์ผํ๊ธฐ ๋๋ฌธ์ NATURAL JOIN (32๊ฐ) -> ํ๋๋ฅผ ์์ ๋ฒ๋ฆฐ๋ค. -- But departments_id ๋ฟ๋ง ์๋๋ผ, manager_id๊ฐ ๊ฐ๊ธฐ ๋๋ฌธ์ (์๋ก ๋ค๋ฅธ ์๋ฏธ, ๋์ ์ฌ์ vs ๋ถ์์ฅ), natural join์ ํ๋ฉด ํ๋ฆผ select e.last_name, e.department_id, d.department_name from employees e INNER JOIN departments d on (e.department_id = d.department_id) -- 106๊ฐ ๊ฐ์ด ๋ค๋ฅด๋ค..
2024.04.02 22:25 -
[Database] SQL Assignment 3
1. ํ์ฌ ๋ ์ง๋ฅผ ํ์ํ๋ ์ง์๋ฅผ ์์ฑํ๊ณ ์ด ๋ ์ด๋ธ์ Data๋ก ์ง์ ํ์ญ์์ค. SELECT sysdate as "Date" FROM DUAL -- from ์ ์ ๊ผญ ์จ์ผ ํ๋๊น, dummy table๋ก DUAL ์ ๊ณต 2. ๊ฐ ์ฌ์์ ๋ํด ์ฌ์ ๋ฒํธ, ์ด๋ฆ , ๊ธ์ฌ ๋ฐ 15% ์ธ์๋ ๊ธ์ฌ๋ฅผ ์ ์๋ก ํ์ํ์ญ์์ค. ์ธ์๋ ๊ธ์ฌ ์ด์ ๋ ์ด๋ธ์ New Salary ๋ก ์ง์ ํ์ญ์์ค. SELECT employee_id, last_name, salary, (salary * 1.15) AS "New Salary" FROM employees 3. ์ด๋ฆ์ด J, A๋๋ M์ผ๋ก ์์ํ๋ ๋ชจ๋ ์ฌ์์ ์ด๋ฆ(์ฒซ ๊ธ์๋ ๋๋ฌธ์๋ก, ๋๋จธ์ง ๊ธ์๋ ์๋ฌธ์๋ก ํ์) ๋ฐ ์ด๋ฆ ๊ธธ์ด๋ฅผ ํ์ํ๋ ์ง์๋ฅผ ์์ฑํ๊ณ ๊ฐ ์ด์ ์ ํฉํ ๋ ์ด๋ธ์ ์ง์ ..
2024.04.02 14:42 -
[Database] SQL Assignment 2
SQL: Restricting and Sorting Data 1. ๊ธ์ฌ๊ฐ $12,000๋ฅผ ๋๋ ์ฌ์์ ์ด๋ฆ๊ณผ ๊ธ์ฌ๋ฅผ ํ์ SELECT last_name, salary FROM employees WHERE salary >= 12000; 2. ์ฌ์ ๋ฒํธ๊ฐ 176์ธ ์ฌ์์ ์ด๋ฆ๊ณผ ๋ถ์ ๋ฒํธ๋ฅผ ํ์ SELECT last_name, department_id FROM employees WHERE employee_id = 176; 3. ๊ธ์ฌ๊ฐ $5,000์์ $12,000 ์ฌ์ด์ ํฌํจ๋์ง ์๋ ๋ชจ๋ ์ฌ์์ ์ด๋ฆ๊ณผ ๊ธ์ฌ๋ฅผ ํ์ SELECT last_name, salary FROM employees WHERE salary = 12000 4. 2007๋ 2์ 20์ผ๊ณผ 2007๋ 5์ 1์ผ ์ฌ์ด์ ์ ์ฌํ ์ฌ์์ ์ด๋ฆ, ์ ๋ฌด..
2024.04.01 23:42 -
[Docker] Dockerfile build & image push
2024. 04. 01 Monday # ๋ช ๋ น์ด ls -al ls -al ๋ฐฉ์์ ๊ฐ์ฅ ๋ง์ด ์ฌ์ฉํ๋ค. ls -al/home/ ๊ณผ ๊ฐ์ด ์ถ๋ ฅํ๊ณ ์ถ์ ๋๋ ํ ๋ฆฌ๋ฅผ ์ง์ ํ ์ ์๋ค. docker container ls ์๋ฌด๊ฒ๋ ์ ๋ธ ์คํ์ค์ธ ๊ฒ๋ง ๋ณด์ฌ์ค๋ค docker container ls -a (โall) About a minute ago py3 ์คํ์ด ์ค์ง๋ ์ปจํ ์ด๋๊น์ง ๋ค ๋ธ docker build -t myapp . current directory๋ฅผ ์๋ฏธํ๋ ์ (.) docker run -it --rm --name py3 myapp Hello, World! ์ฌ๋ฌ ์ปจํ ์ด๋๊ฐ ์์ ๋, ์ปจํ ์ด๋๋ฅผ ๋ฉ์ถ ๊ฒฝ์ฐ docker container ls -a -q ๋งจ ์์ ๋์๋ง ์ถ๋ ฅ๋จ (CONTAINER ID) ..
2024.04.01 22:59