Results 1 to 4 of 4
Thread: Springs+Cluster+FileDownload
- 04-15-2011, 08:13 AM #1
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
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?
- 04-15-2011, 08:43 AM #2
HiWe need to scale this application to work in a cluster now.
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
- 04-15-2011, 01:15 PM #3
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
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.
- 04-15-2011, 01:57 PM #4
In this way you can use special architecture for it.
see
Actor model - Wikipedia, the free encyclopedia
SEDA - Architecture for Highly-Concurrent Server ApplicationsSkype: petrarsentev
http://TrackStudio.com
Similar Threads
-
Help me with cluster !!
By ariuka in forum Advanced JavaReplies: 2Last Post: 09-16-2010, 12:40 PM -
Sun Certified System Administrator for Sun Cluster 3.2: 310-345
By seedfox in forum Java CertificationReplies: 0Last Post: 02-04-2009, 09:46 AM -
Load balancing feature of webserver across Cluster
By barunva in forum NetworkingReplies: 5Last Post: 10-14-2008, 06:16 PM -
How to use Collection in Springs
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:36 PM -
Cluster using 2 machines
By Albert in forum Advanced JavaReplies: 2Last Post: 07-04-2007, 06:31 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks