Rate limiting

Rate limiting

  • ์›Œํฌ์ŠคํŽ˜์ด์Šค ๋ณ„๋กœ API ํ˜ธ์ถœ ํšŸ์ˆ˜ ์ œํ•œ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • ํšŸ์ˆ˜ ์ œํ•œ์€ ๋ชจ๋“  API enpoint ๊ธฐ์ค€์ด๋ฉฐ 100 ์š”์ฒญ / 10์ดˆ ์ž…๋‹ˆ๋‹ค.

  • ํ•ด๋‹น ์กฐ๊ฑด์„ ์ดˆ๊ณผํ•œ api ํ˜ธ์ถœ์ด ์ผ์–ด๋‚  ๊ฒฝ์šฐ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฉ”์‹œ์ง€๋ฅผ ๋ฆฌํ„ดํ•ฉ๋‹ˆ๋‹ค.

// HTTP Status Code 429
{
    "success": false,
    "message": "Too Many Requests"
}

Rate limiting ํ”ผํ•˜๊ธฐ

  • API ์š”์ฒญ์‹œ rate limiting ๋ฒ”์œ„๋ฅผ ์ดˆ๊ณผํ•˜์ง€ ์•Š๋„๋ก ์‹œ๊ฐ„ ๊ฐ„๊ฒฉ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

  • rate limiting ๋ฒ”์œ„๋ฅผ ๋„˜์€ ๊ฒฝ์šฐ 10์ดˆ ํ›„ ๋‹ค์‹œ API ๋ฅผ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค.

Last updated