Blog
$ ls -t ~/blog
Notes and posts by Hector, newest first. 4 posts
- How Java Runs: JDK, JRE, JVM, JIT and GCWhat happens between writing a .java file and running it: JDK vs JRE vs JVM, bytecode, the JIT compiler, the five JVM memory areas and the garbage collectors.
- Designing a Unique ID Generator for Distributed SystemsFour ways to generate unique IDs across many servers: multi-master replication, UUID, ticket server and Snowflake. What each costs, and why Snowflake fits.
- HashMap vs ConcurrentHashMap in JavaThe difference between HashMap and ConcurrentHashMap in Java: how each works inside, thread safety, nulls, and when to use which.
- How Computers Store and Manage Time