Limitations

Sparta Limitations

  • go isn’t officially supported by AWS (yet)
    • But, you can vote to make golang officially supported.
    • Because of this, for the default NodeJS proxying is a per-container initialization cost of:
      • Copying the embedded binary to /tmp
      • Changing the binary permissions
      • Launching it from the new location
      • See the AWS Forum for more background
    • Depending on container reuse, this initialization penalty (~700ms) may prove burdensome.
  • Alternatively, look at leveraging Sparta’s cgo option to package your service into a shared library that’s proxied by Python for significantly improved performance

AWS Lambda Limitations