Generation and Simulation

Generating star clusters and simulating the forces acting in them seemed like a good way to learn a lot of new programming concepts. You can find many of the results on this page and read the blogpost I update regularly by clicking on the button below.

Read the Blogpost!
Documentation

Writeup

Feb 3 2019

The complete project is documented so that everybody can access and use it a a reference for other projects.

Read the writeup
Tech

Code

Feb 3 2019

The simulator is completely writting in go and can be found in the git.

Read the code
Tech

Generator

Feb 3 2019

The generator generates stars using the NFW profile.

Read the code
Storage

Database

Feb 3 2019

A PostgreSQL database is used to store the stars.

Read the code
Tech

Manager

Feb 3 2019

The manager container distributes the stars that need to be processed by providing them to the simulation services.

Read the code
Tech

Simulator

Feb 3 2019

The simulator continer gets stars from the manager, calculates their new position and inserts them into the next timestep.

Read the code
Load balancing

Traefik

Feb 3 2019

Routing traffic is done using Traefik, "A reverse proxy / load balancer that's easy, dynamic, automatic, fast [...]"

Read the code
Monitoring

Grafana + Prometheus

Feb 3 2019

The metrics are pushed to prometheus and displayed in a nice dashboard using grafana.

Read the code
Visualizing

Manager

Feb 3 2019

The manager container distributes the stars that need to be processed by providing them to the simulation services.

Read the code