Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matusgallik008
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
1.
▲
by
matusgallik008
2y ago
You're good mate. I meant exaclty what aprilnya said. I thought you are using the Lambda just to validate the 10mb limit - and just for that you don't need the lambda :) and could save yourself some cents & effort. But if you
2.
▲
by
matusgallik008
2y ago
Well, security for starts. Having user A upload a malicious_file.png and then user B download it would not be ideal. Secondly, UX - having thumbnails for files can increase the loading speed. Arguably not the most important UX feature, but
3.
▲
by
matusgallik008
2y ago
I believe AWS S3 allows setting the Content-Length header as well. So you might not need the lambda
4.
▲
by
matusgallik008
2y ago
Thanks for the insights! I had a look at ClamAV - never heard/worked with it. This was something I was looking for. Do you also handle large files e.g. videos with lambda? Don't you struggle with Lambda limits then?
5.
▲
Ask HN: How to handle user file uploads?
214 points
by
matusgallik008
2y ago
|
186 comments