Search
Duplicate
๐Ÿ“ฝ๏ธ

connection pool

โ€ข
Connecting: (3)
โ€ข
Sending query to server: (2)
โ€ข
Parsing query: (2)
โ€ข
Inserting row: (1)
โ€ข
Inserting index: (1)
โ€ข
Closing: (1)
๊ฐ€๋Šฅํ•œ connection์ด ์กด์žฌํ•˜์ง€ ์•Š์„ ๋•Œ
๋งŒ์•ฝ์— ๊ฐ€๋Šฅํ•œ Connection์ด ์กด์žฌํ•˜์ง€ ์•Š์œผ๋ฉด HandOffQueue๋ฅผ Polling ํ•˜๋ฉด์„œ ๋‹ค๋ฅธ Thread๊ฐ€ Connection์„ ๋ฐ˜๋‚ฉํ•˜๊ธฐ๋ฅผ ๊ธฐ๋‹ค๋ฆฝ๋‹ˆ๋‹ค. ์ด๋ฅผ ์ง€์ •ํ•œ TimeOut ์‹œ๊ฐ„๊นŒ์ง€ ๋Œ€๊ธฐํ•˜๋‹ค๊ฐ€ ์‹œ๊ฐ„์ด ๋งŒ๋ฃŒ๋˜๋ฉด Exception์„ ๋˜์ง‘๋‹ˆ๋‹ค.