如何构建离线模式的 LOB 应用程序/数据库
我有一个不断与数据库通信的业务应用程序。我有一个用户想要操作远程位置的多个站点,所有站点都连接回中央数据库。此设置有效,但由于网络通信不可靠,用户现在要求离线模式。
我使用 SQL Server 作为数据库服务器。
我的问题是网络上有哪些资源可用,或者您已采取哪些措施才能成功地将离线功能添加到 LOB 应用程序。
更新:我正在使用连接到不可靠 WAN 的 PC 客户端。
I have a line of business application that constantly communicates to the database. I have a user that wants to operate multiple sites at remote locations all connected back to a central database. This setup is working but due to unreliable network communications the user is now asking for an offline mode.
I use SQL Server for the database server.
My question is what resources are available on the web or what have you done to successfully add offline capabilities to a LOB application.
Update: I am using PC clients connected to an unreliable WAN.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您所说的手机通过 WAN 连接到数据库或 PC 的不可靠是什么? Service Broker 如果您可以拥有本地(客户端)服务,将会有所帮助将排队并向主数据库报告的数据库。
What are you talking about handsets to the database or PC's via WAN that is unreliable? Service Broker will help if you can have a local (to the client) database that would queue and report back to the main database.
合并复制就是为此类事情而设计的。本质上,您需要在 PC 上设置本地数据存储,并让该数据库成为服务器数据库的合并订阅者。
Merge replication was designed for this sort of thing. Essentially, you'd set up a local data store on the PC(s) and have that database be a merge subscriber to your server database.