I started doing some webdev for myself. I wrote a small site for home usage (a nodejs promise based webscraper that scrapes online novels to a database and gives me better looking/styled infinity scroll view of chapters). This worked great for me at home, but then I started planning a site that I'd like to be public (some games I enjoy).My problem though is nodejs doesn't seem like a natural fit for that, at least not in the capacity I learned it where you write your own webserver in node. With how node works that seems to scale horribly or am I misunderstanding nodejs singlethreading. I know stuff like I/O etc is multithreaded but I would think that webrequests sent to node are singlethreaded so if 1000users hit it at the same time it would process 1000 requests sequentially?So is nodejs just not used as a backend? Or is it used more like extensions to another webserver? If not nodejs, what languages is common to use?
Submitted February 18, 2020 at 01:21AM by ThreeTreesTwo
No comments:
Post a Comment