

MangoDB:拿 PostgreSQL 當作後端的 MongoDB 相容層
source link: https://blog.gslin.org/archives/2021/11/04/10404/mangodb%ef%bc%9a%e6%8b%bf-postgresql-%e7%95%b6%e4%bd%9c%e5%be%8c%e7%ab%af%e7%9a%84-mongodb-%e7%9b%b8%e5%ae%b9%e5%b1%a4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

MangoDB:拿 PostgreSQL 當作後端的 MongoDB 相容層
在 Hacker News Daily 上看到「A truly Open Source MongoDB alternative」這個東西,在「MangoDB: An open-source MongoDB alternative (mangodb.io)」的討論也可以翻一翻。
MongoDB 最主要的問題就是 4.0 以及以後的版本變成 SSPL 後就不是 open source license 了。
而 MangoDB 是個 Proxy service,前端提供 MongoDB 的協定,後端則是 PostgreSQL。
在 GitHub 上的「MangoDB-io/MangoDB」這邊可以看到 MangoDB 主要是用 Golang 寫的,軟體授權則是 Apache License 2.0。
The core of our solution is a stateless proxy, which converts MongoDB protocol queries to SQL, and uses PostgreSQL as a database engine. This will be compatible with MongoDB drivers, and should work as a drop-in replacement to MongoDB in many cases.
這對於只有提供 MongoDB 當儲存層的軟體來說會是個替代方案。不過如果是自己開發的話,這其實也證明了可以直接用 PostgreSQL,基本上 MongoDB 的功能都可以在 PostgreSQL 上找到方案。
話說這個讓我想到 2019 年 AWS 推出 Amazon DocumentDB 的時候,大家都一直在猜 Amazon DocumentDB 是不是拿 PostgreSQL 前面加上一些東西 (參考「大家在猜 Amazon DocumentDB 的底層是不是 PostgreSQL...」),後來也有人發現再更早之前就有人 PoC 過了:「A proof of concept MongoDB clone built on Postgres (github.com/jerrysievert)」,現在一般的公認應該就是,只是 AWS 沒有 open source 出來。
目前 MangoDB 還在早期的階段,但看起來這波應該會有一些能量進去幫忙...
Related
AWS 推出 MongoDB 服務:Amazon DocumentDB
AWS 推出了 Amazon DocumentDB 服務,相容於 MongoDB 3.4 3.6 的界面:「New – Amazon DocumentDB (with MongoDB Compatibility): Fast, Scalable, and Highly Available」。 這個新聞其實引起不少關注,不單純是 AWS 支援了 MongoDB service,而是 AWS 對去年一系列 license issue 的態度。 先講 license 的事情,後面再提技術上的差異。 背景是 MongoDB 在去年十月的時候決定換 license,決定從 GNU AGPL 換成他們自己定義的 SSPL:「MongoDB now released under the Server Side Public License」。 相關的報導可以參考…
January 11, 2019In "AWS"
Percona 宣佈提供 PostgreSQL Support...
有點意外的,Percona 宣佈提供 PostgreSQL Support:「Percona Expands Services Offerings with PostgreSQL Support」。看起來是建出熟 PostgreSQL 的團隊來做生意了... 之後應該會在他們站上開始看到與 PostgreSQL 相關的文章了;另外一方面,對於付錢買 Percona 服務的人來說,可以跟同一個廠商通包所有的服務 (從 MySQL、MariaDB、Percona Server 這三個 MySQL 系列的資料庫,到 MongoDB,然後是昨天推出的 PostgreSQL): As a result, organizations can, for the first time, work with a single trusted vendor to meet their support needs for MySQL, MongoDB, MariaDB, PostgreSQL,…
April 25, 2018In "Computer"
MongoDB 的欺騙性廣告
Jepsen 最近丟出了一篇新的測試報告在測新版的 MongoDB 4.2.6,而且語氣看起來比以前兇很多,翻了一下前因後果,看起來起因是出自 Twitter 上的這則推,提到了 MongoDB 拿 Jepsen 宣傳的頁面: Yeah this link is also in our page dedicated to this subject: https://t.co/dxp7QvUJih.Did any of you actually read the article? We are passing the Jepsen test suite and it was back in 2017 already. So, no, MongoDB is not losing…
May 17, 2020In "Computer"
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Notify me of follow-up comments by email.
Notify me of new posts by email.
Post navigation
Recommend
-
22
我在学习go语言之前,在对数据库进行CRUD的操作基本是用java和sql来对mysql数据库进行操作,但是到了实习中公司业务都是用的是mangodb,通过一段学习时间后,我有了一些收获。 简述关系型数据库,非关系型数据库 关...
-
19
一直以來, Codementor / Arc 總是依賴著 data 來幫我們發現/驗証各種假設。 這陣子我們使用 data 的方式漸漸有了改變。 Application 的變動、各個不同 team 流程的...
-
12
如何为一个开源金融协议的开发融资呢? 去年夏天,我们的社区一度相信,不需要风险投资的支持也能启动新的 DeFi 协议。那一波 “公平启动(fair launch)” 的浪潮为社区带来了好多个 DeFi 领域最激动人心的项目,包括 Yearn、Sush...
-
6
居然在安全性漏洞的 PoC 上面看到拿 Bad Apple!! 當作範例 人在日本的資安專家 Hector Martin 找到了 Apple M1 的安全漏洞,可以不用透過
-
8
2019 年 Percona 對 UUID 當作 Primary Key 的看法 前陣子的「為資料庫提案...
-
6
【MangoDB】习惯了Mysql,试试MangoDB(安装下载与使用)博客说明文章所涉及的资料来自互联网整理和个人总结,意在于个人学习和经验汇总,如有什么地方侵权,请联系本人删除,谢谢!MangoDB...
-
10
MangoDB MangoDB is set out to become the de-facto open-source alternative to MongoDB. MangoDB is an open-source proxy, which converts MongoDB wire protocol queries to SQL, and uses PostgreSQL as a database engine. Why do we n...
-
3
GCP 推出 AlloyDB,一套相容 PostgreSQL 協定的資料庫服務 也是在清 RSS reader 的時候翻到的,看起來是在今年的 ...
-
7
WordPress 打算要支援 SQLite 作為後端資料庫 目前 WordPress 只有支援 MySQL,而昨天在
-
10
MariaDB 嘗試相容於 PostgreSQL 協定的產品 在 Twitter 上看到的消息,新聞在「
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK