Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataQL支持使用Headers参数 #34

Closed
meglory opened this issue May 8, 2020 · 4 comments
Closed

DataQL支持使用Headers参数 #34

meglory opened this issue May 8, 2020 · 4 comments

Comments

@meglory
Copy link

meglory commented May 8, 2020

RT. 目前有计划支持在DataQL中使用Headers参数嘛?@zycgit

@zycgit
Copy link
Collaborator

zycgit commented May 9, 2020

已经支持,只不过文档上没有写这个。 具体参考这个类:net.hasor.dataql.fx.web.WebUdfSource

在 4.1.5 时会把这个文档也放出来。

@zycgit zycgit closed this as completed May 9, 2020
@meglory
Copy link
Author

meglory commented May 9, 2020

@zycgit 好的,多谢,请问4.1.5版本大概什么时间发布呢,另外,想问下,DataQL有没有相关的性能测试数据

@zycgit
Copy link
Collaborator

zycgit commented May 9, 2020

  1. 4.1.5 正在准备发布,第一个会先放一个 beta 版本出来。
  2. 性能这一块主要是2方面决定的
    1. 合理利用 Dataway 的 SPI 做一些缓存工作。比如:结果缓存、编译缓存
    2. SQL 查询场景下,优化 SQL 语句,不要返回过大的数据。

社区里面的情况不清楚,但是我们在一个大客户的场景下面压测下主要瓶颈在网络IO和后端数据库。 DataQL 的性能开销是忽略不计的,开启了编译缓存之后。每个接口的性能开销是按照个位数毫秒计
n <3ms ,主要性能的地方是在 请求参数的 json 解析。

@meglory
Copy link
Author

meglory commented May 9, 2020

好的,非常感谢^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants