SPLWare / SPLWare/esProc

【强力建议】集算器增加连接池功能

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

Nobody has claimed this yet.

Dominant language
Java
Stars
4.7k
Forks
364
PR merge metrics
No merged PRs in 30d

Description

springboot连接集算器后,每次调用都要打开和关闭;现在我打开之后,先不关闭,导致每次都创建很多连接报内存溢出异常。
4b76b740063b432fddc2eb207f96b4a
分析如下:
b033fc2b7639c410b940d7f31513f15

想期望一次open,等处理完所有批数据后再关闭;

Contributor guide

Open the contributing guide

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 locating the Spring Boot integration and the esProc connection open/close lifecycle. Reproduce repeated calls that create connections and observe the reported memory exhaustion. Done should mean connections can be reused across batch processing, are closed after processing completes, and the reported growth no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.