Kent Dong

Results 236 comments of Kent Dong

(同非官方) 不建议在路由里面对报文进行解析,这对性能会产生比较明显的损耗。不过基于元数据部分(HTTP Header 等)我觉得是可以的。前面 @DC-ET 提到的一些字符串匹配模式都有必要,不过算数运算会涉及到把字符串数据进行类型转换,可能不太合适。

@GuoHaoZai 新的模型并没有使用`TrafficLabelRule`这个设计,可以再看一下。 https://github.com/opensergo/opensergo-specification/blob/main/specification/zh-Hans/traffic-routing.md

申请认领此任务。

> This issue seems to be related to this one #4822, so I will ask the same question posted there: > > > What was your working directory and how...

I just found that after excluding an internal runtime dependency which depends on javaassist and objectasm (not sure if they are related), building process can complete successfully. However, since it's...

> , then we can reduce the scope of the issue to only Oracle GraalVM Thanks for your help, Fernando. I tried with GraalCE, and it worked normally. ``` ❯...

Just excluding `org.javassist:javassist` can make it work. However, upgrading it to the latest version of `3.30.2-GA` doesn't. I also tried to add `--diagnostics-mode --verbose --native-image-info` arguments to native-image, but it...

Luckily (or saddly), after I cleaned my local Maven cache, the whole build process worked as expected. I will keep tracking this problem. If it doesn't re-occur this week. I...

> -H:-AOTPriorityInline The previous problem reoccurred today, and adding `-H:-AOTPriorityInline` fixed it. Thanks, @fniephaus . However, does this option affect the runtime performance of the built native executable?

> > However, does this option affect the runtime performance of the built native executable? > > Yes, it can affect the performance. I only suggested it as a workaround...