balalaika IT newsletter #12

This is our 12th newsletter. It means we are exploring the world of web development together for half a year. Said to say, but there will not be any new issues of the newsletter for a long while. This is not a goodbye, rather a see you later. In the meantime, feel free to subscribe to the personal blogs of our curators: medium.com/@apechkurov and blog.goncharov.page. Let's stay in touch!

General

  • In this post Brandon Harris shows us how to synthesize billions of rows of true time series data with an autoregressive component, and then explore it with ClickHouse, a big data scale OLAP RDBMS, all on AWS.
  • DuckDB - an embeddable database for analytical workloads.
  • Do you think mmap is faster than syscalls? Well, mmap could make your app run faster, but with strings attached. Sasha Fedorova gives us a great in-depth explanation of how it works.
  • Distributed transactions are hard to implement right. In fact, many modern databases do not even bother with supporting them. FaunaDB is not one of those, as it builds transactions on top of Calvin algorithm.

Java

  • Tiered JIT compilation can be found in multiple modern runtimes and JVM is no difference. Some time ago Rafael Winterhalter gave a nice talk on basic principles behind C2 compiler in HotSpot.
  • ForkJoinPool is available since Java 7 and used in several places within standard library, like parallel streams. It embeds many good ideas, like queue per worker and work stealing. If you are not familiar with these details, you may find them in the original paper by Doug Lea.

JavaScript

  • Monomorphism is a very important definition for JIT compilation in JavaScript (and not only - see the above Rafael Winterhalter's talk). Several years ago, Vyacheslav Egorov wrote a brilliant post to explain how V8's JIT compiler makes use of monomorphism.
  • esbuild - a new kid in the family of bundlers and minifiers. Written in Go. Claims to be extremely fast.
  • NPM 7 is out. Lots of new goodies. Read more about them here.

No Comments Yet