构建高性能并自动备份队列 [英] Building a high performance and automatically backupped queue

查看:168
本文介绍了构建高性能并自动备份队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我一些关于我的问题的提示。

Please give me some hints on my issue.

我正在构建一个队列数据结构:

I'm building a queue data structure that:


  1. 在硬盘上实时备份

  2. ,并可以还原备份

  3. 可以响应大量入队/出柜请求

谢谢!

推荐答案

这是你做的一个练习。如果没有,您应该看一些生产消息排队技术(例如MSMQ for Windows),它支持将磁盘上的队列持久化,而不仅仅是将其存储在内存中。

Is this an exercise your doing. If not, you should probably look at some of the production message queueing technologies (e.g. MSMQ for Windows) which supports persisting the queues on the disk and not just storing them in memory.

根据您的要求

1. has a backup on hard disk at realtime

是MSMQ可以做到这一点。

Yes MSMQs can do that.

2. and can restore the backup

而且

3. Can respond to massive enqueue/dequeue request

而这个...

这篇关于构建高性能并自动备份队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆