tjeyy / dyod22-memory-tracking

Hyrise is a research in-memory database.
https://hpi.de/plattner/projects/hyrise.html
MIT License
1 stars 0 forks source link

make memory resource manager thread-safe #3

Closed twollnik closed 2 years ago

twollnik commented 2 years ago

This includes having one TrackingMemoryResource per operator instance -> to enable concurrently active operators to interact each with their own memory resource (reduce synchronization overhead, enable future features like per-ooperator instance tracking)

Also: make sure that memory manager map manipulations are thread-safe.

twollnik commented 2 years ago

TODO: use tbb::concurrent_vector in memory manager. (this includes switching from emplace_back to push_back when creating new memory resources)