News for hackers. Stuff that matters.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by RachelF on Wednesday May 06, 2020 @11:32PM (#23099421)
Dropbox did the same thing a few years back - moved everything from Amazon S3 to their own storage.

My guess is they did it for cost reasons.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by hn_throwaway_99 on Thursday May 07, 2020 @12:45AM (#23099807)
They did, but at Dropbox's size it should be pretty obvious. I mean, their whole business model is essentially acting as a cloud storage provider. Once they got big enough, of course it made sense for them to optimize their infrastructure instead of letting another company take x% off the top.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by rumanator on Thursday May 07, 2020 @06:41PM (#23109209)
> Once they got big enough, of course it made sense for them to optimize their infrastructure

Isn't that true in all cases?

There is no doubt that rolling and maintaining your own infrastructure can be and is better than dumping cash on the AWSs of this world. The only question is what size marks the breakeven point.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by hn_throwaway_99 on Thursday May 07, 2020 @11:27PM (#23111121)
I think it is actually only very true in a small number of cases. First, you need to be big enough where the cost of the people needed to support your infrastructure can be amortized over a (very) large number of machines. Second, Amazon, Microsoft and Google pay some of the best salaries around, so they have some of the best infrastructure people working for them.

Looking at the comments here, I think it's clear that there are a relatively small number of use cases where roll your own is a better idea, primarily where you have a huge number of servers basically all doing the same thing with lots of data transfer (which is comparatively expensive in the cloud). This may be cheaper to manage when a small team of people if you're essentially cloning similar setups.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by llarsson on Thursday May 07, 2020 @12:01AM (#23099586)
That S3 is eventually consistent with object updates (HTTP PUT) might also screw up things for a company whose core value is synchronized storage.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by ayush--s on Thursday May 07, 2020 @03:48AM (#23100734)
They might have implemented a metadata store 1 layer before S3 to guarantee read after write consistency since write to a new object is consistent in S3. Only updates are eventually consistent.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by dfsegoat on Thursday May 07, 2020 @12:35AM (#23099765)
I don't mean to sound daft, just clarifying my own understanding, but isn't Dropbox eventually consistent (as a system)?
Re:Ask HN: Is your company sticking to on-premise servers? Why? by llarsson on Thursday May 07, 2020 @02:54AM (#23100416)
Oh, sure, but when they think they have written something to S3 and got a successful HTTP response back from the API, perhaps they want to be able to tell clients to go fetch the new data from the bucket. But those clients may not get the new data then, due to eventual consistency.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by lozenge on Thursday May 07, 2020 @04:30AM (#23100937)
S3 is immediately consistent for new objects unless the service received a GET on the object before it was created. It's easy to use this to make an immediately consistent system.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by ozkatz on Thursday May 07, 2020 @10:10AM (#23103142)
S3 ListObjects calls are eventually consistent (i.e. list-after-put). EMRFS [1] and S3Guard [2] mitigate this for data processing use cases.

[1] - https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-f... [2] - https://blog.cloudera.com/introducing-s3guard-s3-consistency...

Re:Ask HN: Is your company sticking to on-premise servers? Why? by llarsson on Thursday May 07, 2020 @05:27AM (#23101205)
Yes. HTTP POST (new objects) is immediate, HTTP PUT (updates to objects) is eventually consistent.

If you want to use this to create new objects all the time, rather than update ones you already have, you now have to keep track of which objects in your bucket are "old" and should no longer be there. But yes, totally doable.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by boredpudding on Thursday May 07, 2020 @03:11AM (#23100531)
Since the move to S3 is only 'a few years ago', my guess is this was not the reason for them to move away from S3 since service at Dropbox is pretty much the same.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by RachelF on Thursday May 07, 2020 @12:29AM (#23099730)
I suspect that is behind many problems with Google Drive.

Sometimes old versions seems to take precedence over newer ones, for some reason.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by m463 on Friday May 08, 2020 @10:39PM (#23121732)
I expect many companies do that. They prioritize growth over costs (stock price over profitability).

Then they get to a certain inflection point on the growth curve and splurging for unpredictable capacity slowly is replaced with reasonable costs for the known capacity.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by StreamBright on Thursday May 07, 2020 @08:59AM (#23102439)
How many other companies do you know that have same problem as Dropbox?

An average company that uses does not provide IT infrastructure (like storage in this case) to a massive amount of clients.