Re: [DISCUSSION] Which pagination to use in the v2-API of DS

2024-03-13 Thread David Zollo
Adding another API that uses cursor-based pagination is a good choice. good job! Best Regards --- Apache DolphinScheduler PMC Chair & Apache SeaTunnel PMC member David Linkedin: https://www.linkedin.com/in/davidzollo Twitter: @WorkflowEasy

Re: [DISCUSSION] Which pagination to use in the v2-API of DS

2024-03-11 Thread Xin Cheng
Thanks a lot for your reply. I agree with your point about performance issues. The amount of data in DS is indeed not very large, except for querying the task instance list. Also, cursor-based pagination does not have data conflict/loss issues. If the community thinks that this problem has litt

Re: [DISCUSSION] Which pagination to use in the v2-API of DS

2024-03-07 Thread David Zollo
I think offset-based pagination is more convenient for users, usually users don't have too many pages and it's convenient for users to use open api. Cursor-Based Pagination is proper for much more data. but it's not a good choice for scheduling Best Regards --- Apache DolphinSched