Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alayek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
alayek
9y ago
You should try. I come from a traditional Java shop, and a year ago wouldn't have thought of doing anything serious with Node JS. Today, I do front-end React stuff as well as back-end servers with Node JS. I have been happy with it so
32.
▲
by
alayek
9y ago
You've hit the bull's eye! Yes, and you're also not supposed to do much computation in Node JS code. Some addition, subtraction is fine. But Array iteration, JSON encoding-decoding and similar CPU bound tasks could block the
33.
▲
by
alayek
9y ago
Other than their front-end build process, Node is also used in their user-facing servers. Basically, when your Netflix app makes a HTTP request to fetch any data from its backend servers, the request first hits a Node JS server. Something l
34.
▲
by
alayek
9y ago
Node is single threaded, in the sense that your code runs in a single thread. Your code assigns microtasks, to be executed later. Basically, if you write in Node JS, there's no concept of a thread. The thread API is not visible or acce
35.
▲
Web-App Over Slow Internet Connection
(tech-blog.flipkart.net)
2 points
by
alayek
11y ago
|
0 comments