Comments (9)
Is there any interest in the supplied patch?
Just to explain more:
Full synchronization of the CacheRecordManager unnecessarily blocks cache
operations when the underlying RecordManager is in use.
The changes to BaseRecordManager aren't yet needed as the use of bufferInUse is
fully synchronized, so it could just as easily be non-volatile. I was going to
take a pass at reducing the locking there though as well, if there is interest.
I did see that the soft cache was renabled in a later check in, but it is still
unbounded. That requires a separate thread and may not perform well with high
volumes of data.
Original comment by [email protected]
on 29 Jul 2010 at 8:42
from jdbm2.
The coarse grained method level sync blocks of JDBM 1.x have been a performance
issue for me. I'd be interested in the functionality of this patch making it
into the project.
Can the devs update us on the latest plans for concurrency support for JDBM
2.0? I read in the announce thread for this project on the old SF site that
concurrency improvements would be part of the work.
Original comment by [email protected]
on 6 Aug 2010 at 8:26
from jdbm2.
Hi,
sorry for a delay (holidays) and thanks for reading source code.
I will have look at this patch. CacheRecordManager improvement could be
accepted, but I need to check that RecordManager does not modify instances
which are already in cache.
In general I prefer to use 'big lock', it makes it simple and I dont have time
to fix concurrency issues. Elias Ross was working on concurrency before, but I
did not integrate his work into JDBM2.
Original comment by [email protected]
on 12 Oct 2010 at 12:26
from jdbm2.
The Hadoop-Hive guys have reported a problem with the old JDBM. Sadly they've
stopped using it since -
http://wiki.apache.org/hadoop/Hive/JoinOptimization#A1.2_Removing_JDBM
FYI.
Original comment by [email protected]
on 3 Dec 2010 at 4:21
from jdbm2.
I was unable to reproduce problem reported by Hadoop guys.
This patch is not yet in JDBM 2.0, I will add it in next version
Original comment by [email protected]
on 25 Dec 2010 at 9:00
from jdbm2.
I started integrating concurrency cache patch. Will be in JDBM 2.1
Original comment by [email protected]
on 22 Jan 2011 at 5:35
- Changed state: Started
from jdbm2.
[deleted comment]
from jdbm2.
I've had a bash at this as well. My code is in issue #4.
http://code.google.com/p/jdbm2/issues/detail?id=4
Original comment by [email protected]
on 14 Mar 2011 at 5:59
from jdbm2.
Hi,
I integrated patch into trunk. Thanks for improving JDBM and sorry for long
delay.
Original comment by [email protected]
on 14 Apr 2011 at 6:49
- Changed state: Fixed
from jdbm2.
Related Issues (18)
- [Bug fix] Disk memory leak in BTree.java HOT 1
- .t file not deleted. HOT 3
- Bug in getFirstLargerThan in FreePhysicalRowIdPage.java HOT 1
- jdbm.helper.Serialization.writeLongArray(DataOutputStream, long[]) is broken HOT 2
- Access JDBM database concurrently HOT 1
- java.lang.Error: Bad magic on log file, what does it mean? HOT 1
- Bpage Header Exception after kill and resume HOT 3
- Need forceClose
- File left locked after exception during init HOT 3
- HTreeMap.clear() fails on maps with ConcurrentModificationException HOT 1
- NPE in BTree.getRoot() HOT 2
- Improving the SoftReference cache HOT 18
- java.lang.InternalError when retrieveing from a large map HOT 6
- Retrieval of objects from PrimaryStoreMap failing HOT 4
- HashBucket.writeExternal is destructive when HTree has a custom key serializer HOT 3
- [Enhancement] RecordFile.read() implementation doesn't make sense HOT 1
- [Enhancement] RecordHeader.setAvailableSize() speed improvement HOT 5
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 jdbm2.