question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Survey: what are you using 'sharp' for?

See original GitHub issue

I’m truly humbled by the recent surge in support for sharp.

Whilst ⭐ and the trending status they bring are both amazing, thank you, the real measure of open source success is happy users.

I’d love to find out more about how you or your organisation are using (or plan to use) this module.

Feel free to add a comment with details of who you are, what you’re doing with it and why you chose it. Alternatively let me know via @lovell on Twitter.

Thank you!

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:10
  • Comments:44 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
wmertenscommented, Mar 7, 2019
1reaction
Gouescommented, Mar 7, 2019

@wmertens We might open source in the future but not at the moment - there is a lot of stuff specific for our database and integration with other services that would be time consuming to separate.

In general, duplicate uploads are handled by file hashes. You do not upload to a bucket images are served from, but to an upload bucket. Put Event is then send to SQS for ingesting (another lambda) where we take an MD5 of image and create a rename a file accordingly. Duplicate upload means an image of the same md5 name already exists in public bucket. There is also a Dynamo DB table for storing status (uploaded cannot use uploaded image until it is igested and confirmed).

On the smaller project, this pipeline is downscaled by taking care of duplicates at all and users have limit of stored MB of images, so they are themselves responsible for not creating duplicates.

We went with this solution after trying out lambda@edge on cloudfront, because it would allow for no redirects at all, but edge lambdas are not good with binary data and large response bodies so it didn’t turn out well.

There is a good “how to start” here: https://aws.amazon.com/blogs/compute/resize-images-on-the-fly-with-amazon-s3-aws-lambda-and-amazon-api-gateway/

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is Sharp? Why Participate in Sharp? YRBS YTS
SHARP includes the ONLY three student health surveys endorsed by the Nebraska ... Along with your many requirements, we also understand you receive...
Read more >
s h a r p - tudent ealth nd isk revention - DSAMH.Utah.gov
The SHARP PNA has long been sensitive to indicators of social and emotional wellbe- ing, with survey items addressing student engagement in the...
Read more >
2021 SHARP Survey Release and Media Training - YouTube
The Utah departments of health and human services hosted a special virtual training to share the 2021 SHARP survey report, ...
Read more >
08 SHARP Survey - YouTube
08 SHARP Survey. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, try restarting your device ...
Read more >
How helpful is Utah's SHARP survey? Parents ... - YouTube
Utah parents have one more week to give their feedback on the State Board of Education's decision to pull its support for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found