-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added multithreaded version of caching parser #24
base: master
Are you sure you want to change the base?
Added multithreaded version of caching parser #24
Conversation
Any update on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After updating this PR it is good.
} | ||
}); | ||
|
||
public ConcurrentCachingParser() throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove throws IOException
public class ConcurrentCachingParserTest extends ParserTest { | ||
|
||
@Before | ||
public void initParser() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove throws Exception
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>23.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's newer versions of this. Lets update to 31.1-jre
@bpossolo Is there any chance of getting this merged? |
This version is necessary for multithreaded environment. LRUMap from org.apache.commons.collections.map can hang in multithreaded production environment which is fully reproducible in high load.