DEV Community

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

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

4

balalaika IT newsletter #6

Frontend

Node.js

  • Moment.js, Luxon or date-fns? Hopefully, one day there will be a built-in API that if not removes but at least reduces the need for third-party libraries to manipulate date and time. Here is a TC39 proposal for the new Temporal API that is destined to fix JS Date.
  • Nowadays almost every Node.js developer has a good understanding of the event loop principles. Yet, only some folks understand how node works from the low-level perspective. If you want to learn more about non-blocking I/O, watch this interesting talk by Sam Roberts.

Java

  • Some of java.util.concurrent.atomic classes expose #lazySet() methods which may be a significant performance win for a single writer scenario in the concurrent mode. If you are not familiar with those methods and want to understand how they differ from ordinary volatile writes take a look at this post and this one as well.
  • Everyone knows Netty, which is used as a building block in many other frameworks. One of the main reasons behind that popularity is performance. Watch this talk to learn about some optimizations inside Netty, including the "do not try this at home" ones.

General

  • Linux kernel scheduler has to make a lot of decisions and it has to make them fast. Here is a detailed explanation of how the scheduler works.
  • Writing correct concurrent code is hard, no doubts. Writing performant concurrent code is even harder. If you aim for both of these goals, read this awesome blog post that compares the costs of different concurrent primitives.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay