<div dir="ltr"><div><div>No problems with web hosting here, including loads of busy Wordpress sites &amp; the like. However you need to tune your filesystems correctly.<br></div>In our case, we&#39;ve got webserver VMs running on top of a Gluster layer with the following configurations...<br></div><ul><li>Swap either disabled or strictly minimised with <i>vm.swappiness=10</i></li><li>All filesystems are mounted with <i>relatime</i></li><li>All logging is exported to an external server<br></li><li>Memcache on each server</li><li>nginx reverse proxy cache (Squid &amp; Varnish&#39;d also do the job)<br></li><li>APC PHP cache</li></ul><p>Joe&#39;s even written a <a href="https://joejulian.name/blog/optimizing-web-performance-with-glusterfs/">page</a> about optimisations.</p><p>In all, the filesystem is only touched when a user uploads a file. Everything else pretty much runs in memory.<br></p><p>This problem isn&#39;t so much Gluster&#39;s fault, as people trying to use a distributed filesystem/volume like a local disk.</p></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 September 2016 at 20:36, Pranith Kumar Karampuri <span dir="ltr">&lt;<a href="mailto:pkarampu@redhat.com" target="_blank">pkarampu@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sat, Sep 24, 2016 at 8:59 PM, Kevin Lemonnier <span dir="ltr">&lt;<a href="mailto:lemonnierk@ulrar.net" target="_blank">lemonnierk@ulrar.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Sep 24, 2016 at 07:48:53PM +0530, Pranith Kumar Karampuri wrote:<br>
&gt;    hi,<br>
&gt;    A A A A A  I want to get a sense of the kinds of applications you tried<br>
<span>&gt;    out on gluster but you had to find other alternatives because gluster<br>
&gt;    didn&#39;t perform well enough or the soultion would become too expensive if<br>
&gt;    you move to all SSD kind of setup.<br>
<br>
</span>Hi,<br>
<br>
Web Hosting is what comes to mind for me. Applications like prestashop, wordpress,<br>
some custom apps ... I know that I try to use DRBD as much as I can for that since<br>
GlusterFS makes the sites just way too slow to use, I tried both fuse and NFS (not<br>
ganesha since I&#39;m on debian everytime though, don&#39;t know if that matters).<br>
Using things like OPCache and moving the application&#39;s cache outside of the volume<br>
are helping a lot but that brings a whole loads of other problems you can&#39;t always<br>
deal with, so most of the time I just don&#39;t use gluster for that.<br>
<br>
Last time I really had to use gluster to host a web app I ended up installing a VM<br>
with a disk stored on glusterfs and configuring a simple NFS server, that was way<br>
faster than mounting a gluster volume directly on the web servers. At least that<br>
proves VM hosting works pretty well now though !<br>
<br>
Now I can&#39;t try tiering, unfortunatly I don&#39;t have the option of having hardware for<br>
that, but maybe that would indeed solve it if it makes looking up lots of tiny files<br>
quicker.<br></blockquote><div><br></div></span><div>I guess website hosting could be small-file workload related? Tiering may not help here until we reduce network round trips. I was wondering if anyone has any write intensive workload that gluster couldn&#39;t keep up with and they had to move to SSDs to make sure gluster works fine with it.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<span><font color="#888888"><br>
--<br>
Kevin Lemonnier<br>
PGP Fingerprint : 89A5 2283 04A0 E6E9 0111<br>
</font></span><br></span><span class="">______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman<wbr>/listinfo/gluster-users</a><br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Pranith<br></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>