News for hackers. Stuff that matters.
Re:JSONbin.io – Simple JSON Storage (Beta) by joshmn on Monday May 15, 2017 @11:21PM (#14347138)
Cool. I really like the UI. Response times are slow-er than I would have originally thunk, but I'm sure that's a side effect of the HN hug.

Are you saving these "bins" as files, and then serving them? Or are you putting them into a database? Mostly curious. :)

Re:JSONbin.io – Simple JSON Storage (Beta) by mr_ali3n on Tuesday May 16, 2017 @12:01AM (#14347289)
Thank you :) yea, kinda overwhelmed right now with the traffic, should sort out once the dust settles down. As far as your question goes, I don't store them as files, they are in DB. The file is fine for a temporary run, not great when it comes to scaling.
Re:JSONbin.io – Simple JSON Storage (Beta) by arikfr on Tuesday May 16, 2017 @12:30AM (#14347374)
Why not host them on S3? You can probably serve them directly from there too.
Re:JSONbin.io – Simple JSON Storage (Beta) by hdhzy on Tuesday May 16, 2017 @02:22AM (#14347744)
But the URL would not be that pretty, would it?
Re:JSONbin.io – Simple JSON Storage (Beta) by arikfr on Tuesday May 16, 2017 @02:36AM (#14347787)
Why not? You can assign a domain to S3 buckets. It can be just as pretty as it is today. The only difference is if he serves them directly from S3, the domain will be different from the creation API.

But considering the additional features he's planning on adding, he will probably need to proxy S3 anyway, so not sure if it's worth it in this case.

But for something of the scope of the current API, S3 is the perfect solution.

Re:JSONbin.io – Simple JSON Storage (Beta) by adnanh on Tuesday May 16, 2017 @02:34AM (#14347784)
you could set up an nginx proxy in front of it, or use the S3 static website feature with custom domain