DEV Community

Cover image for balalaika IT newsletter #4
Andrey Goncharov for balalaika IT

Posted on • Edited on • Originally published at blog.balalaikait.com

1

balalaika IT newsletter #4

Frontend

Node.js

  • Sad to say it, but it looks like hapi.js project is reaching its end. If you happen to use hapi.js, you should consider switching to another web framework in the nearest future.
  • As of v7 npm support both yarn.lock and package-lock.json. Here is a great read on npm v7 treats them and about the future of npm dependency resolution algorithms.

Java

  • HotSpot JVM has tons of optimizations all over the place. For instance, even the default hashCode() hides some secrets. Learn more about this optimization here.
  • As an interesting follow-up, you might want to take a look at the j.l.String#hashCode() implementation which caches the hash code in a non-volatile hash field. This optimization was described in the Java Concurrency in Practice book here and here. Do not do it at home!
  • If you are not familiar with the history behind Generics, which have a controversial reputation in Java community, you should read this post from Brian Goetz.

General

  • Jepsen team recently did an analysis of RedisRaft, a new module that provides strict serializability for Redis. As usual, some issues were found. As usual, some promises of fixes were made.

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay