The Artima Developer Community
Sponsored Link

Java Answers Forum
File access in cluster

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Tech Lead

Posts: 3
Nickname: tech20
Registered: May, 2011

File access in cluster Posted: Sep 15, 2011 11:43 PM
Reply to this message Reply
Advertisement
I have a application which stores documents on the file system (PDF, WORD etc)

It indexes those as well and had the capability to download files etc.

Now I want to make this a clustered application for scalability. I am using tomcat/springs/hibernate.

How do all the nodes have access to the files?
How do all the nodes have access to the indexes?

We might change some file attribute as metadata and hence want to reindex and thus need write access as well.

What should be the best architecture to achieve this? Shared file system might be slow and have race condition when we are writing indexes again.

Thanks in advance for the guidance over this.

Topic: Java Classloaders Previous Topic   Next Topic Topic: Java - Stack, heap, method aread, String costant pool

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use