samvera-labs / samvera-connect

Samvera Connect Program
https://wiki.duraspace.org/display/samvera/Samvera+Connect+2019
Apache License 2.0
1 stars 0 forks source link

serverless-iiif: from flail to scale in a year or less #317

Closed richardGreen closed 2 years ago

richardGreen commented 3 years ago

Michael B. Klein michael.klein@northwestern.edu Trey Pendragon, Edward Silverton

Note: the lower-case 's' in the title is deliberate

After trying to navigate deployment, configuration, performance, and scaling issues of several different image servers and support infrastructure (Cantaloupe, Aware, Riiif, nginx, and SquidCache, to name a few), we decided to see if we could build something less general/configurable but far more suited to our use case and runtime environment.

serverless-iiif started out as a bare bones, proof-of-concept demonstration of how a scalable, high-performance IIIF image server could be implemented in a small, inexpensive AWS Lambda function. Just over a year later, the project serves as the basis for high-volume IIIF services running in production at Northwestern University, Princeton University, the University of Notre Dame, and the Royal Pavilion & Museums, Brighton & Hove. This presentation will cover the project from its beginnings (as a small demo repository carved out of Northwestern's cloud repository infrastructure), through a number of forks, merges, performance enhancements, deployment improvements, and into production. We will also include performance benchmarks, current production stats, and some thoughts on future work.