F
FrenKy
Hi *,
I have a huge file (~10GB) which I'm reading line by line. Each line has
to be analyzed by many number of different analyzers. The problem I have
is that to make it at least a bit performance optimized due to sometimes
time consuming processing (usually because of delays due to external
interfaces) i would need to make it heavily multithreaded.
File should be read only once to reduce IO on disks.
So I need "1 driver to many workers" pattern where workers are
multithreaded.
I have a solution now based on Observable/Observer that I use (and it
works) but I'm not sure if it is the best way.
Any suggestion would be appreciated.
Thanks in advance!
I have a huge file (~10GB) which I'm reading line by line. Each line has
to be analyzed by many number of different analyzers. The problem I have
is that to make it at least a bit performance optimized due to sometimes
time consuming processing (usually because of delays due to external
interfaces) i would need to make it heavily multithreaded.
File should be read only once to reduce IO on disks.
So I need "1 driver to many workers" pattern where workers are
multithreaded.
I have a solution now based on Observable/Observer that I use (and it
works) but I'm not sure if it is the best way.
Any suggestion would be appreciated.
Thanks in advance!