Highlighted

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

Community Beginner ,
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!

Adobe Community Professional
Correct answer by BKBK | Adobe Community Professional

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.

Views

1.7K

Likes

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

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

Community Beginner ,
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!

Adobe Community Professional
Correct answer by BKBK | Adobe Community Professional

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.

Views

1.7K

Likes

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
Oct 23, 2017 0
Advocate ,
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.

Likes

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
Reply
Loading...
Oct 23, 2017 1
Community Beginner ,
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!

Likes

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
Reply
Loading...
Oct 24, 2017 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Oct 25, 2017 1
Community Beginner ,
Oct 25, 2017

Copy link to clipboard

Copied

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

Thank you

Likes

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
Reply
Loading...
Oct 25, 2017 0
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Oct 25, 2017 0
BKBK LATEST
Adobe Community Professional ,
Oct 26, 2017

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Oct 26, 2017 0