支持用户配置文件的网站的 Web 开发
我正在开发一个网站,其中包含包含大量数据的用户配置文件。除了一般用户个人资料信息之外,我还需要存储他们的设置、与其他用户的交互历史记录以及他们在我的网站上执行的操作(即购买了商品)。
我对企业级的 Web 开发非常不熟悉。有没有比使用关系数据库(oracle、mysql、ingres 等)更有效的方法来存储用户配置文件?显然,在该领域内可以进行多种优化,但在关系数据库的范围之外,是否有更现代、更好的解决方案?
I am developing a website that will contain user profiles with significant amount of their data. Beyond the general user profile information, I will also need to store their settings, interaction history with other users, and actions they've taken on my website(i.e. purchased an item).
I am largely unfamiliar with web development on an enterprise level. Is there a more efficient way to store user profiles than using a relational database (oracle, mysql, ingres, etc)? Obviously within that realm there are multiple optimizations possible, but outside the scope of a relational database, is there a more modern and better solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不。您还想如何在不使用数据库的情况下存储用户配置文件和交互? MySQL 可用于非常小型到大型的 Web 应用程序,而且它是免费的、拥有广泛的支持并且非常容易学习。
我建议你使用数据库。您可以查看云计算
No. How else do you want to store the user profiles and interactions without using a database? MySQL can be used for very small to large scale web applications plus it's free, has a wide support and its quite easy to learn.
I would suggest you use a DB. You can check out Cloud Computing
您应该使用关系数据库来存储用户配置文件和用户活动信息。
“更现代的解决方案”将是非关系数据库。此类数据库擅长存储大量松散结构的信息。
对于结构良好的事务数据(例如用户个人资料、消息和购买),关系数据库是最佳选择。 RDBMS 专为高效存储和检索结构良好的事务数据而设计。
You should use a relational database for storing user profile and user activity information.
The "more modern solution" would be a non-relational database. Such databases are good at storing large amounts of loosely structured information.
For well-structured transactional data like user profile and messages and purchases, relational database is the best choice. RDBMS is designed specifically to efficiently store and retrieve well structured transactional data.