Geo-spatial in-memory caching using Rtree

Adam Lev-Libfeld

A long distance runner, a software architect, an HPC nerd (order may change).

Latest posts by Adam Lev-Libfeld (see all)

Having to save a lot of geo-spatial data is a task rarely one passes without being scared for one’s life. Whether you are using a DB like postGIS, an in-memory data store like geoRedis or some other tool, handling geo-spatial data usually mean using RTree. Using RTree directly can ave some very positive effects on your system performance, so we thought we’ll let you in on this industry secret. Continue reading “Geo-spatial in-memory caching using Rtree”

Geo-spatial in-memory caching using Rtree

Logging Geo-Spatial-Data to ELK from Python

Adam Lev-Libfeld

A long distance runner, a software architect, an HPC nerd (order may change).

Latest posts by Adam Lev-Libfeld (see all)

Kibana, on paper, offers a beautiful and easy way to inspect your geo data on a dashboard widget out of the box. This is all very well until you try to use that feature from python, only to find out that the Logstash lib automatically maps all of these geo-point type fields to string. Mapping in ES is no child’s play but even solving mapping issues* didn’t completely made the problem go away.

Continue reading “Logging Geo-Spatial-Data to ELK from Python”

Logging Geo-Spatial-Data to ELK from Python

Tracing Python memory leaks

Adam Lev-Libfeld

A long distance runner, a software architect, an HPC nerd (order may change).

Latest posts by Adam Lev-Libfeld (see all)

… It’s not so easy for a Python application to leak memory. Usually there are three scenarios …

Source: LShift – Tracing Python memory leaks

Just used the method in this article to solve a stochastic app crush problem for a client. How would imagine setting some global variables is more than just typing global in random places around your code base.

Link

Python + Heroku for dummies: run a ‘parasitic’ code on a new Heroku “get started” project in 5 quick steps

Adam Lev-Libfeld

A long distance runner, a software architect, an HPC nerd (order may change).

Latest posts by Adam Lev-Libfeld (see all)

disclaimer: the following assumes you are running a decent Linux distribution and you already have python and git installed. It also assumes you start off a fresh Heroku account.

enjoy, and play safe. Continue reading “Python + Heroku for dummies: run a ‘parasitic’ code on a new Heroku “get started” project in 5 quick steps”

Python + Heroku for dummies: run a ‘parasitic’ code on a new Heroku “get started” project in 5 quick steps