Can I create a folder called "data" outside of my server before new Elgg installation?
Will it work?
What best practice?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Your data fold must be outside of the document root, but it generally has to be on the same physical server because Elgg needs filesystem access to it.
@Brett OK. Cloud services are unsuitable for files storing :(
@ajoavi Unfortunately, it's impossible :( Storage of files and caching are interlinked via access to the database. And all must be located on disk space with Elgg is installed.
you cannot change server but you can store data on remote server
i think i read somewhere here some monthssss back about someone using amazon ec2 and api for the elgg data folder. don't remember who had posted that, maybe izap ?
why don't you contact your host and upgrade just the space?
@Liang lee Really? Are you tried it?
@DhrupDeScoop I found it
I have increased Elgg performance already. I used caching (Memcache) also. But I would be able to speed up even more, if the Data files would be stored on a remote server eg., CDN.
@Cim It's not a problem with the disk space. Need the independent repository for files :[
We use nfs mounts to store data on other servers without any problem. Also handy for loadbalanced servers
@Jeroen Dalsem Excellent! Then I'll be trying SSHFS
SSHFS is well unsuited for this. You'll want to use NFS or CIFS (aka SMB). If you're going this route, it's best to have the servers on the same physical network.
Setting you data dir to an network mount will not improve performance because the files are still being accessed through PHP. In fact, it's likely to negatively affect performance because you're adding another networking layer between PHP and the physical data. One of the reasons CDNs are faster to serve static files is because they bypass the server side scripting.
Agreed with Bret I already tried this no visible performance seen.
CDN is better for only static contents. Elgg serving dataroot contents through PHP.
- Previous
- 1
- 2
- Next
You must log in to post replies.