Serverless a simple idea that copying a snippet to the cloud and auto-scale.
You know we used to place the code in .php files and ftp it and call it a day. There were tons of php hosting (anyone remember Dreamhost?) that can auto-scale in some way and bill by page views.