[Feature Request] Larger Object Pool
See original GitHub issueStormpot is going great for my Load Balancer but sometimes during peak usages, the object pool is hitting 1.2B objects. Stormpot uses int
so the maximum object pool size is limited to 2B.
Do we have plans to support a larger object pool (greater than 2B) using long
?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Object reuse with ObjectPool in ASP.NET Core - Microsoft Learn
Use object pooling only after collecting performance data using realistic scenarios for your app or library.
Read more >Object Pool Design Pattern - SourceMaking
The Object Pool lets others "check out" objects from its pool, when those objects are no longer needed by their processes, they are...
Read more >Object Pool Pattern - Best Practice Software Engineering
The Object Pool lets others "check out" objects from its pool, when those objects are no longer needed by their processes, they are...
Read more >Object Pool - Game Programming Patterns
When you want a new object, ask the pool for one. It finds an available object, initializes it to “in use”, and returns...
Read more >Objects pooling for Factories (SOLVED) - Defold Forum
Many users already think that factory component work as object pool. It would be a great feature! 1 Like. Ragnar_Svensson ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Makes sense. I will open PR soon.
Still surprising the number of objects would get that high, but okay. The
setTargetSize
can be overloaded to both takeint
andlong
arguments. ThegetTargetSize
cannot be overloaded so that would have to get a sibling called something likegetTargetSizeAsLong
.I’m still waiting for approval to continue working on this project, so what you could do is make a PR with these changes, and then use that branch internally until I’m able to merge it.