[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] [Salvo] Which Store ? Derby or File system

On Sun, Jun 12, 2011 at 12:24 AM, Markus Alexander Kuppe <ecf-dev_eclipse.org@lemmster.de> wrote:
On 06/11/2011 08:38 PM, Isuru Udana wrote:
> Hi Harshana,
> File System based store implementation uses set of text files to store
> data. For an example "Servers.txt" is used to store server data.
> Derby based store implementation uses apache derby database system.

What kind of data do you intent to store anyway? An SQL db sounds like
overkill if you just want to keep a bunch of server configs.

In Salvo we are providing offline reading functionality.  So we need to store the retrieved articles.
Salvo is supposed to sync messages to disk, I'd favor something more
sophisticated than a file (e.g. to speed up search).

Would it work to hide storage behind a common API so that storage impl
can be chosen at deployment time?

That hiding is already there.
Derby store and FS store is two implementations of that API.
We need to choose one of them to use for the product.
I think letting user to choose the store system is not user friendly.


ecf-dev mailing list

Isuru Udana

Department of Computer Science & Engineering,
University of Moratuwa

: http://mytecheye.blogspot.com/
gTalk: isudana  skype: isudana