Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
lighttpd vs. appache
You don't have permission for this action!
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / General Chat

Unknown User
2011-06-15 17:41:37
hello





I would have like to have your review for lighttpd vs. appache



lighttpd is a server LightTPD



And if you qqun of lighttpd is already running.



Send your comments would be nice






Thank you


-----------------------------------------------------------------------------------------

hello a tous





J' aurais souhaiter avoir votre opinion concernant lighttpd vs appache



lighttpd
Unknown User
2011-06-15 19:43:09
i personally like apache myself, its easier to config with my virtualmin hehe.

I was looking at 1 tracker source that used both, lighttpd and apache, it used light for static stuff that never changes.  Pretty cool idea I think I just wish that source was more supported:(
Unknown User
2011-06-15 23:21:00
Apache > Lighttpd > Nginx...

Nginx is the best.

But i still rather use Lighty  :D

[url="http://foobar.torrentsocial.org/"]TorrentTrader 2.07 on Lighttpd[/url]

ignore the messages in shoutbox, one of my friends thought he could hack Torrenttrader but he epicly failed!
Unknown User
2011-06-15 23:34:41
a lot of people here use apache and a lot of them use it wrong unless you know how to tweak apache then lighttpd would be best for you. try both and you will see the major difference lighttpd without any tweaking has on your server. you could take some sites on here which need a dedi and use apache and put it on a vps running lighttpd without any tweaking. i have been able to tweak a server with lighttpd and have it running at about 100 to 150 mb ram with a panel on it and a couple test sites installed and there are probably some people on here who could do it in 50mb or under.
Unknown User
2011-06-16 16:18:40
je ne suis plus sous appache, et on a constater une nette amelioration sur la fluidit
Unknown User
2011-06-17 02:45:55
Most of people's servers configuration are fine the way they are. TorrentTrader can be optimized very much.

How so?

Well before we start if you have bought a custom theme and decide u dont want to use any others u can simply remove code from TT that handles the theme changes.

If you only want to run a french site you may decide to delete the other languages and instead of using

require_once("themes/" . $THEME . "/header.php");

use the full path

require_once("themes/NB-MyTheme/header.php");

TorrentialStorm implemented Caching... I Would say memcache with file cache as a backup is your best option, so cache more things. About 90% of TT can be cached. Things like searches and that its not really good to cache but still u can cache peers and things.

Alot of people use queries like SELECT * FROM myTable only select the fields u need its quicker... for example

SELECT username FROM users...

Delete things u dont want.

TT is a source code it doesnt mean u have to keep the code as it is. Change it up optimize it.
Unknown User
2011-06-17 21:12:56
"djhowarth, post: 73144":
TorrentialStorm implemented Caching... I Would say memcache with file cache as a backup is your best option, so cache more things. About 90% of TT can be cached. Things like searches and that its not really good to cache but still u can cache peers and things.
Alot of people use queries like SELECT * FROM myTable only select the fields u need its quicker... for example

SELECT username FROM users...
Peers shouldn't be cached because it's important to keep realtime data between bittorrent clients. I advice to alter table "peer" with MEMORY MySQL engine because it's very fast and if MySQL crash, the table is quickly repopulated again.

For the legend of not using SELECT *, it's only true when you have a remote SQL server and you've to reduce bandwidth usage. But when HTTP+SQL are working on the same server, it's counter-productive because you're gonna to cache 10 queries for the same user when you're selecting specifics columns.

For jenny2009's TT version i've cached entire tables into memcache and working only with large tree-arrays. Very powerful to do a shuffle() on it, instead of a ORDER By RAND() :D
Unknown User
2011-06-18 06:30:59
Quote:
Peers shouldn't be cached because it's important to keep realtime data between bittorrent clients. I advice to alter table "peer" with MEMORY MySQL engine because it's very fast and if MySQL crash, the table is quickly repopulated again

I am sorry but i know quite alot of trackers cache there peers, torrents and more if u would like an example visit demonoid.me when u upload a torrent and start seeding it says "Torrent not in pool" meaning they are using caching...

TorrentialStorm made a open tracker in the SVN and that has caching for peers so dont try to tell me im wrong, because its not me thats using a 5.3 MB Framework with whatever shit u got on top of it too
Unknown User
2011-06-18 10:17:27
Woho, be cool man, it's just an advice, not an obligation. It is useless to be unpleasant and/or express some jealousy here. ^^

I've just said, you should try, you'll have better performance with a MEMORY storage engine (read & write) than passing through a caching system only efficient with reading operations. :D
Unknown User
2011-06-24 23:28:09
"jenny2009, post: 73131":
hello



I would have like to have your review for lighttpd vs. appache



lighttpd is a server LightTPD



And if you qqun of lighttpd is already running.



Send your comments would be nice






Thank you


-----------------------------------------------------------------------------------------

hello a tous





J' aurais souhaiter avoir votre opinion concernant lighttpd vs appache



lighttpd

Unknown User
2011-07-31 23:10:10
lighttpd is a lot better than Apache for heavy use. Less overhead and running PHP as FastCGI seems to be more stable than the Apache module. With lighttpd, you do NOT want to use the spawnfcgi with it, you want to use PHP's own one (php5-fpm), it's a lot more stable and better performance.

This is with lighttpd, mysql 5.5, php 5.3.6 + eaccelerator on a fairly low spec server:

 00:13:11 up 8 days,  8:52,  2 users,  load average: 0.38, 0.35, 0.38



MySQL:



This MySQL server has been running for 4 Days 10 Hours 31 Minutes 52 Seconds

Since it's start up, 24,049,759 queries have been sent to the server.





Lighttpd:



Uptime: 7 days 2 hours 38 min 51 s

Requests: 7,589,688 (12/sec)

Traffic: 3.99 GB


Users Online (Now): 25

Users Online (In last 24hrs): 755

Total Peers: 7,759
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728