Very fast cache / access data with temporary index in C #

I am coding a data intensive application in C #. Currently, the application is loading loads and timeseries loads from a remote sql server, doing a lot of calculations to create other time series, and I would like to quickly access these time servers.

Each time it has a unique identifier and should map from DateTime to anything (mostly floating, but sometimes strings, stringarray, etc.).

Do you know any library that I could use for this, giving me:

  • fast and parallel access to these time servers?
  • access to the "tree" version of these time series, search for the last date, last previous date, etc.

I had a massive parallel cache like memcached, tokyo-tyrant or redis, but I would have to store some serialized version of each timeseries to solve my problem.

Greetings!

+3
source share
2 answers

Sorry if I misunderstood something important, but would not be an obvious solution Dictionary<DateTime, object>()?

E: If there is no speech in your memory, do not pay attention to it, of course. A local database for storing information seems to be the most viable alternative if you are limited by memory.

+1
source

If you used a document database (such as RavenDB ) or a keystore, you could do this.

0

Source: https://habr.com/ru/post/1726066/


All Articles