Thursday 28 February 2019

My work with nodejs on sails.js vs google cloud function with raw nodejs

Hey guys. I was working on heavy computation stuff in nodejs. It was like some matching algorithm with 3000 users. The aim was with 50k users. But currently we are using that algorithm on just 3000 users. The use case is such that it will create around 90000 rows in database . Now i have to apply my algorithm of matching users on those 90000 rows. Here is my benchmark:Nodejs with sails.js took around 4 to 5 minute. We have tried every possibility and now the end result id 5 mint. Earlier it was 40 to 50 minutes.Nodejs with google cloud function. It took 15 seconds.What the hell. How is this possible. Seriously i have no answers regarding this. And i am here for the answer.

Submitted February 28, 2019 at 07:20PM by monkeyguy2017

No comments:

Post a Comment