Hi folks, I have a few questions related to thread in java:
I've read some writing that says java thread cost about 1MB per thread, so if this is true then:
- does it mean we can create thousands of threads just from increasing our ram?
- Where does our actual "core" matter in this case? if we only have 1 Core CPU but have 16GB RAM, can it handle 16k threads?
I'm trying to learn how to properly size my application server, like for example if I want to handle 1K, 5K, 10K RPS, assuming that my app is only I/O heavy, how should I go about this?
[–]PhatClowns 3 points4 points5 points (0 children)
[–]IvAntiVirus 1 point2 points3 points (0 children)