Web python framework under GlusterFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



View Project Issue Bizitas Limited

Dear Gluster Users group,

We are looking from feedbacks, advise and production experience running GlusterFS in cloud infrastructure environment.

--  Main aim ---

Using GlusterFS as a mechanism to ensure data application sourcecode replication in order to run a web based Python Framework (https://github.com/odoo/odoo)

See attached cloud infrastructure diagram for more details.

As a Cloud provider we are using Google Cloud Platform.

Servers Specs

GlusterFS nodes

    3 Nodes
    each one with
    2 Vcore
    4 GB ram
    100 SSD external disk (Gluster bricks)


We were able to setup and start a GlusterFS volume:

    Volume Name: XXXXXXXXXXX
    Type: Replicate
    Volume ID:XXXXXXXXXXXXXXXXXXXXX
    Status: Started
    Snapshot Count: 0
    Number of Bricks: 1 x 3 = 3
    Transport-type: tcp
    Bricks:
    Brick1: node01:/mnt/disks/brick01/XXXXXXXXXXX
    Brick2: node02:/mnt/disks/brick02/XXXXXXXXXXX
    Brick3: node03:/mnt/disks/brick03/XXXXXXXXXXX
    Options Reconfigured:
    transport.address-family: inet
    nfs.disable: on
    diagnostics.latency-measurement: on
    diagnostics.count-fop-hits: on


Then install and mount the glusterFS client on one of the application server.
    GlusterFS client/application server spec
    4 Vcore
    8 GB Ram

    We mount the glusterFS volume with the standard glusterfs client.

--- Main Problem ---

Access to the web application from the browser is very slow and we think we are experience really poor performance in case glusterFS have to handle small file (session file, .py sourcecode file).

We have try to read and understand this http://blog.gluster.org/2016/10/gluster-tiering-and-small-file-performance

But even with the new settings below the application still very slow.

    sudo gluster volume set gvol0 features.cache-invalidation on
    sudo gluster volume set gvol0 features.cache-invalidation-timeout 600
    sudo gluster volume set gvol0 performance.stat-prefetch on
    sudo gluster volume set gvol0 performance.cache-samba-metadata on
    sudo gluster volume set gvol0 performance.cache-invalidation on
    sudo gluster volume set gvol0 performance.md-cache-timeout 600
    sudo gluster volume set gvol0 network.inode-lru-limit 90000
    sudo gluster volume set gvol0 cluster.lookup-optimize on


If that helps, please find attach a txt file that collect the "profile" data after 2 hours of "data sharing".

--- Main questions ---

Are we facing a network speed performance?
Are we looking into the right direction (small file performance)?
Shall we look to implement NFS-Ganesha to gain more performance?
Any ideas on how we can tune and improved the situation?


If you need anything else in terms of logs or anything else, don't hesitate to contact us.


Thanks in advance to anyone willing to share their ideas/feedbacks.

Regards,
Marino

Marino Buccolini
IT Development Manager

e:     marino.buccolini@xxxxxxxxxxx

t: 020 8253 4450
w: https://bizitas.com

90-92 Southbridge Road

Croydon

CR0 1AF

United Kingdom



Bizitas Limited

Company Reg: 10145796 


Think about the environment.. Do you really need to print this e-mail?

-----------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY - PLEASE NOTE:
The information contained in this e-mail is confidential and may be privileged.
It is intended for the addressee only. If you are not the intended recipient, please 

delete this e-mail immediately and advise the sender accordingly.

The contents of this e-mail must not be disclosed or copied to any third party without the 
senders express written authority and by opening it, you hereby irrevocably agree to this 
stipulation. If you do not agree, then please inform the sender immediately. 
We cannot accept any responsibility for viruses, so please scan all attachments.
 
------------------------------------------------------------------------------------------------------------------------

Sent by Bizitas Limited using Odoo.

Attachment: profile_gluster_log.txt
Description: Binary data

Attachment: Base GCP Architecture.pdf
Description: Binary data

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux