Linux Ubuntu, NFS for logs and cache, NFS or GFS
0
votes
1
answer
2254
views
my company has no dev ops person and I am developer so I hardly know the best practices of dev ops as I am new to it, so please forgive me for any mistake.
I have two Ubuntu machines. Each of them have a exact SAME web server and hence they give access logs. They both are running ruby on rails web server and using nginx.
**Problem:**
Now I need a common place for viewing access Logs and web application logs..
And file caching should ofcourse be common to both web servers.
**For this I have to come this solution**:
Have a separate server for storing cache and logs using NFS. So both the webservers will act as clients and store logs and cache in the NFS server.
I have also heard slightly about GFS.
Now cache is hardly going to get written once in hour or something but logs are written every second.
So I want to know what should I use for this problem ?
NFS or GFS or both ?
Which will give me the best performance ?
Some people say use GFS as I researched a lot in the internet, but I want to know why GFS can be better then NFS in my case?
Asked by user1735921
(95 rep)
Sep 30, 2017, 06:43 AM
Last activity: Jul 10, 2023, 12:04 AM
Last activity: Jul 10, 2023, 12:04 AM