Using Context Manager for Profiling

Posted on Thu 24 August 2017 in Python Profiling • Tagged with profiling, with-statement, context manager, python

We needed an ability to perform profiling in one of the classes we were implementing. The class was implementing a functionality that involved heavy computations, so it was a good idea to run profiling and find out where extra time is spent.


Continue reading

Tickerplot 2.0

Posted on Sat 19 August 2017 in tickerplot • Tagged with NSE, stocks, analytics

One of our internal projects 'tickerplot' is about stock analytics. It's taking some shape and has undergone a lot of changes recently, finally an architecture is emerging out. This post describes components, which repositories they belong to and how they interface with each other.


Continue reading

On Ftrace, kprobes, tracepoints

Posted on Wed 09 August 2017 in Performance • Tagged with linux-kernel, tracing, bpf, ftrace

For a beginner, tracing infrastructure in Linux can be considerably confusing. It's easier to get lost while trying to figure out what exactly are tracing mechanisms, which ones should be used. Addition of new eBPF support for tracing has added more to it. This is just an attempt to compile what is my current understanding, with a slightly more bias towards what facilities eBPF provides, as this is the state of the art.


Continue reading

So Vector Operations Are Fast, Right?

Posted on Mon 07 August 2017 in Performance • Tagged with pandas, numpy

Recently, for one of the projects we are working on, I was looking at processing data from Pandas panel. I wanted to find out certain items in a Panel based on certain criteria on the minor axis. I worked with two flavors and the findings for different data-sets are quite interesting. Something that would definitely qualify as an interesting learning. We discuss, how profiling can be successfully used to explain certain Performance behavior, that often looks counter-intuitive.


Continue reading

Getting started with OpenContrail, Lessons Learned (Part 1)

Posted on Fri 04 August 2017 in Networking • Tagged with opencontrail, openstack, SDN, NFV

OpenContrail provides right set of abstractions for VM and Container networking. However, if one is new to OpenContrail, getting started can be an uphill task. Documenting some of the lessons learned while trying to get started with OpenContrail.


Continue reading

Hello Static Site Generator

Posted on Thu 03 August 2017 in 2017 • Tagged with pelican

Started hyphenOs blog on github pages, that is powered by Pelican. This article describes the setup.


Continue reading