Concurrent한 HTTP Requests가 python과 go는 어떻게 다른지 알아봅니다. multiple requets를 간단하게 go로 작성하여 직접 확인해 봤습니다. python으로는 httpx를 사용해볼 수 있겠습니다. package main import ( "encoding/json" "fmt" "log" "net/http" "sync" "time" ) type response struct { Hello string `json: "hello"` Client string `json: "client"` } func main() { defer timeTrack(time.Now(), "main") server := []string{"A", "B", "C", "D", "E"} var wg sync...
TL;DR 어느 시점에 source code에서 machine code로 compile 되는지에 따라 다르다. interpreter : runtime compiler(AOT) : runtime 전 실행속도 이식성 컴파일 시간 종류 빠름 별로 느림 go, rust, Haskel 느림 좋음 빠름(bytecode) python, ruby 보통(JIT 구현에 따라 차이) 좋음 빠름(bytecode) pypy, java Compiler VS Interpreter Compiler : 번역기 컴파일러(compiler, 순화 용어: 해석기, 번역기)는 특정 프로그래밍 언어로 쓰여 있는 문서를 다른 프로그래밍 언어로 옮기는 언어 번역 프로그램을 말한다. 특정 언어에서 특정 언어로 바꿔 주는 것 원시 코드 -> 목적 코드..
- Total
 
- Today
 
- Yesterday
 
- 위코드
 - 창업
 - HTTP/3
 - QUIC
 - HTTP/2
 - direnv
 - MSA
 - thetextbook
 - docker-compose
 - database
 - Isolate level
 - inflearn
 - buildkit
 - http
 - cka
 - go
 - user-agent
 - Python
 - gitignore
 - 원티드
 - Complier
 - web_server
 - k8s
 - Network
 - 덕타이핑
 - GitHub
 - no-op
 - Git
 - 프리온보딩
 - pytest
 
| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 |