Skip to content

A Software Engineer's Journal

A life spent making mistakes is not only more honourable, but more useful than a life spent doing nothing – George Bernard Shaw

Primary Menu
  • Blog
  • My Website

NodeJs

A small hack to figure out our code problem with Async Queue

Posted on February 11, 2019April 4, 2023 by tankala

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

Posted In Node.js, Software LanguagesTagged In Async, JavaScript, NodeJs, Queue

Redis Hashmaps or Hashes example in Node.js

Posted on January 9, 2019April 4, 2023 by tankala

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

Posted In Node.js, Software LanguagesTagged In Cache, NodeJs, Redis

Handling Big Numbers/Integers in Node.js at the time of Cassandra full table scan

Posted on September 8, 2018April 4, 2023 by tankala

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

Posted In Cassandra, Databases, Node.js, Software LanguagesTagged In Cassandra, NodeJs

How to pass a Variable or Argument to a callback function in Node.js

Posted on August 5, 2018April 4, 2023 by tankala

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

Posted In Node.js, Software LanguagesTagged In Callback, JavaScript, NodeJs

Profiling Node.js application using v8-profiler

Posted on July 28, 2018April 4, 2023 by tankala

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

Posted In Node.js, Software LanguagesTagged In ExpressJs, NodeJs, Performance improvement, V8

Review your Express.js application performance by yourself

Posted on July 21, 2018April 4, 2023 by tankala

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

Posted In Node.js, Software LanguagesTagged In ExpressJs, Middleware, NodeJs, Performance improvement

Parallelizing tasks in Node.js and Java

Posted on July 1, 2018April 4, 2023 by tankala

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

Posted In Java, Node.js, Software LanguagesTagged In Async, Java, multithreading, NodeJs

Build your static content server to serve files over HTTP using Node.js/Java

Posted on June 9, 2018April 4, 2023 by tankala

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

Posted In Java, Node.js, Software LanguagesTagged In Java, NodeJs, Spring Boot

Create a Serverless API with AWS Lambda and API Gateway

Posted on May 11, 2018April 4, 2023 by tankala

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

Posted In Node.js, Serverless, Software LanguagesTagged In AWS API Gateway, AWS Lambda, NodeJs, Serverless

Web Push Notifications or Cloud Messaging using Firebase(FCM)

Posted on May 2, 2018April 4, 2023 by tankala

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

Posted In Node.jsTagged In FCM, Firebase Cloud Messaging, GCM, Google Cloud Messaging, NodeJs

Posts navigation

1 2 Next

Recent Posts

  • My observations of the Python ecosystem
  • Debugging Flask application within a Docker container using VSCode
  • How to write your own Redis key expire listener in Python
  • My Pandas Cheat Sheet for Data Science in Python
  • Write/Convert Nested JSON data to CSV for specific/subset keys(headers)

Recent Comments

  • JS on MONITOR NGINX WITH TELEGRAF, INFLUXDB, AND GRAFANA
  • JS on MONITOR NGINX WITH TELEGRAF, INFLUXDB, AND GRAFANA
  • Sambit on How to write your own Redis key expire listener in Python
  • tankala on Write/Convert Nested JSON data to CSV for specific/subset keys(headers)
  • sandy on Write/Convert Nested JSON data to CSV for specific/subset keys(headers)

Archives

  • May 2022
  • August 2021
  • June 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • July 2019
  • February 2019
  • January 2019
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018

Categories

  • Artificial Intelligence
  • Cassandra
  • Data Science
  • Databases
  • Deep Learning
  • DevOps
  • Docker
  • Flask
  • Framework
  • Java
  • Machine Learning
  • Node.js
  • Pandas
  • PySpark
  • Python
  • Serverless
  • Software Languages
  • Spark
  • Travel
  • Uncategorized

Recent Posts

  • My observations of the Python ecosystem
  • Debugging Flask application within a Docker container using VSCode
  • How to write your own Redis key expire listener in Python
  • My Pandas Cheat Sheet for Data Science in Python
  • Write/Convert Nested JSON data to CSV for specific/subset keys(headers)

Tag Cloud

Async Beautiful Beaches Cassandra CNN code debug convert from json to csv Convolutional neural network Coorg debug Deep Learning Docker docker multi-stage ExpressJs Flask Grafana InfluxDB Java JavaScript json to csv json to csv converter Jupyter Notebook Kafka Kerala Keras Machine Learning Monitoring NodeJs OpenAI pandas groupby pandas python Performance improvement pip trends PySpark Python python ecosystem Redis redis key value expire Serverless Spark Telegraf TensorFlow Travel Unplugged Visual Studio Code VS Code
© All rights reserved | Blog by Tankala.