处理多个同时操作的后端技术选择
我正在做一个对服务器端要求相当高的项目,我不知道数据库、服务器和硬件应该使用什么技术。
标准如下:
服务器每天一次几乎同时接收 number_of_users 次问题的答案。想象一下这样的服务:在同一时间向每个用户提出问题,他们只有 30 秒的时间来回答。
它必须对待所有这些,并从最好到最差排序。想象一下,我们可以轻松计算出与正确答案的距离,这将成为排序标准。目标是在 20-30 秒内发布排名。
用户数量可以是1000、10000甚至更多!
首先,这听起来可行还是真的很难实施?我所说的“真的真的很难”是指需要一群经验丰富的工程师。
如果可行,我应该考虑实施此类服务的最合适的解决方案是什么? NoSQL 还是 SQL?我应该使用什么服务器?
非常感谢您的帮助,如果您需要更多详细信息,请告诉我!
I'm working on a project that is pretty demanding server-side and I don't know what technology I should use for the database, the server and the hardware.
Here are the criteria :
the server will receive, once a day and almost simultaneously, number_of_users times answers to a question. Imagine a service where a question is asked to every user at the exact same time and they only have a window of 30 sec to answer.
it will have to treat them all and sort them from best to worst. Imagine that we can easily calculate a distance from the correct answer that will be the sorting criteria. The goal is to publish the ranking within 20-30 seconds.
the number of users could be 1000, 10000 or even more !
First, does it sound doable or really really hard to implement ? By really really hard, I mean that a bunch of experienced engineers are required.
If it's doable, what is the most appropriate solutions I should consider to implement such a service ? NoSQL or SQL ? What server should I use ?
Thanks a bunch for your help and let me know if you need more details !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论