snowflakedb / snowflakedb/snowflake-ingest-java

CPU consume

Open
#953 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
83
Forks
70
Avg merge
1d 7h
Merged PRs (30d)
6

Description

Hi. I'm using snowpipe streaming on my code, but even though I'm not sending any record or even open a channel somehow I'm having 14% of cpu consuming.
I have noticed that if I'm using JVM 11 the cpu consuming is 0% but if i upgrade it to JVM 17 or even 21 I have consuming around of 14%. I have tried to use yours newer snowflake-sdk but it still consume 14% cpu on JVM 17 and above.
I run jprofiler to see where in the code the consuming and add it.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the idle CPU usage described in the issue with JVM 11, 17, and 21, both with no records sent and no channel open. Compare the profiler evidence in the attached image with the reported SDK versions. Done means identifying the cause of the version-dependent CPU use and confirming the behavior after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.