ComputerScience(120)
-
[์๋ฃ๊ตฌ์กฐ] ๊ธฐ๋ง๊ณ ์ฌ Summary
# 7. Recursion - ์ฌ๊ท ํธ์ถ – ํธ์ถ๋ ํจ์๊ฐ ํธ์ถํ๋ ํจ์์ ๋์ผํ ํจ์ ํธ์ถ -> ์ฆ ์๊ธฐ ์์ ์ ํธ์ถ - ๋ฌดํ ํจ์ ํธ์ถ(๋ฌดํ ์ฌ๊ท) ํผํด์ผ ํจ -> ํ์ถ ์กฐ๊ฑด ์ง์ - recursion์ ๋ฐ๋ณต๋ฌธ(iteration)์ ๋นํด ์๋๊ฐ ๋๋ฆฌ๋ค. - ๊ฐ ์ฐ์์ ์ธ ์ฌ๊ท ํธ์ถ์ ์๋ต์ด ์๋ ค์ง ์ํฉ(๊ธฐ๋ณธ ์ํฉ)์ ๋ ๊ฐ๊น์ด ๋ค๊ฐ๊ฐ์ผ ํจ - ๊ธฐ๋ณธ ์ฌ๋ก, base case: ๋ต์ด ์๋ ค์ง (์ฌ๊ท ์์ด ํํ๋ ์ ์๋) ๊ฒฝ์ฐ -> ํจ์์์ ๋น ์ฌ๊ท์ ์ธ ๋ฐฉ๋ฒ์ด ์๋? - ๊ฐ ์ฌ๊ท ์๊ณ ๋ฆฌ์ฆ์๋ ํ๋ ์ด์์ ๊ธฐ๋ณธ ์ฌ๋ก์, ์ผ๋ฐ ์ฌ๋ก(general case, ์ฌ๊ท ๊ตฌ๋ฌธ)๊ฐ ์์ด์ผ ํ๋ค. // solution๊น์ง ์ฌ๋ฐ๋ฅด๊ฒ ๋๋ฌํ ์ ์๋์ง ์๊ฐํด์ผ ํจ + base case๊ฐ ๊ผญ ํ๋์ผ ํ์๋ X -> ex) Qui..
2023.07.21 -
[์ด์์ฒด์ ] ๊ธฐ๋ง๊ณ ์ฌ Summary
9. main memory - memory management ๋ชฉํ – provide a convenient abstraction for programming (์ธํฐํ์ด์ค) - Batch programming – program์ด ์ง์ physical address๋ฅผ ์ฌ์ฉํ๋ค. - process ํ๋๋ง ์๋ ์์ ์๋ ์๊ด ์์์ -> multiple process – ๋ฉ๋ชจ๋ฆฌ ๊ด๋ฆฌ์ ํ์์ฑ ๋ฐ์ - ๋ฌธ์ ์ 1) multiple process 2) ๋ฉ์ธ ๋ฉ๋ชจ๋ฆฌ๋ณด๋ค ํฐ ํ๋ก์ธ์ค (ex) ๊ฒ์) -> Virtual memory ๋ฑ์ฅ : process ๋ด๋ถ์์๋ virtual, logical address ์ฌ์ฉ, ์ค์ RAM์ ์ฃผ์๋ physical address - secondary storage, memory๋ฅผ..
2023.07.21 -
[ํ์คํ] ๊ธฐ๋ง๊ณ ์ฌ Summary
1. gRPC - ํจ์๋ฅผ ํธ์ถํ์ผ๋, ๋ด ์ปดํจํฐ์ ์๋ ํจ์๋ฅผ, ๋คํธ์ํฌ๋ฅผ ํตํด ํธ์ถํ์ฌ, return ๊ฐ์ ๋๋ ค์ฃผ๋ ๊ฒ - Static linking: ์คํ ํ์ผ ์์ฑ ์ ํ์ํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๋ชจ๋ ํฌํจํ์ฌ ์์ฑ - Dynamic linking: ๋์ ๋งํน, ํจ์๊ฐ ํธ์ถ๋๋ ์์ ์ ๋์ ์ผ๋ก ๋งํน์ ํ๋ค -> ํ์ํ ๋ ๋์คํฌ์ ์๋ ํ์ผ์ ๋ฉ๋ชจ๋ฆฌ์ ์ฌ๋ ค์ ์ฌ์ฉํ๋ค. - ์ ์ ๋งํน๋ณด๋ค ์คํ ํ์ผ์ ํฌ๊ธฐ๊ฐ ์๊ณ , ์คํ ์ ์ ์ ๋ฉ๋ชจ๋ฆฌ๋ฅผ ์ฐจ์งํจ. - ์๊ฒฉ ํจ์ ํธ์ถ RPC – remote procedure call - DLL์ ๋์ผํ ์ปดํจํฐ ๋ด์ ์์ // RPC๋ ๋คํธ์ํฌ๋ก ์ฐ๊ฒฐ๋ ๋ค๋ฅธ ์ปดํจํฐ์ ํจ์๋ฅผ ํธ์ถํ๋ ๊ณผ์ - Stub ํจ์ ๋ฐ์ RPC protocol์ ๊น๋ค. ํด๋ผ์ด์ธํธ์ ์๋ฒ๋ ๋ณต์กํ ๊ณผ์ ์ ๋ชจ..
2023.07.21 -
[์ด์์ฒด์ ] Security & Cryptography 2023.06.12
-
[์ด์์ฒด์ ] Paging and Segmentation 2023.05.15
-
[์ด์์ฒด์ ] Deadlock in DBMS 2023.04.22
-
[ํ์คํ] JSON / RESTful API / CRUD
https://sohyeonkim-dev.tistory.com/171 [ํ์คํ] HTTP's streaming / Curl / SOA / Microservice HTTP Client Modules in Python Standard Libraries urllib : URL handling module URL์ ์ ๋ฌธ์ ์ผ๋ก ์ฒ๋ฆฌํ๋ python ๋ผ์ด๋ธ๋ฌ๋ฆฌ http.client : HTTP protocol client module Non-Standard Library (recommended) 3rd - party “Requests: HTTP for Humans sohyeonkim-dev.tistory.com * ์์ ์ดํด๋ณธ ๋ด์ฉ - 20๋ ์ ์๊ฐ ์์ถํ ๊ฒ SOA -> SOAP -> HTTP + XML -> m..
2023.04.19 -
[ํ์คํ] HTTP's streaming / Curl / SOA / Microservice
HTTP Client Modules in Python Standard Libraries urllib : URL handling module URL์ ์ ๋ฌธ์ ์ผ๋ก ์ฒ๋ฆฌํ๋ python ๋ผ์ด๋ธ๋ฌ๋ฆฌ http.client : HTTP protocol client module Non-Standard Library (recommended) 3rd - party “Requests: HTTP for Humans” Installation required ( pip install requests ) Elegant and simple HTTP library for Python import requests required ํด๋ผ์ด์ธํธ ์ธก์์ ์ฌ์ฉํ๋ค๋ฉด, request๋ฅผ ์ฐ์ธ์ ํ ์ค์ด๋ฉด ๋ - ์ ๋ง ์ฝ๋ค HTTP Server M..
2023.04.19 -
[ํ์คํ] HTTP request methods / Proxy Cache
Architectural Components of the Web HTTP Networking Proxy HTTP intermediaries Sit between clients and servers Web Security Application Integration Performance Optimization ์ด๊ธฐ HTTP ์น ์๋ฒ์ ์น ๋ธ๋ผ์ฐ์ ์ฌ์ด์ ์ค๊ฐ์ ๋ญ๊ฐ ์๋ค๋ ์์ด๋์ด X ํด๋ผ์ด์ธํธ์ ์๋ฒ ์ฌ์ด ํด๋ผ์ด์ธํธ์ ๋ฆฌํ์คํธ๊ฐ ์๋ฒ์๊ฒ ์ง์ ๊ฐ์ง ์๊ณ , ํ๋ก์๋ฅผ ๊ฒฝ์ ํด์ ์๋ฒ์๊ฒ ๋ณด๋ธ๋ค. ์ฌ๋ด ํ๋ก์ ์๋ฒ ํ์ฌ์์ ๋๊ฐ๋ ํธ๋ํฝ, ๋ค์ด์ฌ ๋ ์๋ค. ํ๋ก์ ์๋ฒ๋ฅผ ๊ฒฝ์ ํด์ผ ํ๋ค. web security ํ์ฌ ์ฐจ์์์ ์ ์์ ๊ธ์งํ ์ ์๋ค by proxy ์๋ฒ์์ ์จ ๊ฐ์ ๋ฐ์ด๋ฌ์ค๊ฐ ์๋์ง ๊ฒ์ฌ appli..
2023.04.18 -
[ํ์คํ] HTTP/1.1 intro / URL, TCP/IP
Web Client and Servers Basic components of the WWW INTERNET ์ปดํจํฐ๋ฅผ ์ ์ผ๋ก ์ฐ๊ณ , ์ ๊ณผ ์ ์ ์ฐ๊ฒฐํ๋ฉด ์ปดํจํฐ ๋คํธ์ํฌ๊ฐ ๋๋ค. ์ธํฐ๋ท(IP protocol)์ผ๋ก ์ด๋ค์ ์ฐ๊ฒฐํ ๊ฒ WEB ์น ๋ธ๋ผ์ฐ์ ํ๋ฉด์ ์ฑ์ฐ๊ณ ์๋ ํ๋ฉด ์น ํ์ด์ง - ์น ํ์ด์ง ๊ฐ ๊ด๊ณ -> Web ์ ๋ณด์ ์ ๋ณด๋ฅผ ์ฐ๊ฒฐํ๋ ๊ฒ ํจ์ ํธ์ถ ๊ณผ์ ๊ณผ ๊ต์ฅํ ์ ์ฌ ํด๋ผ์ด์ธํธ๊ฐ ์ ๋ณด๋ฅผ ๋ณด๋ด๋ฉด, http๊ฐ ์๋ต์ ์ค ๋ฌผ๋ฆฌํ๊ณผ ๊ด๋ จ๋ ์ฐ๊ตฌ ์๋ฃ๋ค์ ์ฃผ๊ณ ๋ฐ์ ์ ์๋๋ก ํ ๋ฒ๋์ค๋ฆฌ Resources A resource is any kind of content source Static content File system MS word file, image file, Video Clip Full ์์์ ..
2023.04.18