Giter Club home page Giter Club logo

Comments (4)

y123456yz avatar y123456yz commented on July 30, 2024

@ainilife
@8wy1985659
基于什么考虑,这样搞两个?一个C实现,一个JAVA实现,如果在同等条件下,dbproxy在linux内核高版本支持reuse_port的话,性能会比java好很多,因为据我所知,java jdk现在应该是还不支持。

你司两个代理都用?

from zebra.

8wy1985659 avatar 8wy1985659 commented on July 30, 2024
  1. DBProxy是服务端代理方案 Zebra是客户端代理方案 Zebra目前是公司主推的方案 java应用统一使用Zebra DBProxy目前主要支持一些使用小语种开发的应用。

2.相较于在调用链路上网络通信的耗时,中间件本身性能上的差异微乎其微,Zebra直连数据库相较于DBProxy节省了3层网络开销,测试时整体性能提升超过30%。同时由于省略了DNS MGW 数据库代理 等中间节点,避免了因中间节点问题导致不可用的情况,大幅提升整体可用性。

from zebra.

y123456yz avatar y123456yz commented on July 30, 2024

@8wy1985659
那我明白了,你们这个是部署在所有业务方机器上面,然后直连数据库?是这意思。
和dbproxy的区别就是,省掉了中间一层。
直白点,就是java业务你们内部用zebra,其他语言用dproxy。也就是dproxy更通用一点,没有语言限制,如果是java业务你们这个更适合一点,是否可以这样理解?
同时,你们的dbproxy内部是不是基本上不咋维护了

from zebra.

8wy1985659 avatar 8wy1985659 commented on July 30, 2024

对的

dbproxy内部基本不开发了

from zebra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.