Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • 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: 7393
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic