Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading file and validate data issue

882656Aug 16 2011 — edited Aug 16 2011
Hey all !

I'm developing an application where I get info from a file and I have to validate the data. What I want is to improve performance. Now I'm thinking about using a PRODUCER-CONSUMER approach to improve performance, having 1 thread reading data from file and having 1 thread validating data.

What do you think? Is there a better approach on this kind of problem?

Thanks in advance :D
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2011
Added on Aug 16 2011
2 comments
663 views