Attachment Server for uploading files, images usin

2019-09-05 16:54发布

问题:

I have a different Http server(ServerB) planned for uploading the files, but figuring out what i need to run and how i should program it to make it available for my main web application(Server A) to upload and download files. So that in case if we move to cluster environment, we can still point the same attachment server for uploading images/files etc And we are not burndening the main server if we are uploading plently of files each hour. So Server B is dedicated for upload and downloading attachment via ServerA. Our main application is build mostly on primefaces and JSF. I believe if we are using plain html, in the form we can define the "action" argument to different server, how to do the same in JSF. As of now we don't want to use third party CDN, we want to find alternate solution where we can host ourself in a seperate server. Any suggestion or point me to the url where i can get more information.