본문 바로가기 메뉴 바로가기

잼있는 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

잼있는 블로그

검색하기 폼
  • 분류 전체보기 (42)
    • CS (9)
    • Development (11)
    • Programming (3)
    • DevOps (5)
    • Essay (10)
    • Tutorial (4)
  • 방명록

web_server (1)
Concurrent requests in go and python

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...

Development 2021. 12. 6. 12:07
이전 1 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 원티드
  • inflearn
  • Isolate level
  • docker-compose
  • database
  • Git
  • Python
  • 창업
  • HTTP/3
  • thetextbook
  • http
  • user-agent
  • MSA
  • buildkit
  • k8s
  • go
  • QUIC
  • pytest
  • no-op
  • direnv
  • GitHub
  • web_server
  • Network
  • HTTP/2
  • 위코드
  • Complier
  • 덕타이핑
  • cka
  • gitignore
  • 프리온보딩
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바