As we’ve prepared to launch the Varnish API Engine, we’ve talked to customers and done a lot of testing, discovering that performance is a critical but often neglected aspect of API management. It’s no secret that API-driven development is starting to run the show in many companies and supplies the backbone of many burgeoning business development ideas. If any of that is going to work, APIs are going to have to scale to deliver on performance expectations.
You probably use Varnish already as a way to absorb traffic spikes and let your backends breathe. If you have more traffic, you add more Varnish boxes, the way you are supposed to do. BUT… there are trade-offs to this:
Anyone working with a web content management system in an enterprise environment knows caching is key, and one of the big challenges of caching is cache invalidation. Solutions exist – but not all solutions – or problems – are created equally.