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!The complete project is documented so that everybody can access and use it a a reference for other projects.
Read the writeupThe simulator is completely writting in go and can be found in the git.
Read the codeThe manager container distributes the stars that need to be processed by providing them to the simulation services.
Read the codeThe simulator continer gets stars from the manager, calculates their new position and inserts them into the next timestep.
Read the codeRouting traffic is done using Traefik, "A reverse proxy / load balancer that's easy, dynamic, automatic, fast [...]"
Read the codeThe metrics are pushed to prometheus and displayed in a nice dashboard using grafana.
Read the codeThe manager container distributes the stars that need to be processed by providing them to the simulation services.
Read the code