BlocksExplorer map generator
I hope you already know one of my projects Cache Blocks Explorer. I've recently renamed it to Blocks Explorer.
For the recent contest, I've added a new feature, the ability to generate a static picture of any Cache or IRIS database. Like below. Where unique globals have a unique color. This is how looks like inside 9.5GB database. Where 1 pixel represents one block. By link on image you will get even bigger image, with more detalization.
The easiest way to generate a picture like this is to use docker.
docker run -it --rm \ -v /opt/some/database/for/test:/db \ -v `pwd`/out:/out \ daimor/blocksexplorer:iris generate 1 0 0
For Caché Database use daimor/blocksexplorer:cache
instead of daimor/blocksexplorer:iris
Instead of /opt/some/database/for/test
you should pass the path to your database.
generate
is a command and it's arguments
- Cell size - used to set size for cell which represents database's block. By default 1
- Cell space - space between cells. By default 0
- Fill - flag to display how much block fill, make sense to set if size of the cell is 10 or more. By default 0
Arguments can be omitted. If no command passed, it will start the server as is, with original UI.
If you like this project, please vote here.
Please be aware, at the moment it uses BMP format to generate a picture, so, for too big databases this picture will be very very big. With default settings 1 pixel per block, it will generate a picture with size at least 3*numberOfBlocks bytes.