📜  Firebase 和 MongoDB 之间的区别

📅  最后修改于: 2021-09-15 02:01:25             🧑  作者: Mango

1.火力基地
Firebase 是 Google 于 2012 年开发的,是一个实时存储和同步数据的数据库。它是一个云托管的实时文档存储,可以灵活地从任何 iOS、Android 设备访问数据。 JavaScript 客户端共享一个实时数据库实例并自动接收最新数据的更新。

2. MongoDB
MongoDB 是一个跨平台的面向文档的非关系(NoSQL)数据库程序,不需要数据的行列格式。它提供了高性能并且本质上是动态的,我们不需要像在传统 RDBMS 中那样预定义模式。它是一个开源文档数据库,以键值对的形式存储数据。 MongoDB 由 MongoDB Inc. 开发,最初于 2009 年 2 月 11 日发布。它是用 C++、Go、JavaScript、 Python语言编写的。 MongoDB 提供高速、高可用性和高可扩展性。

Firebase 和 MongoDB 的区别

S.NO. FIREBASE MONGODB
1. It was developed by Google in 2012. It was developed by MongoDB Inc. in 2009.
2. It support Objective C, Java and JavaScript as programming languages. It supports C, C#, Java, JavaScript, PHP, Lau, Python, R, Ruby as programming languages.
3. It is a commercial database. It is an open-source database.
4. Server operating systems for Firebase are hosted. Server operating systems for MongoDB are Solaris, Linux, OS X, Windows.
5. It does not support any replication methods. The replication method that MongoDB supports is Master-Slave Replication.
6. It does not support Map Reduce methods. It supports Map Reduce methods.
7. It does not support any partitioning method. It supports Sharding Partitioning method.
8. Android, iOS, JavaScript API, RESTful HTTP API are used as APIs and other access methods. Proprietary protocol using JSON are used as APIs and other access methods.
9. It is more suitable for small-scale applications. It is more suitable for large-scale applications.
10. It is not much secure. It provides more security than Firebase.