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

slow message loading when topic is compacted and filter is oldest #427

Open
4 tasks done
wanisfahmyDE opened this issue May 30, 2024 · 12 comments
Open
4 tasks done
Assignees
Labels
area/messages scope/backend Related to backend changes status/triage/completed Automatic triage completed type/bug Something isn't working

Comments

@wanisfahmyDE
Copy link

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

We have several compacted (cleanup policy: compact) topics in our clusters, when we try to load messages in any of them using the "oldest" filter, it takes a significant amount of time to load (around 1 minute or more). Worthy to note that this doesn't occur when selecting the "newest" filter.

The topic size is around 17MB.

We monitored the CPU and memory of kafbat and increased it significantly in efforts to get a faster load time, but it didn't help. The app logs and console logs looks normal

We have significantly larger topics that are not compacted and they load the messages instantly, regardless of which filter.

Expected behavior

messages in compacted topics are loaded faster, like normal topics that have delete cleanup policy

Your installation details

running the latest main 1196f9f docker image deployed in EKS as a normal k8s deployment without helm.

Steps to reproduce

create a compacted topic and load it with some significant data

Screenshots

Bild
Bild (1)

Logs

No response

Additional context

No response

@wanisfahmyDE wanisfahmyDE added status/triage Issues pending maintainers triage type/bug Something isn't working labels May 30, 2024
@kapybro kapybro bot added status/triage/manual Manual triage in progress status/triage/completed Automatic triage completed and removed status/triage Issues pending maintainers triage labels May 30, 2024
Copy link

Hi wanisfahmyDE! 👋

Welcome, and thank you for opening your first issue in the repo!

Please wait for triaging by our maintainers.

As development is carried out in our spare time, you can support us by sponsoring our activities or even funding the development of specific issues.
Sponsorship link

If you plan to raise a PR for this issue, please take a look at our contributing guide.

@Haarolean Haarolean added scope/backend Related to backend changes area/messages and removed status/triage/manual Manual triage in progress labels Jun 3, 2024
@xuyuanz
Copy link

xuyuanz commented Jun 5, 2024

Similar problem we noticed: for compact topics, oldest is working fine for us. But when we switched to use newest, it took forever to load.

@iliax
Copy link
Contributor

iliax commented Jun 5, 2024

@Haarolean this should be fixed due to #406

@Haarolean Haarolean linked a pull request Jun 10, 2024 that will close this issue
13 tasks
@Haarolean
Copy link
Member

@Haarolean this should be fixed due to #406

@wanisfahmyDE @xuyuanz please verify, the image is available under ghcr.io/kafbat/kafka-ui:main

Copy link

kapybro bot commented Jun 10, 2024

Further user feedback is requested. Please reply within 7 days or we might close the issue.

@kapybro kapybro bot assigned wanisfahmyDE and unassigned iliax Jun 10, 2024
@wanisfahmyDE
Copy link
Author

hey @Haarolean, yes the image is ghcr.io/kafbat/kafka-ui:main. the commit SHA is 1196f9f

Copy link

kapybro bot commented Jun 10, 2024

Thanks for the additional feedback! We'll get back to your issue soon.

@Haarolean
Copy link
Member

@wanisfahmyDE so does it work now?

@wanisfahmyDE
Copy link
Author

no it doesn't, I created the issue when we were running already on ghcr.io/kafbat/kafka-ui:main

@xuyuanz

This comment was marked as off-topic.

@SubhraB

This comment was marked as off-topic.

@Haarolean

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/messages scope/backend Related to backend changes status/triage/completed Automatic triage completed type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants