List type for fast queryable queue?
Trying to figure out what I should use to hold a databuffer queue.
Basically will be logging data that another service needs to grab records from occasionally. So would basically be a timestamp + array of values (constant size) that would need to have new records added/removed very quickly (say 10ms or less on cycle). The other service would send timestamp for last value it received and ask for say X number of records after it so would need to query that buffer.
Thinking maybe regular Queue<T> would be OK since query is less often and not as performant required but just wondering if there's maybe something out there I haven't found yet.
Thanks!
0 comments:
Post a Comment