将 Postgres 与 Eventmachine 结合使用
有谁知道在 eventmachine 中连接到 postgres 的好方法吗?
我知道有一个与 eventmachine 捆绑在一起的实现,但我不喜欢使用套接字。
我只想要一个可以发送查询的正常连接。
Does anyone know of a good way to connect to postgres inside eventmachine.
I know there is an implementation bundled with eventmachine but i don't like the use of sockets.
I just want a normal connection which i can send queries to.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,如果不通过,你还要如何连接到 Postgres。插座?!据我所知,Postgres总是使用套接字,唯一的选择是使用 TCP 或 Unix 套接字,还是使用 TCP 上的 SSL。
Uhm, how else are you going to connect to Postgres if not via. Sockets?! To my knowledge, Postgres always uses sockets, the only choice is whether to use TCP or Unix sockets, or SSL over TCP.