Tag Archives: node.js

How to build a rate-limiter in JavaScript or Node.js

In this post we show how to build a rate-limiter in JavaScript or Node.js. A rate-limiter as its name suggests is used to limit the amount of traffic being sent to a server. Think of it as a dam that … Continue reading

Posted in Computers, programming, Software | Tagged , | Leave a comment

Java vs. Node.js: Performance comparison of blocking vs. non-blocking I/O

There are many online articles touting the advantages of non-blocking I/O over blocking I/O. But I wanted to see the difference for myself. So to do that, I developed an application two ways: one using Spring WebMVC + JPA which … Continue reading

Posted in Computers, programming, Software | Tagged , , , , | Leave a comment