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
How much peers?!
Controls ·  Search New posts · Mark unread

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

Unknown User
2009-04-20 15:55:10
Hello guys,

I was wondering how much peers torrent trader is able to hold?! I mean... would be possible to have up to 100.000 peers connected for example?!

If not, would be possible to start using a c++ tracker because of the load without lose any torrents?!

And if yes, its easy to do it or hard? Sorry for all the questions! =)

Best regards!
Unknown User
2009-04-20 20:50:28
It depends on the hardware.. and whether MySQL & Apache are actually configured properly
Unknown User
2009-04-20 21:02:44
With this hack:

[url="http://www.torrenttrader.org/index.php?showtopic=9873"]http://www.torrenttrader.org/index.php?showtopic=9873[/url]

And 7 dedicated servers for handle announce/scrape I have arround 450K peers each days:

My record : (with freeleech for a week)



On this month :



My MySQL server is a 2x Xeon with 8GB or RAM...

My 7 "dedicated php tracker servers" are on lighttpd....

I use a lot of memcache hack to reduce MySQL load... For example check passkey : passkey "never" change... You can check if it is valid only once a day...
Unknown User
2009-04-20 21:18:04
"Julia41, post: 56708":
With this hack:[url="http://www.torrenttrader.org/index.php?showtopic=9873"]http://www.torrenttrader.org/index.php?showtopic=9873[/url]

And 7 dedicated servers for handle announce/scrape I have arround 450K peers each days:

My record : (with freeleech for a week)



On this month :



My MySQL server is a 2x Xeon with 8GB or RAM...

My 7 "dedicated php tracker servers" are on lighttpd....

I use a lot of memcache hack to reduce MySQL load... For example check passkey : passkey "never" change... You can check if it is valid only once a day...


that is a lot. do you run your cleanup every 30 minutes or once a day? have you tried breaking up your cleanup into lets say 100K peers at 12 then another 100K at 12:15? if you have tried it does it work or cut down on the load?
Unknown User
2009-04-20 23:47:43
cleanup doesn't really do *anything* with peers except remove the dead ones
Unknown User
2009-04-21 13:40:43
you could handle the same on single server with xbtt  ;)
Unknown User
2009-04-21 15:48:21
You can with a PHP tracker, if you disable some of the heavy stuff (like the advanced snatched mod)
Unknown User
2009-04-21 16:01:01
I run my cleanup each 15 minutes...

My dedicated PHP server are very "little" : Arround 512MB RAM, single core like P4 but a lot :

If one goes down, it's load balanced to another with HAProxy and Round Robin DNS...

I prefer : a lot of cheap server (arround 30 € / month) to 1 big server (arround 200 €/month)

Now, when a tracker is down, my user see nothing....

About the cleanup, I run all the "huge" SQL query directly with BASH and mysql command line...

mysql -u g -ppassword -D dbname -e "DELETE FROM bookmark WHERE userid NOT IN (SELECT id FROM users);" >> /var/log/cleanup/cleanup.log

mysql -u g -ppassword -D dbname -e "DELETE FROM messages WHERE receiver NOT IN (SELECT id FROM users);" >> /var/log/cleanup/cleanup.log

mysql -u g -ppassword -D dbname -e "DELETE FROM peers WHERE unix_timestamp()-unix_timestamp(last_action) >= 21600 LIMIT 5000;" >> /var/log/cleanup/cleanup.log


Query like this with cron each 3 minutes...

For me XBTT is worst : no memcache enable for some things... I can remove/add what I want directly into the code without recompile it...

One of my staff member do this schema...

[url="https://static.guiks.net/images/structtk.png"]Structure Schema[/url]

All my tracker are cheapers dedicated server you can find on leaseweb/OVH... Demand of what we need, sometimes, we try to put tracker on another country to test hosting, bandwidth quality of a hosting service...

Sometimes, one of our tracker server stay down during a week, a month, we let it down because load balancing low cost server do what you need ^^

P.S: Like TS, removing all snatche update let your server very calm ^^

Currently I'm looking just for fun to store Peers table into another MySQL server... Peers table are only called by announce/scrape and we can do some stuff, but need a lot of code before...

mysql_select_db($dbname, $link);
Unknown User
2009-04-21 16:09:02
@lupin i take it u suggest ur source xbit ?

to be quite honest that is quite good because it has xbt support while ttv2 doesnt have it yet
Unknown User
2009-04-21 19:33:28
that is a lot there julia41. anytime your ready send me a backup of all your hard work to make it easier on me lol. i think i would hate having that many peers because it is just me coding and probably would be impossible to do a setup like yours alone or it would take me about a year on my own.
Unknown User
2009-04-21 22:35:58
Your welcome, I try a lot of things for my tracker and it work or not....

It take me arround a year to learn how to do this kind of install with Google as helper  ;)

I give this information for feedback, but I want optain feedback of other people  ;)

for my TT, as I said, the best way to win ressources is to adopt Memcache for coding...

Now my memcache servers are like a 2nd SQL server  :P

I store it, update it, delete it like MySQL do.... But not on the same server  :(

[url="https://images.guiks.net/img/audrey.guiks.net_memcached_rates_year.png"][/url]

As you can see, I store more and more item into memcache server... I win a lot with use of memcache Pconnect (number of connection opened)...

By storing messages : SELECT count... on each page...

user info... etc... you win a lot and a lot :D
Unknown User
2009-04-22 08:11:06
@ djhowarth: I don't suggest to use xbtit but xbtt, there is tt4xbt too, xbtit is not the only frontend for xbtt  :(

@Julia: xbtt don't need memcache (you use it only in place of your announce/scrape) it store informations in memory and write/read to dabatase every 60 seconds (default). I agree with you about hacking (more easy in php than c++), btw compiling xbtt require only 30 seconds (stop, compile, start) ;)
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