I used the Async Queue several times. It was always easy peasy. Recently when I am using for one use case faced a problem. I searched to find the solution didn’t find anything useful so finally figured out the problem Continue Reading
Node.js
Redis Hashmaps or Hashes example in Node.js
I always used Redis as plain Hashmap where keys and values are just strings. Slowly I forgot Redis supports a couple data types (Lists, Sets, Sorted Sets, Hashes) until one of our Real-time machine learning prediction application gave trouble due Continue Reading
Handling Big Numbers/Integers in Node.js at the time of Cassandra full table scan
Right now around 100 Gigabytes of data gets generated related to user activities at our company’s different applications/products. The product which I am working on basically consumes all of that and gives insights about users behavior and also helps to Continue Reading
How to pass a Variable or Argument to a callback function in Node.js
Recently I was taking Node.js classes for company’s training batch. I was explaining about the code reusability & callback functions at that time. At that time came across an interesting problem due to the assignment I gave to them. The Continue Reading
Profiling Node.js application using v8-profiler
As I mentioned in my previous article we are working on an application where 1ms extra CPU consumption per request is also a big deal. Adding profiler wrapper and getting the trace is ok up to one level but you Continue Reading
Review your Express.js application performance by yourself
As Mentioned in my previous articles we are working on an application which processes around 25000 requests per minute. We use only 2 core CPU machine to receive these many requests and push it to Kafka. We are confident that Continue Reading
Parallelizing tasks in Node.js and Java
Recently we built a Deep Learning model for predicting whether a user who came to our sites buy a car or not if yes then which model. It is giving good results with test data. So we thought let’s do Continue Reading
Build your static content server to serve files over HTTP using Node.js/Java
When I am writing code & testing it for my last article I came across below problem. URL scheme must be “http” or “https” for CORS request This error came because of the below code. model = await tf.loadModel(‘model.json’); In Continue Reading
Create a Serverless API with AWS Lambda and API Gateway
We are using grafana, influxdb & telegraf for server monitoring. Everything going great we are getting email alerts also if something goes wrong thanks to Grafana Alerting Engine. Recently we missed a couple of server alerts when we discussed with Continue Reading
Web Push Notifications or Cloud Messaging using Firebase(FCM)
Recently I think almost everyone whoever using GCM for web push notifications got mail by saying Google has deprecated GCM and The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. Migrate Continue Reading