June 25, 2009

Help me to improve my system performance

Hi all,

I am administrating some Linux server. One server receive request, query the database, and then reply the location of some js file to clients. Another server stores these js file and serves clients when they request. Each file's size is about some kBs. Each second, the file server receive about 2000 - 4000 request. So the load of the file server is quite high.

I still have some unused server and I need a solution to improve my system.

Any ideas?

try google.com sir :p

try google.com sir :p

Like  (0 likes)

Loadbalancing will be good for your servers. Enable caching (memcachd). Use...

Loadbalancing will be good for your servers. Enable caching (memcachd). Use servers like lighttpd or nginx to serve static content. Also you can use content delivery networks (CDNs) which can serve static contents.

Like  (0 likes)

Loadbalancing will be good for your servers. Enable caching (memcachd). Use...

Loadbalancing will be good for your servers. Enable caching (memcachd). Use servers like lighttpd or nginx to serve static content. Also you can use content delivery networks (CDNs) which can serve static contents.

Like  (0 likes)

Loadbalancing will be good for your servers. Enable caching (memcachd). Use...

Loadbalancing will be good for your servers. Enable caching (memcachd). Use servers like lighttpd or nginx to serve static content. Also you can use content delivery networks (CDNs) which can serve static contents.

Like  (0 likes)

You might consider optimising the server so that it doesn't have to use CPU...

You might consider optimising the server so that it doesn't have to use CPU time to determine the correct js code. You can optimise the js code by removing whitespace and comments, which makes the files smaller.

Also you should reduce the number of requests that are coming in. If there are only a few users compared to the number of requests, then try to combine images/files together. If you're serving pages, put the javascript at the bottom of the pages so that they load last. That way the pages can load the important stuff faster.

Andrea's link to discussion is good if brief http://www.linux.com/community/groups/viewdiscussion/878-Need+a+good+solution?groupid=168

Like  (0 likes)

You might consider optimising the server so that it doesn't have to use CPU...

You might consider optimising the server so that it doesn't have to use CPU time to determine the correct js code. You can optimise the js code by removing whitespace and comments, which makes the files smaller.

Also you should reduce the number of requests that are coming in. If there are only a few users compared to the number of requests, then try to combine images/files together. If you're serving pages, put the javascript at the bottom of the pages so that they load last. That way the pages can load the important stuff faster.

Andrea's link to discussion is good if brief http://www.linux.com/community/groups/viewdiscussion/878-Need+a+good+solution?groupid=168

Like  (0 likes)

You might consider optimising the server so that it doesn't have to use CPU...

You might consider optimising the server so that it doesn't have to use CPU time to determine the correct js code. You can optimise the js code by removing whitespace and comments, which makes the files smaller.

Also you should reduce the number of requests that are coming in. If there are only a few users compared to the number of requests, then try to combine images/files together. If you're serving pages, put the javascript at the bottom of the pages so that they load last. That way the pages can load the important stuff faster.

Andrea's link to discussion is good if brief http://www.linux.com/community/groups/viewdiscussion/878-Need+a+good+solution?groupid=168

Like  (0 likes)

Hello,...

Hello,

Check it out the latest Apache: you can do loadbalancing in an easy/nice way.

Like  (0 likes)

Hello,...

Hello,

Check it out the latest Apache: you can do loadbalancing in an easy/nice way.

Like  (0 likes)

Hello,...

Hello,

Check it out the latest Apache: you can do loadbalancing in an easy/nice way.

Like  (0 likes)

Pages

Click Here!