微博就像型号使用SQL Server / Azure的或图形数据库 [英] Twitter like Model using SQL Server/Azure or Graph DB
问题描述
有没有可能设计出像DB Twitter的使用SQL Server?一个数据库,以确保高可扩展性和快速查询。
Is it possible to design a twitter like DB using SQL server? a DB that will ensure high scalability and fast queries.
我建立一个.NET平台,需要像微博(用户,追随者,鸣叫)类似的模型,并寻找到能放入最佳的快速查询和可扩展性方面。
I am building a .NET platform that requires a similar model like twitter (User, Follower, Tweet) and looking into what will fit best in terms of fast queries and scalability.
使用关系数据库是否有可能或图形分贝更好?
Will it be possible using a relational DB or is a graph db much better?
推荐答案
SQL Server将肯定能够处理你有任何负担。 SQL Azure的支持的数据库多达150GB(虽然我听说你能得到更多,如果你问)。随着SQL Azure的联邦,你可以扩展多个数据库在世界各地的上百个节点。
SQL Server will most certainly be able to handle any load that you have. SQL Azure supports databases up to 150GB (though I hear you can get more if you ask). With Azure SQL Federation, you can scale out multiple databases on hundreds of nodes around the world.
至于如SQL Server,或NoSQL的变种类似的Azure表存储在关系数据库,它取决于你的需要和你的数据的结构。鉴于你可能会做很多的连接,查询,为用户的追随者,鸣叫有人应该看到,等你最好的选择是去同一个关系数据库。即使Facebook的仍使用MySQL,所以你不完全在恶劣的公司,使用关系数据库。
As for a relational database like SQL Server, or the "NoSQL" variants like Azure Table Storage, it depends on your needs and how structured your data is. Given you'll probably do a lot of joins, querying for followers of users, tweets that someone should see, etc. you're best bet is to go with a relational db. Even Facebook still uses MySQL, so you're not exactly in bad company with using a relational db.
这篇关于微博就像型号使用SQL Server / Azure的或图形数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!