Great charts for analytics

d3 is one of the most popular chart framework. It provides lots of chart and visualization tools to present your data.

d3 is one of the most comprehensive charting library as you can see in the examples.

Chart.js is another popular one. It is pretty straightforward to use with enough functionality and options.

echarts is yet another popular option.

There are other commercial solutions provided by amcharts, devexpress, telerik.

Log all the things

Today is logging day. I have published couple more posts about logging. This is yet another one.

The Log: What every software engineer should know about real-time data’s unifying abstraction

“You can’t fully understand databases, NoSQL stores, key value stores, replication, paxos, hadoop, version control, or almost any software system without understanding logs; and yet, most software engineers are not familiar with them.”

“So, a log is not all that different from a file or a table. A file is an array of bytes, a table is an array of records, and a log is really just a kind of table or file where the records are sorted by time. ”

“The two problems a log solves—ordering changes and distributing data—are even more important in distributed data systems. Agreeing upon an ordering for updates (or agreeing to disagree and coping with the side-effects) are among the core design problems for these systems. ”

Great article. Read on..

Real-time crash reporting for your web apps

I have been developing software for over a decade now. Even though I use some sort of logging package in my projects, I always felt that I will miss would miss something to capture error or exceptions. Enter sentry.

Sentry is a real time crash and exception reporting system. It is open source and can be found on github.

I have deployed an instance on premise, installation and configuration was easy. It is awesome that it supports many platforms and frameworks, you can use it for anything.

We have integrated our applications to sentry and turned out there are exceptions happening that we weren’t aware of.

Sentry is a scalable system as well, it works with redis, and postgres behind nginx. Different backend storages can be configured.