본문 바로가기

분류 전체보기

(313)
(스크랩) CPU Bound process? I/O Bound process? (feat. burst) https://jhnyang.tistory.com/25 [운영체제]CPU burst VS I/O burst 운영체제 목차 CPU burst VS I/O burst 프로세스는 CPU burst와 I/O burst가 왔다 갔다 왔다 갔다 서로 바뀌면서 프로그램을 실행합니다. CPU burst는 말 그대로 CPU 명령을 실행하는 것을 말하고 I/O burst는 I/.. jhnyang.tistory.com https://m.blog.naver.com/zxwnstn/221818143358 4. Process Scheduling(1) - IO and Cpu burst 일반적으로 프로세스는 화면에 결과를 출력하거나, 다른 파일로 부터 정보를 읽어오는 IO작업과 결과를 ... blog.naver.com https://..
(스크랩) ★★★동시성(Concurrency) 과 병렬성 (Parallelism) 올바른 개념 잡기 (feat. 코루틴) https://vagabond95.me/posts/concurrency_vs_parallelism/ 동시성(Concurrency) 과 병렬성 (Parallelism) 올바른 개념 잡기 - 기록은 기억을 지배한다 처음에 접하면 항상 헷갈리기 쉬운 동시성(Concurrency) 과 병렬성(Parallelism) 에 대해 정리해보고자 한다. 시간으로 풀어보기 동시성과 병렬성은 각 작업이 진행되는 시간의 관점에서 살펴봐야 올바 vagabond95.me 처음에 접하면 항상 헷갈리기 쉬운 동시성(Concurrency) 과 병렬성(Parallelism) 에 대해 정리해보고자 한다. 시간으로 풀어보기 동시성과 병렬성은 각 작업이 진행되는 시간의 관점에서 살펴봐야 올바르게 이해할 수 있다고 생각되었다. 우선 위키에서 정..
(스크랩) 멀티 프로세스 vs 멀티 스레드 https://velog.io/@dailyhyun/%EB%A9%80%ED%8B%B0-%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-vs-%EB%A9%80%ED%8B%B0-%EC%8A%A4%EB%A0%88%EB%93%9C 멀티 프로세스 vs 멀티 스레드 하나의 응용 프로그램을 여러 개의 프로세스로 구성하여 각 프로세스가 하나의 작업(테스크)을 처리하도록 하는 것 velog.io https://velog.io/@nnnyeong/OS-%EB%A9%80%ED%8B%B0%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-%EB%A9%80%ED%8B%B0%EC%8A%A4%EB%A0%88%EB%93%9C-%EB%A9%80%ED%8B%B0-%ED%94%84%EB%A1%9C%EA%B7%..
(스크랩) FastAPI 에서 non-async 함수 비동기로 처리하기 https://keyhyuk-kim.medium.com/fastapi-%EB%8A%94-non-async-%ED%95%A8%EC%88%98-%EB%B9%84%EB%8F%99%EA%B8%B0%EB%A1%9C-%EC%B2%98%EB%A6%AC%ED%95%98%EA%B8%B0-8e3345a69517 FastAPI 에서 non-async 함수 비동기로 처리하기 FastAPI는 requests와 같은 non async 라이브러리도 async하게 실행시켜줍니다. keyhyuk-kim.medium.com
(스크랩) 엑셀 홀수행 또는 짝수행 한꺼번에 삭제(선택) https://wjdtmddnjs6788.tistory.com/668 [엑셀] 짝수행 (혹은 홀수행) 한꺼번에 삭제하는 방법 엑셀을 사용하다보면 필요없는 데이터를 지우려고하는데 그 데이터가 짝수행 혹은 홀수행에만 있는경우가 있습니다. 이럴때 짝수행 혹은 홀수행만 지정하여 삭제하는 방법이 있습니다. 이번에 wjdtmddnjs6788.tistory.com
(스크랩) 뭐든지 제대로 이해하는 방법 (feat. 파인만) https://youtu.be/sQYQgiHVyAM
(스크랩) 파이썬 로깅의 모든 것 https://hamait.tistory.com/880 파이썬 로깅의 모든것 파이썬 로깅의 모든것 파이썬 로깅에 대한 "모든것은" 사실 낚시구요. ㅎㅎ (유희열이 진행했던 All that music 이라는 라디오 프로그램에서 내가 좋아하는 국악이나 시부야계는 거의 나오지도 않 hamait.tistory.com https://docs.python.org/3/library/logging.handlers.html logging.handlers — Logging handlers — Python 3.10.2 documentation Source code: Lib/logging/handlers.py The following useful handlers are provided in the package. Note t..
(스크랩 ) ★★ sqlalchemy async session execute 'where', 'order by', 'limit' (feat. Top N & Bottom N 쿼리) async def get_biggest_cities(session: AsyncSession) -> list[City]: result = await session.execute(select(City).order_by(City.population.desc()).limit(20)) return result.scalars().all() where까지 붙이면, 아래처럼 하면 될듯 async def get_biggest_cities(session: AsyncSession) -> list[City]: result = await session.execute(select(City).where(City.name == 'seoul').order_by(City.population.desc()).limit(20)) return..