客户端断开连接时支持MongoDB写入(Supporting MongoDB write when client is disconnected)
我想开发一个使用MongoDB作为数据库的应用程序,但它可以应对wifi丢失断开连接,以便javascript客户端可以应对不可靠的网络连接,在连接恢复时进行同步。
MongoDB是否支持任何类型的客户端API /数据存储,如果没有,那么什么是对客户端进行编码的最佳方式,以便它可以应对wifi丢失?
非常感谢。
I'd like to develop an app that uses MongoDB as the database, but which can cope with wifi dropout disconnects, so that the javascript client can cope with unreliable net connections, syncing when the connection is restored.
Does MongoDB support any kind of client-side API/data storage, and if not then what would be the best way to code the client so it can cope with wifi dropouts?
Thanks very much.
原文:https://stackoverflow.com/questions/5578668
更新时间:2021-07-21 10:07
最满意答案
1.电脑上要装VPN客户端工具. 2.电脑要接入INTERNET 3.要有接入端的IP地址.用户名和口令. 然后用VPN客户端工具来进行虚拟拨号. 一旦连接通.你就可以得到一个专网内的IP地址.从而对专网内的系统进行访问.
相关问答
更多-
MongoDB3.2版本有什么客户端工具能使用吗[2023-06-03]
NoSQL Manager for MongoDB MongoBooster MongoVUE 貌似还不支持3.x版本的 RoboMongo -
请用虚拟机中的ip来进行连接,不要用name连接
-
Windows MySQL 服务端 客户端 客户端工具 关系[2022-11-07]
一般用命令行工具的,用workbench是有GUI图形界面的客户端,可以管理数据库了,某种程度上不如sqlyog好用,但好在免费 -
安装了mysql数据库没有客户端工具?[2024-04-21]
自己下载一个,很多图形界面的管理工具。 Navicat http://www.navicat.com.cn/ mysql front http://www.mysqlfront.de/download.html 官方提供的工具: mysql query browser mysql administrator http://dev.mysql.com/downloads/gui-tools/5.0.html 不过目前热门的似乎是navicat -
android 和 iOS开发有后台服务器搭建,电脑端和客户端都可以操作,有数据库管理功能 ,需[2021-08-25]
Django+mysql解决你的需求, 2年前我也是没有一项服务端技能来支持我的app,找人配合麻烦多多。 后来一咬牙自学Django,在两周内基本掌握。 为什么这么快,因为移动app的后端一般不会产生页面,只对移动端的http请求进行校验和返回json就行了。 你作为一个移动开发者如果选Django的话,找本书入门一下Python,大约一周就够,我是看的这本在线书woodpecker.org.cn/diveintopython/toc/index.html,其实学到第七章就够了,其他知识可以需要时再补。 ... -
还需要在setMaxAge()的后面添加个cookie.setPath("/");这个用来告诉浏览器在浏览哪些路径的时候要是cookie持久化保存.("/")表示的是访问当前工程下的所有webApp都会产生cookie,你也可以自己设置路径。
-
LDAP客户端工具使用方法[2022-05-04]
首先,我声明一下,我没用过这款软件,用过LDAP Browser和Apache 的LDAP Studio,既然是管理LDAP的,应该一样。 你安装好后,象建立数据源一样,把你要连接的ldap server的IP、端口、base DN、用户名、密码统统填好,然后就能连上了,一般是能看到整个ldap树的情况,接下去就直接在树的节点上操作就行了。 -
oracle客户端工具有哪些[2022-04-02]
比较好用的,用过两种 sql developer SI object browser -
使用IPSEC协议的客户端工具先进入虚拟专网,在电脑上如何操作或者是设置哪些选项才能使用呢[2023-07-23]
1.电脑上要装VPN客户端工具. 2.电脑要接入INTERNET 3.要有接入端的IP地址.用户名和口令. 然后用VPN客户端工具来进行虚拟拨号. 一旦连接通.你就可以得到一个专网内的IP地址.从而对专网内的系统进行访问. -
终于想出了如何使用工具链。 如果您使用的是NaCl SDK,则以下是构建Native Client Module的 Windows示例:
/toolchain/win_x86_newlib/bin/i686-nacl-gcc hello_world.c -o hello_world_x86_32.nexe -m32 -g -O0 -lppapi 表示您正在使用的软件包的顶级目录的路径,例如 相关文章
更多- HttpservletResponse写数据时客户端断开
- MongoDB: The Definitive Guide
- MongoDB之Hadoop驱动介绍
- Mongodb与spring集成(1)------配置
- HDFS Datanode与Client之间的数据传输
- solr mongoDB 对比
- 深入浅出MongoDB(一):认识MongoDB
- MongoDB学习(一):MongoDB 环境的搭建
- MongoDB学习(三):MongoDB Shell的使用
- MongoDB的安装与使用_深入浅出MongoDB(二)
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)