Skip to main content

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

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.

In current implementation both stores works in different platforms with any problem. 

I think derby store is far ahead of File system store in terms of Scalability. For File system based store we need to do string manipulations for retrieve data while in derby we can simply specify in SQL.
Since we are developing a smart client, having a SQL based store implementation is a big advantage.



On Sat, Jun 11, 2011 at 11:26 PM, Harshana Eranga Martin <harshana05@xxxxxxxxx> wrote:
Hi Isuru,

Before deciding which to use, I think we better consider pros and cons of both implementations. I haven't dig in to the Salvo codebase. 

So can you explain how File system based impl work against Derby impl for everyone's reference? Is the FS based implementation supports portability across different platforms? If not, is there any plan to support data migtration between systems? How scalable the FS based implementation is also another aspect to consider IMO.

Thanks and Regards,
Harshana


On 11 June 2011 18:39, Isuru Udana <isudana@xxxxxxxxx> wrote:
Hi All,

Currently we have two Store implementations in Salvo, Derby and File system. 
When running the Salvo from the workbench, we manually start one of the bundle using OSGi console.
This method is not suitable for a product and we need to use of one of the stores for the future implementation.

I prefer to use Derby since we can easily manage it by using SQL queries.
Please express your view on this.

--
Regards,
Isuru Udana

Undergraduate
Department of Computer Science & Engineering,
University of Moratuwa
.

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








--
Thanks and Regards,
Harshana Martin
--
Harshana Eranga Martin
Software Engineer,
WSO2 Inc.
           http://wso2.org





--
Regards,
Isuru Udana

Undergraduate
Department of Computer Science & Engineering,
University of Moratuwa
.

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






Back to the top