Tech blog

  • Resume
  • Posts
  • About
  • ๐Ÿ˜Štest ์ œ๋ชฉ

    ๊ธ€๋‚ด์šฉ์„ ์—ฌ๊ธฐ์— ์“ฐ๋Š”๊ฒ๋‹ˆ๋‹ค. test ์†Œ์ œ๋ชฉ ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” GraphQL ์—์„œ N+1 ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•œ ์†”๋ฃจ์…˜์ธ DataLoader์— ๋Œ€ํ•œ ์†Œ๊ฐœ์™€ GraphQL ์— DataLoader๋ฅผ ์–ด๋–ค์‹์œผ๋กœ ์ ์šฉํ•ด์•ผ๋˜๋Š”์ง€๋ฅผ ์ •๋ฆฌํ•ด๋ณด๋ ค๊ณ  ํ•œ๋‹ค. N+1 ๋ฌธ์ œ N+1 ๋ฌธ์ œ๋Š” ORM์„ ์‚ฌ์šฉํ• ๋•Œ ์ฃผ๋กœ ๋ฐœ์ƒํ•˜๋Š” ์„ฑ๋Šฅ ๋ฌธ์ œ์ด๋‹ค. Post ์—”ํ‹ฐํ‹ฐ์™€ Comment

    #tag1#tag2

    2023-07-02