Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> 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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: