简体   繁体   中英

Which database to choose for storing and reading the stats?

Which database to choose for storing and reading events or logs (ie ad requests, impressions, etc..)?

Approximately 30 new entries per second. Chance growth. It is therefore necessary flexible scaling.

Elasticsearch? InfluxDB? Something else?

events or logs ? => Elasticsearch

https://www.elastic.co/products/elasticsearch :

Elasticsearch builds distributed capabilities on top of Apache Lucene to provide the most powerful full- text search capabilities available.

As far as I know, you can't write strings into InfluxDB. It is a timeseries DB with math functions on numbers (min/max/average/last/...). So it can't works with text

InfluxDB is a reasonable solution for your needs, and it handles text just fine. There are no text-based functions, however, only math functions. That said, for only 30 points per second it might be overkill. You don't need the performance capabilities of InfluxDB, so a more mature solution might fit your use case better.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM