Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Java 8 New Featureshistorical
Java 8 features and a groupingBy example that converts a List into Map<String, List>.
- Estimating Thread Pool Sizehistorical
1. Estimate the number of threads 1.1. Throughput = concurrency / response time 1.2. TPS estimation 1.3. I/O-intensive or CPU-intensive 1.4. Dark Magic 2. References
- Multithreaded Folder Size Statisticshistorical
Start three threads to calculate separately; use the final thread to aggregate the result.