It is not a surprise that designing, building and maintaining huge distributed systems is no easy feat. But for me, what is surprising is the amount of knowledge of the problems that we are solving and technology tools that fall in place to enable the successful implementation of such systems.[Read more…] about Distributed systems: A glance at designing data-intensive applications
It has been a month since I started work as a new graduate.
My company, which is a new subsidiary of a bigger group, is set out to capture the consumer F&B market. It is going to be an exciting and fast-paced ride this year, as plans to incrementally roll out the system have already been proposed and the real has just begun last week.
We are all familiar with using
console.log() to log out information for debugging purposes. However, as the application grows, console.log gets littered everywhere. Also, there is formatting messaging is done manually.
Introduction to MongoDB
MongoDB is a NoSQL database that allows us to store data in other formats such as object, document, graph other than tabular relations using relational databases. As it is designed for horizontal scaling, NoSQL is increasingly used in applications that handle a huge volume of data, and real-time analytics.
Personally, I am using MongoDB out of interest, to learn a new technology and apply it to in my own side project. Like others, I followed tutorials and courses which used mongoose, a Object Document Mapper for MongoDB, to abstract nitty-gritty details away to provide a streamlined learning experience to new developers.
However, this time, I am using the native driver, in an attempt to learn to use the actual MongoDB syntax and commands.
So, the very first roadblock that I faced is to manage the connections, which mongoose already takes good care of.
While working on my internship project that uses Angular2, I had to display some data in a nice chart which provides some interactivity. After browsing around for awhile, I settled for the jQuery Sparklines pie chart.
<canvas> to draw charts(Should I use canvas or svg?), is simple and provides useful tooltip information when you hover over it.
For more info, check out the Sparklines documentation