[Varnish] #1034: Dual storage depending on object size
Varnish
varnish-bugs at varnish-cache.org
Wed Oct 19 15:39:05 CEST 2011
#1034: Dual storage depending on object size
------------------------+---------------------------------------------------
Reporter: gdelacroix | Type: enhancement
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: normal
Keywords: |
------------------------+---------------------------------------------------
Hi !
One of my rare problems with Varnish is choosing between storage size and
performance.
Having a large storage size means using disk.
Having good perf means using RAM storage.
Wouldn't it be possible to allow Varnish using both storage types, small
objects being stored in memory and...guess what...big objects on disk !
Small objects size limit being a startup setting.
Balancing between two Varnish instances (one on RAM, one on disk) is not
possible since we don't know the size of the object before receiving it,
but maybe Varnish could choose the right storage after fetching the
object.
To my eyes, the only bad thing in this system would be the additional work
on lookup since two storages potentially contain the object.
The best solution would be to lookup in RAM cache first (best perf for
small objects).
Would this feature be possible ? Is it already in the pipe ?
Thanks !
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1034>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list