MongoDB for historical data
A NoSQL database is required for the Traffic Visualizer's database. MongoDB is one of the most used and accepted NoSQL databases.
Historical traffic data is stored in the database so that end user may see what the traffic has been like in the past.
- Author: Otto Nordling
- Date / Version: 30.05.2023
User roles
- End user
Prerequisites / Conditions
- Technical requirements met
Use Case Diagram
Description of use case
- The user open Traffic Visualizer
- User inputs the time frame of which they wish to receive results from
- Traffic data from this time frame is fetched from MongoDB
- If available, fetched data will be visualized for the user in Traffic Visualizer
Exceptions
- No data may be available for the user specified time frame
Result
- If available, fetched data will be visualized for the user in Traffic Visualizer. If not available, nothing will be visualized.
Use frequency
- Any time the Traffic Visualizer is used
Additional information
- The number of time frames displayed at the same time is limited
Sources
This wiki-document is based on the The public administration recommendations
Thanks to the original authors.