End of Year Gotchas

Mac OS Sierra Git Broken After Upgrade:

Every year when a new Mac OS is released I am excited to see what new features have come down the pipe but also fearful of what is going to break. Without fail ever release since Mavericks has broken something in my environment whether it be DevOps related or Audio Engineering related. This time around it was xcode which impacted my ability to use git bash. Fortunately the fix was easy and quick.

Below is the error I received the first time I used git bash after updating.

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Resolution:

xcode-select --install

If this doesn’t resolve for you try using the –reset flag instead of –install

AWS Lambda Invocation Limits:

I’ve had the privilege of doing DevOps work for a few fairly popular mobile games over the past 6 months. About 3-4 months ago we made the switch from Tomcat backend servers and SQL to using Amazon RDS and Lambda with API Gateway. This has proven to drastically reduce total cost of ownership (TCO) and make scaling a breeze. The challenge came when we started to grow the number of Lambda functions and encountered a not so widely known limitation. Lambda has a limit of 100 requests per second, which is honestly quite a bit, however this is GLOBAL not per Lambda. The more Lambda functions you have in your account the more this will grow. I have since requested 2 increases from Amazon to prevent throttling and setup some global CloudWatch dashboards and alarms, but this is valuable information I wish I knew before limitations were encountered.

Leave a Reply

Your email address will not be published. Required fields are marked *

17 − six =