Data folder on another webserver

Can I create a folder called "data" outside of my server before new Elgg installation?

Will it work?

What best practice?

  • @brett it could in theory be slower when data has to come from a network, but as the OS most often cache network files locally and with a good SAN this issue is not your main concern.

  • @RvR:

    Yes it is posstible to move your data folder on aws s3 service. Which has it's own props and cons with elgg.

    Props:

    1. All benefits of s3 unlimited storage.
    2. Amazon CDN provides you better access as per the client requests. As @ghumanz explains, is really good for static content. And all uploading files are kind of static content to be served to the community.

    Cons:

    1. Hmmmm. @ghumanz explains, elgg uses php to read file contents for implementing elgg's default access control functionality. we will have to compromise to achieve this. Because if we keep reading files like default, that will obviously make things slower. Because file will be captured by your application server and than serve to the client. Which do not let you take complete benefits of s3 and cdn services. So both are counter part of each other.