News for hackers. Stuff that matters.
Re:Nimbus.io: Open-source alternative to Amazon S3 by asharp on Tuesday November 08, 2011 @10:25AM (#3211052)
:(

You're going to shard a SQLite database into a series of objects to deal with "large" containers?

Re:Nimbus.io: Open-source alternative to Amazon S3 by notmyname on Tuesday November 08, 2011 @10:36AM (#3211093)
The idea is to limit each "shard" to some number configurable number of objects, say, 1 million. As the container grows, the db can be split in two and each of the two new pieces can grow. The original container entity keeps an index listing of what each of its "child shards" hold, ie the start and end markers.

There are tricky problems to solve, of course. How do listings work? Will shards ever be collected? What are the performance tradeoffs? How does replication handle shard conflicts?

These issue will be worked out, and it should eliminate the write bottleneck in large containers. (Note that reads are/were never affected by this issue.)

This implementation of container sharding is something that is being evaluated. It may or may not ever make it into swift itself.

Re:Nimbus.io: Open-source alternative to Amazon S3 by asharp on Wednesday November 09, 2011 @03:11AM (#3214749)
But why SQlite? And why file based?

Why don't you guys use a proper distributed database to handle container mappings/etc?