awhile ago i run into performance issues with two services at work, and couldn’t figure out what was causing the high response time. I had to bring out the big guns and used FlameGraphs to gain a better insight on what are the hot codepaths.Read More »What I learned from Reading Nodejs FlameGraphs
Earlier this year I participated in a hackathon in the company where I work. The idea was to transfer data from a Mongodb to a MySQL db to fulfill some business requirements. I needed to apply some transformations on the JSONs and validation. Each record was to be decomposed and normalized into multiple tables. I needed to Update or Insert a record depending on some conditions.
It became apparent to me that alot of the code I wrote could be abstracted into a library that handles most of the common logic flow. The idea kept brewing in the back of my mind until I recently realized it into a npm module I call Json-Transqlify (Json Transform Sqlify)
In this blog I hope to demonstrate some of the functionality I’ve already baked into Json-Transqlify and some of the other ideas I’m working on.Read More »Introducing Json Transqlify
Hello internet people, it’s been awhile since I shared something with you.
I came across an interesting usecase awhile ago and I think it’s worth sharing. Let’s say you are building a blog, and you need to display on the home page an excerpts foreach of the most recent articles (blog teaser). In a nutshell you have an article and you need an algorithm to generate a short description (excerpt) for it,
I can think of few approaches to tackle this problem:Read More »Generate Article Short Description
Hello there. So let’s say you are making a small NodeJS powered website or a demo, and you have created an upload page. If you are… Read More »How To Upload To Firebase Storage in Node
So I get back from work looking forward to playing something relaxing. Why not some card games? So I log into Jawaker (a famous website the provides plenty of card games that you can play with your friends or random people). I pick a card game called Trix ( I won’t go into the details of the game as that’s out of the scope of this post, but just keep in mind it’s tremendously helpful if you can count cards).Read More »Jawaker Cards Counter