HttpClient introduced with Java 11 is unlikely to be the best option in your app.
In the story of this blog I used WordPress, and using the WordPress comments then moved to Discus as it was better at handling spam. Then I switched this blog to GitHub with first Jekyll with markdown then finally to Hugo, this worked well enough. Then lately I’ve been a bit more displeased by the Disqus editing capability (no markdown (or asciidoc) support, no preview). More people tend to have a GitHub account than a Disqus account (for tech blogs). Also, GitHub introduced GitHub Discussions which was appealing to use with blogs.
memfd_secret in order to mitigate speculative attack by preventing the kernel from being able to peek at these memory segments. Let’s use this syscall from the JVM with the JEP-419 API.
ps with the help of one or two JVM diagnostic command.
This entry has been marinating for most of the year 2020. I should have published this opinion way earlier maybe end of 2019, but it took me time to realise I should split a bigger piece in smaller articles that hopefully made sense on their own.
If you happen to be on a read only container that doesn’t have the usual network utilities,
like netstat, ss (socket stat), lsof, etc then your only option is to leverage procfs,
however procfs displays some data in hexadecimal.
Unified logging was introduced in JDK 9, and is available for us all, in the JDK 11 LTS.
Like other great serviceability feature (jcmd or JFR) this was inspired by JRockit.