Embedable FerretDB #733
Replies: 4 comments
-
Hi, Dragomir. How do you want to interact with that embedded proxy? Via a MongoDB driver over a local port of Unix socket, or by some other means? |
Beta Was this translation helpful? Give feedback.
-
Hmm, that is a good question. Ideally I would like to use the official
MongoDB/Golang driver -> (magic happens) -> the app talks to PostgreSQL.
Now thinking about it, it might not be that easy. It involves hacking the
MongoDB driver, and tapping to its transport layer. I would investigate.
Thank you for your reply!
…On Sat, Jun 11, 2022 at 8:45 PM Alexey Palazhchenko < ***@***.***> wrote:
Hi, Dragomir. How do you want to interact with that embedded proxy? Via a
MongoDB driver over a local port of Unix socket, or by some other means?
—
Reply to this email directly, view it on GitHub
<#733 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWQI7EZTBDHPG6Z5LDRM3VOTGFFANCNFSM5YP2N56Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
That should not require changes in the driver, as far as I can tell. I created #3 and #737 to track the implementation. Both issues are not planned yet. |
Beta Was this translation helpful? Give feedback.
-
https://www.ferretdb.io/0-5-0-release-is-out-embedding-ferretdb-into-go-programs/ |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I know that currently FerretDB is a standalone proxy, but are there any plan, to provide it as embedded package. So I can build a single Go artifact, that internally does its business logic with MongoDB protocol, but there is a FerretDB layer that outputs PostreSQL protocol to the outer world.
Beta Was this translation helpful? Give feedback.
All reactions