Re:Mistakes Beginners Make When Working with Databases
by dalyons on Thursday June 09, 2016 @01:49AM
(#11867772)
Varnish will actually hold those 100 connections open while it dispatches 1 single request to the backend. When that request returns (assuming the cache control headers allow it), it will serve that one response to all 100 requestors. It's a very powerfull tool for anything that's even slightly cachable.
Re:Mistakes Beginners Make When Working with Databases
by brianwawok on Thursday June 09, 2016 @09:16AM
(#11869133)
If your site has 1 varnish, if your site has 20 varnishes it would do 20 connections.
What if 100 people hit the page at the same time for an uncached image?
I am not saying it can't be done, just having trouble figuring out the benefits.. its easier to store an image in cloud storage over in a database... and cheaper.. and less bug prone...