The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
17 views

How efficient is the tac command on large files

The taccommand (catreversed) can be used to read a file backwards, just like cat reads it rom the beginning. I wonder, how efficient this is. Does it have to read the whole file from the beginning and ...
2
votes
0answers
32 views

Efficiently get file deltas for backups

With many large Xen sparse image files that have to be backed up, I'm looking for a way to do this efficiently both in terms of disk space (saving space with a differential tool like duplicity, bup, ...
0
votes
2answers
178 views

How to tell which script is slowing down the server the most?

As it happens often to coders, I had to take over someone else's code for this company, the server runs on Amazon Cloud (i2.xlarge) running ubuntu-saucy-13.10-amd64-server. (the guy left) The ...
0
votes
4answers
129 views

Does using all cores reduce efficiency?

I have a program (well, php script) which does some pretty heavy text searching - it loads a 2mb and 40mb file and searches through them to find where each word that appears in the first is present in ...
2
votes
2answers
250 views

SSH multiple TCP connections for single transfer

I'm trying to backup a huge tar archive (150GB) from a root server (Debian Wheezy) to my local storage server (Cygwin). Speedtests with the root server give me about 100 - 120 MB/s download rate and ...
4
votes
2answers
416 views

What is the most efficient way to add a lot of data to a mysql database?

I have a batch of data that needs to be added to a mysql database every day consisting of about 100K queries. START TRANSACTION; INSERT IGNORE INTO info (Created, Modified, MType, Pform, Name, ...
0
votes
1answer
73 views

Mysql proxy in comparison with two database connection

We have a situation in which we have master salve databases, we write in master and read from slave. in application we defined two connections one for write and other for read. I came to know know ...
0
votes
1answer
82 views

In cloud environment is it better to get two separate instance for mysql and php-app or get one large instance

We are using cloud environment for our web-apps, i need an expert opinion on hosting our applications. our application built on php & mysql, i want to know which is the most efficient and/or cost ...
5
votes
1answer
245 views

What's the effect of iptables/ufw deny filters on server load?

I'm wondering how scalable it is to add IP addresses or subranges I want to block into ufw. E.g., I do this whenever I discover a particularly bad bot or server farm. As my list grows, I wonder how ...
-2
votes
1answer
40 views

Working against 1 big server or multipile small ones [closed]

I've seen many answers to this question But not in the format I'm interested in. I'm developing an app that should upload data to a server. The app has users playing against each other with that data. ...
6
votes
5answers
827 views

Why aren't features like gzip enabled by default on many webservers?

Having played with several web servers online, I've seen things such as goDaddy not enabling gzip by default. Same with a few IIS drops, default installs of apache, and so forth. I keep running ...
7
votes
1answer
894 views

using temporary files vs pipes advantages and disadvantages

say I have a file named jobs.csv and I would like to get the top 50k jobs done by Foo I can either do: # cat jobs.csv | sort -u | head -n 50000 > /tmp/jobs.csv # cat /tmp/jobs.csv | while read ...
6
votes
3answers
14k views

How to setup Memcached/APC on Ubuntu Server 10.04 for PHP?

I will be soon setting up Simple Machines forum on a fresh Ubuntu Server 10.04 VPS. The forum software is written in PHP. I will using Nginx as the web server, and I will be following a guide to ...
3
votes
4answers
307 views

Virtualization for efficiency? Doesn't it defeat the point of an OS at all?

This link VMware Virtualization seems to be saying that running a virtual machine and spreading your applications between OS's is more efficient than otherwise. How can this be true? Doesn't a VM ...
4
votes
7answers
475 views

What's the benefit of using “containers” in the datacenter as opposite to regular installation

I have just seen this video: Google container data center tour What is not quite clear to me is, what's the benefit from placing the servers inside containers?