platform
platform copied to clipboard
Big objects lazy serialization to / from disk
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.