Comments (8)
I agree that when iterating only one key and or value should exist at a
time. We should be able to fix this. Also iterating keys shouldn't create a
value and visa versa.
On 22/06/2014 12:40 AM, "RuedigerMoeller" [email protected] wrote:
I had a look and it seems internally complete temporary copies are built
up. Unfortunately my map contains 5 million entries.Is there any way to iterate values or keys of a SharedHashMap in a way
next entry is computed only whenever "next" is called on the iterator ?. NP
with non-standard API as the JDK collection's idea of requiring a
keyset/valueset to offer an iterator is not exactly a good design
performance wise.I would try to add this myself, however I am missing kind of a 20 line
overview how the basic mechanics work (segments, entries, entrysize, free
mem managements, compaction).—
Reply to this email directly or view it on GitHub
#34.
from hugecollections-old.
We have just raised the following JIRA, to address this issue.
higherfrequencytrading.atlassian.net/browse/HCOLL-110
On 22 Jun 2014, at 00:40, RuedigerMoeller [email protected] wrote:
I had a look and it seems internally complete temporary copies are built up. Unfortunately my map contains 5 million entries.
Is there any way to iterate values or keys of a SharedHashMap in a way next entry is computed only whenever "next" is called on the iterator ?. NP with non-standard API as the JDK collection's idea of requiring a keyset/valueset to offer an iterator is not exactly a good design performance wise.
I would try to add this myself, however I am missing kind of a 20 line overview how the basic mechanics work (segments, entries, entrysize, free mem managements, compaction).
—
Reply to this email directly or view it on GitHub.
from hugecollections-old.
I would try to add this myself, however I am missing kind of a 20 line
overview how the basic mechanics work (segments, entries, entrysize, free
mem managements, compaction).
@RuedigerMoeller if you are keen to make this change and are willing to contribute it back via a pull request, let me know. We could cover your questions on SHM via a one-one video conference ( say http://www.gotomeeting.com ), let me known if you would like me to arrange this and if so, what time/date best suits you London,UK working hours are best for me.
Alternatively we will fix this issue, possibly in the next few months.
from hugecollections-old.
Fine, I'll try to implement.
@BoundedBuffer I'll try to contact you via Google Hangout. I am located at Frankfurt. I don't think the security infrastructure @ office is prepared to route video streaming :-), Also no webcam+mike installed on dev machines.
Alternatively I'll ask stuff right in this issue, as i am frequently working from home/at night if this is ok for you.
from hugecollections-old.
Sure - google hangouts if fine. I'm not on line at the moment ( today ) , but I am usually free in the evenings.
You will have access to the jira in this thread, it's preferable if we added comments / questions to the jira, I am assuming that you will issue a pull request once fixed, if so please add the jira code HCOLL-110 to the start of the comments in the checkin.
Rob
On 22 Jun 2014, at 09:41, RuedigerMoeller [email protected] wrote:
Fine, I'll try to implement.
@BoundedBuffer I'll try to contact you via Google Hangout. I am located at Frankfurt. I don't think the security infrastructure @ office is prepared to route video streaming :-), Also no webcam+mike installed on default fev machines.
Alternatively I'll ask stuff right in this issue, as i am frequently working from home/at night if this is ok for you.—
Reply to this email directly or view it on GitHub.
from hugecollections-old.
I will be in Frankfurt this week. Would you like to meet after work?
On 22/06/2014 9:41 AM, "RuedigerMoeller" [email protected] wrote:
Fine, I'll try to implement.
@BoundedBuffer https://github.com/BoundedBuffer I'll try to contact you
via Google Hangout. I am located at Frankfurt. I don't think the security
infrastructure @ office is prepared to route video streaming :-), Also no
webcam+mike installed on default fev machines.
Alternatively I'll ask stuff right in this issue, as i am frequently
working from home/at night if this is ok for you.—
Reply to this email directly or view it on GitHub
#34 (comment)
.
from hugecollections-old.
Now that's a good idea :)
Let's move to mail to figure out details: i am at gmail dot com moru0011
-ruediger
from hugecollections-old.
I'll close this, as with correct configurations (use smallish segments), de/encoding dominates runtime. So iteration is a secondary issue. Iteration is problematic once you have big segments.
from hugecollections-old.
Related Issues (20)
- setSegments(int) is not public in HugeConfig; cannot be accessed from outside package HOT 3
- Comparing behaviour of HugeHashMap with HashMap HOT 2
- custom marshalling/serialization HOT 16
- remark on replication/distribution HOT 9
- how to get exactly 1 OpenHFT test to run HOT 10
- Using Shared/HugeHashMap HOT 3
- PingPong latency test across /dev/shm/SharedHashMap IPC ... HOT 19
- support for "read through" and "write behind" gettr/settrs (in addition to JBI) HOT 25
- Cache size exceed bug HOT 1
- TCPSocketReplication4WayMapTest testBufferOverflow failed (Windows 8.1) HOT 10
- VanillaShortShortMultiMap is full when capacity is still available HOT 5
- Difference between setSmallEntrySize and setCapacity
- problem using SharedHashMapBuilder ... HOT 6
- OpenHFT scope of capability re: SHMEntry fields (user JBI supplied) and "barrier" operations HOT 9
- HugeHashMap with JPA elements HOT 4
- SharedHashMap causing crash on Windows OS HOT 28
- Chronicle Map not thread-safe in certain circumstances HOT 14
- ChronicleMap / ChronicleMapBuilder - actualEntriesPerSegment restricted to minimum of 8 HOT 13
- too many Segment.getKey() invocations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugecollections-old.