platform icon indicating copy to clipboard operation
platform copied to clipboard

Big objects lazy serialization to / from disk

Open AlexKirkouski opened this issue 6 years ago • 0 comments

Now every big piece of data uploaded from client / downloaded from db server is stored on app server as is. It may give really big memory footprint. The simplest and easiest way to fix this, is to make immutable collections (ImMap, ImSet) and FileData - serializable to disk, when their size exceeds some significant limits. So on app server only some fixed amount of data will be stored, the rest of the data will be read from disk on demand.

AlexKirkouski avatar May 20 '19 14:05 AlexKirkouski