Show HN: A/B Testing Backend Using AWS Lambda and Redis HyperLogLog
github.com
github.com
It's still quite raw, but I hope it has good potential. I wrote a bit more about the architecture, motivation etc on my blog[0]
[0] http://blog.gingerlime.com/2016/a-scaleable-ab-testing-backe...
Are you using https anywhere or some other type of plugin that might change the URL or proxy your access somehow? (anything that might mess with the Host header somehow).
EDIT: I think I have an idea (could be the webfaction cname + IPv6 - I'll look into it...). Should work now! Sorry about that. Thanks for letting me know!
There are two things that glare at me immediately, a) the vendoring of the redis code (including pyc files) and b) the need to define static credentials in the code itself.
There are two little tools I would like to point your attention to, that may ease this pain.
Here is a pybuilder plugin to make deploying lambdas much easier, it can generate a lambda-zip for you (including all dependencies) and upload it to S3 so that you can use it in a CFN template:
https://github.com/ImmobilienScout24/pybuilder_aws_plugin
The second is a tool to configure lambdas, by placing "things" (e.g. redis creds) in the description field of the lambda. This way, you can speparate code and configuration cleanly: