Comments (2)
127.0.0.1 为啥要限制访问,本地禁止http自调用?这个问题可以通过自己选取本地网卡的ip去解决,也可以自己做一个简单的服务发现去选举,但做一个配置项去配置是没必要的(容器化下ip是会变和复用的)。
至于http、rpc基于tcp去做统一实现感觉完全没必要还可能引发一些未知的问题,往往回放除了发送请求还有其它的自定义逻辑。
from jvm-sandbox-repeater.
127.0.0.1 为啥要限制访问,本地禁止http自调用?这个问题可以通过自己选取本地网卡的ip去解决,也可以自己做一个简单的服务发现去选举,但做一个配置项去配置是没必要的(容器化下ip是会变和复用的)。 至于http、rpc基于tcp去做统一实现感觉完全没必要还可能引发一些未知的问题,往往回放除了发送请求还有其它的自定义逻辑。
1.应用本身是可以指定网卡进行启动的(指定ip),这种情况下除了指定的IP,其他的IP,还是127.0.0.1是不通的
2.至于为什么同一实现,因为所有的报文发送,只要是基于t c p的就可以统一以文本形式发送,
3.编辑自定义报文,我上面已经说了这种场景,这跟发报文没关系,我说的同一实现,不需要各种客户端,只需要文本格式报文就OK
4.IP为什么支持自定义,就是因为会变所以才支持自定义,因为流量是离线重放,之前的ip,和当前的ip可能不一样,也是场景适配问题
5.功能设计是需要适配场景的,易用,通用适配,这才是功能设计方向
from jvm-sandbox-repeater.
Related Issues (20)
- 一些不能mock的场景,请问是暂不支持还是我使用错误
- 开启单机模式,可以录制但无法回放 HOT 2
- 序列化异常
- repeater动态attach增强后,skywalking juc ttl传递失败
- 配置管理-推送404
- 演示项目启动后自动安装应用名、环境均为unknown的模块 HOT 1
- 获取插件路径时,存在不兼容windows平台问题;以及serverIp疑问。
- 泛化调用dubbo,ExtensionLoader无法获取Protocol类 HOT 1
- apache-http-client-plugin在抓取返回结果为二进制数据的http请求时,会造成上层业务代码拿到的responseBody数据错乱
- consider solving big body problem? HOT 1
- 有计划支持jdk17吗 HOT 5
- dubbo 录制的时候日志报错:no valid classloader found in routing 要怎么处理? HOT 1
- com.alibaba.jvm.sandbox.repeater.plugin.core.trace.Tracer#start(java.lang.String)为什么是非线程安全的?
- jvm-sandbox-repeater最新版本的依赖版本是多少?
- 流量录制与回放过程中若干优化建议
- install-local.sh的脚本中获取sandbox的地址有误 HOT 1
- 请问为什么请求和返回用hessian 序列化后再做一次 base64? HOT 1
- 多次调用reload,导致SubscribeSupporter被重复注册,客户端重复回放同一个请求
- 插件开发:hibernate的update方法及mybatis-plus部分版本的部分方法没有返回值,怎么设置拦截点呢 HOT 1
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 jvm-sandbox-repeater.