Re:Java at 30: The Genius Behind the Code That Changed Tech
by zdragnar on Saturday May 17, 2025 @11:04AM
(#44014850)
Is data access in such a project purely from in-memory sources? I suspect most people shun it because database access- especially if the DB itself is over the network on a different machine- already slow enough that ZGC / zero allocation won't be noticed.
[ Parent
| on HN ]
Re:Java at 30: The Genius Behind the Code That Changed Tech
by znpy on Sunday May 18, 2025 @04:50AM
(#44019947)
> Is data access in such a project purely from in-memory sources?
yes.
> I suspect most people shun it because database access- especially if the DB itself is over the network on a different machine- already slow enough that ZGC / zero allocation won't be noticed.
Database access, if you're talking network latency query/transaction processing time, is essentially irrespective of the language being used, so that's not a good reason to shun Java as a language/rutime anyway.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by zdragnar on Sunday May 18, 2025 @02:05PM
(#44023217)
Oh, I'm not talking about shunning Java, but the zero-allocation style of coding while using Java.
If you have the extra network latency from external services, you need some pretty outrageous traffic for GC to become a problem, I would think.