Open rozhok opened 7 years ago
I haven't dug into this project yet but - using a single lambda function to back up many tables can run into the lambda execution time limits pretty easily. no lambda job can run longer than 300 seconds. so keep that in mind...
@keen99 as far as I understand, several triggers in lambda just execute several lambdas simultaneously or execute them one by one. I've already configured single lambda to handle 30's streams and so far everything goes smooth.
@rozhok - i like your approach for dynamic prefixing. One concern I have is deriving the tablename for all updates from the eventSourceARN
of the first record.
Do we know that amazon will never bundle updates from different tables in same stream invocation?
I want to use single lambda for backing up of many tables. Therefore, I want to distinguish s3 prefixes so I could easily restore only necessary tables. Now I'm doing following
Inside my lambda, but it looks as a hack. It would be nice to have such function bundled into backup-er.