It's not just about inserting data fast enough, you could save the data in-memory and batch-insert them for max performance to a text file.
But time-series databases often come for certain needs, most commonly aggregation operations over time windows.