Best of ComputingAugust 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·4y

    How To Use Multithreading in Node.js

    Since JavaScript is single-threaded, it blocks the main thread and no other code executes until the task completes. To understand this, you will create a Node.js program with an infinite loop so that it doesn’t exit when run. Using nano or your preferred text editor, create and open the process.js file: nano process.

  2. 2
    Article
    Avatar of infoworldInfoWorld·4y

    If Heroku is so special, why is it dying?

    A golden age of developer experience Heroku is back in the news because it recently announced the elimination of its free tier. Why is Kubernetes and not Heroku the increasingly default way to build and scale applications? Some suggest Heroku was simply ahead of its time.

  3. 3
    Article
    Avatar of hnHacker News·4y

    6 Docker Compose Best Practices for Dev and Prod

    Docker Compose is a tool for defining and running multi-container Docker applications. It allows you to bring up and link multiple containers into one logical unit. If you want to use Docker containers, you create one container that listens on an unused port on your machine. The alias will give it precedence when two services could share a Dockerfile and a code base but have some slight variations.

  4. 4
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    How to Improve AWS Performance Without Spending More Money

    AWS has a concept of an EC2 Compute Unit (ECU) which is their way of abstracting away having to think about the servers your application is running on. The idea is that AWS provides you with a baseline CPU utilisation beyond which you pay for the CPU time you consume.