Si Feng

Results 8 comments of Si Feng

Hmm I don't know... Isn't `lo.tar.gz` too large (> 100MB) for Lambda deployment package? The size limit is only 50MB. I cannot upload it.

Thanks for the info! OK so the `lo.tar.gz` has to be deployed as a tarball, and then get unzipped inside Lambda (like, handler needs to unzip it first before using)?...

OK I see, that explains. Thanks! Is there anyway that we can trim it down further? I tried `ldd soffice.bin` and got a list of libs it needs, but haven't...

FYI, `ldd soffice.bin` output: ``` linux-vdso.so.1 => (0x00007fff196eb000) libmergedlo.so => /home/vagrant/instdir/program/./libmergedlo.so (0x00007fb3a5ee3000) libuno_sal.so.3 => /home/vagrant/instdir/program/./libuno_sal.so.3 (0x00007fb3a5c85000) libc.so.6 => /lib64/libc.so.6 (0x00007fb3a58c1000) libgpgmepp.so.6 => /home/vagrant/instdir/program/./libgpgmepp.so.6 (0x00007fb3a5663000) libicuuc.so.60 => /home/vagrant/instdir/program/./libicuuc.so.60 (0x00007fb3a52ab000) libz.so.1 =>...

Quick benchmark on local AWS Linux VM: ``` $ time brotli -cd lo.tar.br | tar -C /tmp -xf - 0m2.340s 0m2.321s 0m2.365s 0m2.612s 0m2.441s $ time tar -xf lo.tar.gz 0m2.857s...

+1 for this

I can confirm this. We were using Celery 4.4.7 + gevent + Flower. Duplicate task runs were observed when Flower was enabled (and maybe during scaling-out Celery workers). Downgrading to...

@kfei thanks for sharing! Great component! Though I'd prefer to have it decoupled from Lambda (and I'm planning to do that in my project).