Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Cubrid: Sharded, Highly available, Open Source, Free RDBMS (cubrid.org)
45 points by ddorian43 on Aug 31, 2013 | hide | past | favorite | 7 comments


Sharding is for DB-admins not developers. When I see something like "SELECT ... FROM student WHERE shard_key = ..." I cringe.


Do you really think so? Consider the scenario of a social networking site having one table for users and another table for the users posts. If the developers don't know better than to query all my 200 shards at once this will be a pretty major performance killer.

I can instead use my userid as my shard-key and just query the shard holding the data for that user which will be way faster.


Scaling is everyone's responsibility.

The question is can middleware really solve the problem of having to re-engineer when you reach the limits of your current stack?


Not so much anymore. Scaling strategies are quickly becoming part of the required skill set for developers. And companies are expecting as much. Simplifying scalability through elegant abstractions, allowing developers to structure their data models and applications holistically, can be a great thing.


To be fair I think those are hints that improve performance rather than required syntax. The question I guess is whether these are "optional" in the sense that you get horrendous performance without them or truly optional and you get ok performance without them.


The query goes to the right server (not all servers are queried).

No cross-server transactions.


I had not heard of this project before, so I took a look. Cubrid is from South Korea and partly developed by NHN, a Korean portal/search site [1]. Apparently it's quite popular in Korea, and NHN uses it in production for a ton of servers. It's an SQL RDBMS and claims to support a large portion of MySQL's dialect.

[1] http://opensourcebuzz.technetra.com/2010/06/21/meet-cubrid-o...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: