I tried switching the Google OCR API on Tool Labs from GridEngine to Kubernetes for the webservice backend so that it would be more reliable. This resulted in the API no longer functioning and returning a 500 internal server error instead.
Looking at the error log on Tool Labs:
2016-09-21 18:48:18: (mod_fastcgi.c.2569) unexpected end-of-file (perhaps the fastcgi process died): pid: 10 socket: unix:/var/run/lighttpd/php.socket.ws-google-ocr-1 2016-09-21 18:48:18: (mod_fastcgi.c.3353) response not received, request sent: 1960 on socket: unix:/var/run/lighttpd/php.socket.ws-google-ocr-1 for /ws-google-ocr/api.php?image=https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/%E0%A6%86%E0%A6%A6%E0%A6%BF%E0%A6%AA%E0%A6%BE%E0%A6%A0_-_%E0%A6%AE%E0%A6%BE%E0%A6%9C%E0%A6%9B%E0%A7%8B%E0%A7%B1%E0%A6%BE.pdf/page15-599px-%E0%A6%86%E0%A6%A6%E0%A6%BF%E0%A6%AA%E0%A6%BE%E0%A6%A0_-_%E0%A6%AE%E0%A6%BE%E0%A6%9C%E0%A6%9B%E0%A7%8B%E0%A7%B1%E0%A6%BE.pdf.jpg&lang=as, closing connection
The Tool Labs project is located at http://tools.wmflabs.org/ws-google-ocr/ and the code can be found at https://phabricator.wikimedia.org/diffusion/1966/.