paint-brush
Backend Development 101: Prime Numbers and Multi-threadingby@mash
709 reads
709 reads

Backend Development 101: Prime Numbers and Multi-threading

by Adam Umar8mAugust 31st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Backend Development 101: Prime Numbers and Multi-threading in NodeJS. We will try to find the prime numbers between 1 and 250 million using NodeJS' multithreading. We are trying to save time with as little as possible as possible. We could useto solve the problem which is very efficient but I wanted something that would overwork/overclock my CPU so that I could really appreciate multithreadreading for what it is. The code is a basic NodeJS program that loops from 0 to 100,000 and stores prime numbers in the Array.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Backend Development 101: Prime Numbers and Multi-threading
Adam Umar HackerNoon profile picture
Adam Umar

Adam Umar

@mash

Learning and growing.

About @mash
LEARN MORE ABOUT @MASH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Adam Umar HackerNoon profile picture
Adam Umar@mash
Learning and growing.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite