Blob storage

When using lots of Silva File and Silva Image it makes sense to use ‘Blob File’ as file storage. By default Silva uses ‘ZODB File’ storage and sores files in the ZODB (Zope Database). By selecting ‘Blob File’, your files will be stored directly on the file system, and this will increase performances in this case.

Applying blob storage

In the ZMI go to the Services tab and select service_files (Silva Files Service). In the drop down menu choose the option ‘blob file’, and click the Apply button. (Fig. 1.) 

Applying blob storage

Fig. 1. Applying blob storage.

Migrating to blob storage

Go to service_files (Silva Files Service), and apply blob storage as described in the section above. After this step click the Convert all files button to finish the blob migration. (Fig. 2.)

Converting to blob storage

Fig. 2. Converting files to blob storage.

This will move all binary files, including images, PDFs, and others, out of the ZODB and onto the file system. By default they’ll be stored in the ”var/filestorage/blob” directory of your installation tree.