Results 1 to 4 of 4
  1. #1
    j2ee_chap is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default Springs+Cluster+FileDownload

    I have a web application which run on single tomcat server. We use Springs MVC and DI + we have a index engine to index files like pdf, word etc.

    We need to scale this application to work in a cluster now. We have our documents stored on file system (pdf, word) etc which user can download from our web interface. Also we manage indexes to be able to search. Once we go on a cluster my questions are

    1. How would each node be able to serve the document which are on the file system now ? Is there a good solution other than replicating all documents manually on each server? We are hosting on windows.

    2. How do we take care of indexing and searching in cluster? Ideally only one node should be allowed to write to the index and all other nodes should be able to search?

    3. Do we need to move to Jboss for better cluster support?

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default

    We need to scale this application to work in a cluster now.
    Hi
    Why did you decide this solve for scalability? I guess you use Lucene for index and search data. This framework allows to use big data and you don't need use clusters.
    And Spring allows to make a distributed application without use some JEE container.
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    j2ee_chap is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default

    I do not use lucene and use dtsearch as the search engine. Also the application has other features and thus scalability is not a requirement keeping on search and indexing in mind but is a general requirement for the application to server 1000+ concurrent users.

  4. #4
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

Similar Threads

  1. Help me with cluster !!
    By ariuka in forum Advanced Java
    Replies: 2
    Last Post: 09-16-2010, 01:40 PM
  2. Replies: 0
    Last Post: 02-04-2009, 10:46 AM
  3. Replies: 5
    Last Post: 10-14-2008, 07:16 PM
  4. How to use Collection in Springs
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 09:36 PM
  5. Cluster using 2 machines
    By Albert in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 07:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •