Earlier quoted context omitted.
How would you replicate that SQLite DB onto other hosts to achieve redundancy?
One could use Litestream [1] [1]: https://litestream.io
Migrating Uber's ledger data from DynamoDB to LedgerStore
51–60 of 345 posts
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#52Does no one ever delete data? It's hard to believe there's much business value in keeping every individual payment record dating back to 2017.
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#53The original[1][2] articles are a better read IMO. The link is just a summary of the two with added spelling and grammatical errors that materially impact the meaning. 1. https://www.uber.com/blog/how-ledgerstore-supports-trillions... 2. https://www.uber.com/blog/migrating-from-dynamodb-to-ledgers...
Seems to happen with all our blog posts that appear on here (I work at Uber) - I don't get why the originals don't get upvoted but these rehashes do - are our titles just not as good?
Because they were never submitted? I looked for the first one, it doesn't seem to be on HN.
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#54Congrats to anyone who worked on it! However, I'm guessing the cost of just running this team be quite large and not significantly different from the savings (6M), and add on top of it the overhead of maintenance. Payments would not likely be a long-term bet as well, so kind of interesting why teams take up such projects ? Is it some kind of sunk-cost with the engineering teams you already have?
> I'm guessing the cost of just running this team be quite large and not significantly different from the savings (6M), and add on top of it the overhead of maintenance I'm guessing they know a lot about their costs, and you know very little. There's little value in insulting the team members like this.
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#55Congrats to anyone who worked on it! However, I'm guessing the cost of just running this team be quite large and not significantly different from the savings (6M), and add on top of it the overhead of maintenance. Payments would not likely be a long-term bet as well, so kind of interesting why teams take up such projects ? Is it some kind of sunk-cost with the engineering teams you already have?
At one end of the spectrum, some people here claim to write this kind of software over a weekend. Some others claim they require a salary of $600,000, and still need nine additional colleagues to pull something like this off. There is a lot of room in between, where cost estimates are more realistic.
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#56I’m working on a specialized data store[1] that would be perfect for this kind of use case (large “cold” storage with indexing). But I’m having trouble finding potential customers. I’ve tried Google search ads but got 99% spam and 1% potential investors, but 0% potential customers. If anybody has any ideas I’m all ears. 1. https://www.haystackdb.dev/
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#57Earlier quoted context omitted.
Given 30.7TB SSD’s are about $5500 each and you’d need 56 to to get to 1.7PB (with no redundancy). Not to mention that SQLite’s maximum DB size is 140TB. I don’t think you’d be able to fit this much storage into a single machine, especially not for a few thousand a month and SQLite wouldn’t be appropriate for this use-case.
If you install a RAID controller and a couple of disk boxes, it's possible with 1:1 replication, or with backups. 60 disk 3.5" units already exist, so 2.5" SSD racks. It won't be cheap, but will be resilient and fast. Bloody fast if you have the budget.
> 1:1 replication Depending on the amount of writes could be a ton of extra disk and a bucket for network cost
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#58Is this another outlier when you reach certain scale, it’s more beneficial to roll your own? Pretty amazing what Uber has to deal with. Also it’s not very clear from the original articles, what is the new total “cost of ownership” of this new refactored service. Like now they need to manage their own databases and the storage backing them. Or did i miss it?
My take on this is that most companies don't have the expertise to build systems like databases, and even if the costs would otherwise suggest such a development as desirable would be simply afraid of doing it.
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#59I’m working on a specialized data store[1] that would be perfect for this kind of use case (large “cold” storage with indexing). But I’m having trouble finding potential customers. I’ve tried Google search ads but got 99% spam and 1% potential investors, but 0% potential customers. If anybody has any ideas I’m all ears. 1. https://www.haystackdb.dev/
Re: Migrating Uber's ledger data from DynamoDB to LedgerStore
#60Does no one ever delete data? It's hard to believe there's much business value in keeping every individual payment record dating back to 2017.