Choosing the Right Database for Your Web Application
Learn how to choose the right database for your web application based on your project's requirements and constraints.
Welcome everyone to a new devspedia story. Today we'll be talking about time series databases, what are they, and when it can be the best choice.
A common use cases for time series databases is with autonomous driving systems, ride booking apps, delivery apps, and last mile apps.
So, time series databases are used in many services and industries around us, some of these we interact with them day to day, here's a few examples:
A time series database allows you to keep track of changes on a piece of data over time. This happens by combining some fixed and variable properties.
Let's take an example to make it clear; Let's say you've booked Uber from point A to point B. We need to keep track of your trip's path from start to end as a time series.
In a time series database, we can have this fixed property:
And this dynamic/variable property:
So since trip starts, and until trip is ended we keep sending new values (let's say every 100 meters) for the location
property, while time is passing by.
At any point of time when we send a new value, this new record is called a tag. So now we have information
Now we have a tremendous amount of very useful data! Simply because it's reflecting 1 thing (a trip) and is tied with a time series. Here's what we can do with the above data.
You're actually right! But there are a few differences between time series databases and other databases that makes it more valuable and efficient to use a time series database over a regular database for use cases as the mentioned above, here's a few below:
Time series databases have built-in operations that are time-based, which does not exist in any other type of database, that makes it easier to run powerful analysis on these data.
For the past 2 years, time series databases are the fastest growing type of database in terms of usage and popularity.
Finally, here's a list of top 20 ranking time series databases:
Time series databases are very useful when used in projects where time series is the only choice that makes sense.
Finally, thanks for reading devspedia, I love you, and see you the next time :)