`Bidding` has to retain realtime updates in order to provide realtime data to the participants of said bid. IMHO, you don't want varnish caching this value at all.
What I would consider is caching the page as per normal, but consider using esi or javascript to pull in the values of what the current bid is. This allows you to retain caching most of the page, while controlling the truly dynamic parts of your page that must be shown in realtime. ~Paul On Tue, Sep 25, 2012 at 03:58:18PM -0400, S Ahmed wrote: > An ebay listing page is a page that will have many reads, and at the > same time it will experience a high load of updates also. > > So someone lists an item on ebay, and people will keep checking the > page constantly, but near the end of the listing people will start > bidding on the page (invalidating the cache). > > So whenever someone bids, I would write that to a queue, and then I > would somehow send a call to varnish to expire the page correct? > > This could result it many calls to varnish per second, is there a > reasonable # of requests per second that varnish can handle? 10 per > second, 100, 1000? > > Is there a better way to do this? > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc ________________________________ This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
