Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

how to sync files stored in one node sync across multiple nodes ?

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using a multi node environment
We are storing the files in a tomcat server.
first user when accessed the application directed to node one and he uploaded the file. the file sits in the tomcat server (T1)
Second user when accessed the application directed to node two and uploaded the file. the file sits in the tomcat server (T2)
first user when accessed the application again directed to node two and the user not able to see the uploaded file as it is there in the node one.

How to handle these situations ?
How to sync files acorss nodes.
what is the best way to implement this requirement ?
do we need to use central file repositories ? Please suggest some examples .

Need your thoughts and inputs. thanks in advance.



 
Saloon Keeper
Posts: 7324
170
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why are files stored "in the Tomcat server" rather than on a file server?
 
Abhishek Reddy
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure, also i am new to the file server.
How easy to setup the file server on the network ?
Any other alternatives to file server.
 
Police line, do not cross. Well, this tiny ad can go through:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic