librematch:design:architecture:start

This is an old revision of the document!


Architecture

Bright Sky pulls weather data from DWD and implements a JSON-API on top of it for its users. Their architecture looks like on the image on the right side. It's some kind of the same what we also want to achieve.

This is taken from the Official repository :

  • The brightsky worker, which leverages the logic contained in the brightsky Python package to retrieve weather records from the DWD server, parse them, and store them in a database. It will periodically poll the DWD servers for new data.
  • The brightsky webserver (API), which serves as gate to our database and processes all queries for weather records coming from the outside world.
  • A PostgreSQL database consisting of two relevant tables:
    • sources contains information on the locations for which we hold weather records, and
    • weather contains the history of actual meteorological measurements (or forecasts) for these locations.
  • A Redis server, which is used as the backend of the worker's task queue.
  • librematch/design/architecture/start.1666895220.txt.gz
  • Last modified: 4 years ago
  • by simonsan