Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Java
/
Java 21 features
A service starts one virtual thread per request, but its database accepts only 30 concurr…
from Java 21 features
Java 25 LTS
intermediate
1 min
A service starts one virtual thread per request, but its database accepts only 30 concurrent queries. What should bound database access?
A 30-permit semaphore or a 30-connection pool
A fixed pool of 30 virtual threads for the whole application
The virtual-thread scheduler automatically reads the database limit
Check
Ask AI about this kata
Report an error
previous kata
Which command proves that source uses only stable Java 21 language and Java SE APIs?
Quiz
A new version is available
Reload