seyyed / scalaris

Automatically exported from code.google.com/p/scalaris
Apache License 2.0
0 stars 0 forks source link

scalaris write and read #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello
I am runing scalaris on windows7 ...I would like to know how can I read and 
write into the scalaris through OtpErlang object if I have a very large file?..

Original issue reported on code.google.com by t.bharad...@gmail.com on 29 Sep 2010 at 4:23

GoogleCodeExporter commented 8 years ago
If you already have an OtpErlangObject, use Scalaris/Transaction.writeObject.
If not, the simplest way is to implement a CustomOtpObject sub-class similar to 
CustomOtpStringObject in our API, then use Scalaris/Transaction.writeCustom.
Remember though that Scalaris is not optimized for very large values - expect 
delays or otherwise strange behavior like timeouts being hit during transfers.

Also this is less an issue but more something that is best discussed on our 
mailing list: http://groups.google.com/group/scalaris

Original comment by nico.kru...@googlemail.com on 29 Sep 2010 at 5:01