Risto
Member since Mar 5, 2015
- Profile: /members/12561-risto.htm
- Comments: 6
Recent Blog Comments By Risto
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on May 18, 2016 at 6:17 AM
@Abdul, Hello, well the SQS problem is that it's not meant for fast org large amount messages handling. You also could consider other options like Kafka/Amazon Kinesis. Why so? You pay also for polling, if the poll time gets too small you make too many poll requests. That's why I suggested using si... read more »
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on May 17, 2016 at 11:12 AM
@Abdul, Good question, you don't need a separate module for that there is already cluster module. The polling would remain same, you need to use cluster workers to consume messages faster.... read more »
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on Jun 17, 2015 at 2:59 AM
@Ben Nadal True, since the last post on Mar 28, the io.js version has already changed from 1.6 to 2.3. The TLS memory leaks seems to have fixed and currently running similar approach has no problems.... read more »
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on Mar 28, 2015 at 3:41 PM
@Ben Nadel About the memory leak some of you may have received e-mail from Amazon which explained which aws-sdk versions had memory leak with SQS module. With the latest versions this should be fixed. Also the depending of your node version the tls still has some memory leaks, I am using now the lat... read more »
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on Mar 5, 2015 at 3:45 PM
@Ben, True, the resources are never freed up as the memory usage gets higher, so be careful if you are running the queue polling in limited memory environments like Heroku etc. I made quick benchmark, removed all the unnecessary abstractions and other Node modules which are not needed. Example i... read more »
-
Shedding The Monolithic Application With AWS Simple Queue Service (SQS) And Node.js
Posted on Mar 5, 2015 at 8:03 AM
Well written article, you should have written this two weeks earlier than I wouldn't reinvent similar queue handling. I got actually similar solution for the queue handling, only the problems comes with memory leaking. I am using the heroku worker dyno to run my example, but it takes about one day t... read more »