Comments (4)
@ainilife
@8wy1985659
基于什么考虑,这样搞两个?一个C实现,一个JAVA实现,如果在同等条件下,dbproxy在linux内核高版本支持reuse_port的话,性能会比java好很多,因为据我所知,java jdk现在应该是还不支持。
你司两个代理都用?
from zebra.
- DBProxy是服务端代理方案 Zebra是客户端代理方案 Zebra目前是公司主推的方案 java应用统一使用Zebra DBProxy目前主要支持一些使用小语种开发的应用。
2.相较于在调用链路上网络通信的耗时,中间件本身性能上的差异微乎其微,Zebra直连数据库相较于DBProxy节省了3层网络开销,测试时整体性能提升超过30%。同时由于省略了DNS MGW 数据库代理 等中间节点,避免了因中间节点问题导致不可用的情况,大幅提升整体可用性。
from zebra.
@8wy1985659
那我明白了,你们这个是部署在所有业务方机器上面,然后直连数据库?是这意思。
和dbproxy的区别就是,省掉了中间一层。
直白点,就是java业务你们内部用zebra,其他语言用dproxy。也就是dproxy更通用一点,没有语言限制,如果是java业务你们这个更适合一点,是否可以这样理解?
同时,你们的dbproxy内部是不是基本上不咋维护了
from zebra.
对的
dbproxy内部基本不开发了
from zebra.
Related Issues (20)
- Y
- zebra如何支持mysql的迁移、扩容方案 HOT 2
- pagemodel分页不起作用 HOT 1
- 分库分表时RouterResult不是SingleTarget的情况下希望也打印路由出来的db和sql debug日志,方便调试
- 辅维度不支持写操作 HOT 1
- AsyncMapperProxy-threadlocal没有清理
- 本地配置,打成jar包后运行,报空指针异常。远程配置也无法读取zookeepe.properties的内容 HOT 1
- 分库分表不支持子查询
- web端保存数据到zookeeper有问题,一直卡在那里
- There are only 1 target objects. You either specified a wrong ‘keyProperty‘ or encountered a driver
- 读写分离数据源与mybatis 一起用,死循环的特殊场景
- There is a vulnerability in mybatis 3.4.1 ,upgrade recommended
- There is a vulnerability in mysql-connector-java 5.1.40 ,upgrade recommended
- There is a vulnerability in Bootstrap v3.3.6 ,upgrade recommended
- There is a vulnerability in commons-httpclient 3.1 ,upgrade recommended
- There is a vulnerability in mysql-connector-java 5.1.40 ,upgrade recommended
- zebra-admin-web:delete zookeeper config error HOT 3
- 不维护了吗 HOT 1
- 能否支持spring boot方式接入
- 能否支持mysql 5以上版本,比如mysql 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zebra.