[zfec-dev] About using zfec

Tanzima Zerin Islam tz.islam at gmail.com
Mon Sep 8 19:43:45 PDT 2008


Hi,
 I have some newbie questions about using zfec.

1. how to use the command line utility zfec?

2. I need to use the erasure coding technique as a part of my project and
have to use the code without installing the whole software. Is there any
library that I can use from my Java code?

3. I figured, I probably have to write wrappers around the C file. But my
question is:
--- I need to have a module where I will provide with the file name and k,
M, and get back an array of pointer to erasure coded data.
Is it possible to do with the C API of the software? The reason why I am
asking this question, is that there is another module named
filefec.py that is supposed to read the input file, and divide it into K
chunks? So If I have to erasure code a file, then first of all
I have to run that script to divide it into blocks and then feed the
returned blocks (that are called primary blocks?) to fec_encode() to
erasure code those blocks?

3. My software written in JAVA and I have to use Jni programming to call the
fec_encode() method of C. My question is, is it absolutely necessary to
install the software for encoding? The reason why I am asking this is that I
donot have administrative permission to install anything on the machines I
am
going to run that software. And I have to be able to call functions or have
a programmatic interface to zfec's library with my java code to be able to
use it.

I will definitely appreciate any help regarding the use of this awesome
library. Thank you.

Tan
Ps: Sorry if I am sending this email multiple times.
-- 
--
Tanzima Zerin Islam
Graduate Student
School of Electrical & Computer Engineering
Purdue University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://allmydata.org/pipermail/zfec-dev/attachments/20080908/d98eacbb/attachment.htm 


More information about the zfec-dev mailing list