Systems | Development | Analytics | API | Testing

What's New in Rails 7

Rails 7 is just around the corner. We don't have a confirmed release date, but it is expected to be available before Christmas, so not very long to go. The latest version as of this post's publication is 7.0.0.rc1, the first release candidate. Basecamp, HEY, Github, and Shopify have all been running the Rails 7 alpha in production, so we can expect even the release candidate to be pretty stable. In this post, we will look at some of the new features and changes that Rails 7 will bring.

Multi-Thread in Node.js: What are Worker Threads?

Node.js is a free, cross-platform JavaScript runtime environment, while single-threaded in nature, executes asynchronous code using several threads in the background. Because of its design, Node.js has received a lot of flak. It seems unusual that Node.js doesn't have direct access to threads when compared to programming languages like Java, C, or Python. The worker_thread module in Node.js 11 allows us to launch many threads on a single core.

Channel global decoupling for region discovery

Ably is a platform for pub/sub messaging. Publishes are done on named channels, and clients subscribed to a given channel have all messages on that channel delivered to them. The Ably pub/sub backend is multi-region: we run the production cluster in 7 AWS regions, and channel pub/sub operates seamlessly between them.

What's new in npm 8?

I know, right? NPM 8 was released just a couple of months ago and you’re looking for a blog post that summarizes all the changes and new stuff in the new version because you want to be ahead of the curve or simply don’t want your app to crash when upgrading. You googled but nothing relevant appeared; only a document from Github blog that refers to this issue on the NPM organization.