• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ColdFusion11 Application - Users upload the documents and updated the information.

Community Beginner ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

ColdFusion application running on single server, users login and upload the document and save the information and update whenever they can..

If the same application is transfer to the multiple server (For Ex: Server 1 and 2) and when the same user want to update his latest information the "webroot" will be updated in one Server.  Due to Load-Balancer we might connect to Server '1' and Server '2'. what if the user logged into the application and verify his information and he connected to the different server this time, he cannot find his updated info.

Please help me to resolve this issue.

Thanks in advance!

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 25, 2017 Oct 25, 2017

dineshvcloud  wrote

If the same application is transfer to the multiple server (For Ex: Server 1 and 2) and when the same user want to update his latest information the "webroot" will be updated in one Server.  Due to Load-Balancer we might connect to Server '1' and Server '2'. what if the user logged into the application and verify his information and he connected to the different server this time, he cannot find his updated info.

This problem tells you that there is something wrong with the des

...

Votes

Translate

Translate
Advocate ,
Oct 23, 2017 Oct 23, 2017

Copy link to clipboard

Copied

You might not get much help here as this is not a Coldfusion issue.

 

However, if you are using load balancers then you will need to make sure something like Sticky Sessions is enabled so that the user tends to resume the same session each time. Realistically though for uploading files you need a central storage that each web server can access (DFS Share etc) so that no matter which server you upload to, the file is accessible.

 

If you wanted to go further you could even use the Coldfusion Clustering (Enterprise) but this relates to sessions etc only, not to the file uploading.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 24, 2017 Oct 24, 2017

Copy link to clipboard

Copied

Appreciate you response, I thought CF Mapping would help in these kind of scenarios.

Please let know if we can use Logical Path to redirect the webroot.

Thank You!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2017 Oct 25, 2017

Copy link to clipboard

Copied

dineshvcloud  wrote

If the same application is transfer to the multiple server (For Ex: Server 1 and 2) and when the same user want to update his latest information the "webroot" will be updated in one Server.  Due to Load-Balancer we might connect to Server '1' and Server '2'. what if the user logged into the application and verify his information and he connected to the different server this time, he cannot find his updated info.

This problem tells you that there is something wrong with the design. If your solution is properly designed, the client and the load-balancer will know nothing about the location of uploaded files. haxtbh​ has given you what is possibly the best design:

for uploading files you need a central storage that each web server can access (DFS Share etc) so that no matter which server you upload to, the file is accessible.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 25, 2017 Oct 25, 2017

Copy link to clipboard

Copied

Adding "Central Storage" would be the best possible way to solve this design.

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 25, 2017 Oct 25, 2017

Copy link to clipboard

Copied

Please mark haxtbh​'s answer as correct. In this way, you will certainly be helping someone else in future.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

LATEST

Hi dineshvcloud​, the correct answer is Haxtbh's, not mine!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation