Peter Johnson

Results 1014 comments of Peter Johnson

If you want to end execution on the first failure, it's cleaner to use `set -e` in bash at the top of your script and get rid off all the...

see https://github.com/openvenues/libpostal/pull/605

https://github.com/openvenues/libpostal/releases

Have you checked https://github.com/openvenues/libpostal/issues?q=windows

https://github.com/openvenues/libpostal#installation-windows

related: https://github.com/openvenues/libpostal/issues/512

The main two issues you'll encounter are: - Memory requirement ~2GB+ (I would start at 3GB and work down) - Deployment package (.zip file archive) size 50 MB (zipped, for...

I would suggest generating a [custom runtime](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html) which has all the C libs and dependencies and then put the libpostal binaries in the deployment package and the models in EFS.

The permissions for using EFS from lambda are a bit fiddly, I've had success in the past using the [serverless framework](https://www.serverless.com/framework/docs/providers/aws/guide/functions/#efs-configuration) to set that up.

related comment: https://github.com/openvenues/libpostal/issues/368#issuecomment-935192038