![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Sep 2001
Location: home
Posts: 1,335
|
traffic manager 3, anyone use it?
I am planning to buy it this week. Is it as good as rb4 or cju?
anybody using it? btw, the url is tgpsoftware.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
|
No SQL, which would only slow down the performance
PHP? Nice and simple language, but slow i agree with those.. looks like that scripts all about proformance. go get it and let us know ;) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Mar 2002
Posts: 37
|
100% recommended
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | ||
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
performed by your apache webserver you're doing something very wrong Quote:
don't know how to build up programs like with any other program languages DynaMite ![]()
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Apr 2002
Posts: 6
|
hello,
traffic manager 3 doesnt use SQL nor PHP. It is coded in C and uses its own DB handling routines. ]gw[ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2001
Location: Amsterdam
Posts: 382
|
also look at xxxmanager. he is posting here from time to time.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
No Refunds Issued.
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Apr 2002
Location: -
Posts: 2
|
submit.tgpsoftware.com is a list, with who we're sharig our galleries. Hi-octane was one of the first, he has special credits.
Kind regards, Tyrex |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Registered User
Join Date: Apr 2002
Posts: 11
|
The only reason to do stuff like that in C is to prevent people from copying it accross the net.
Just because it is C does not make it fast... (probably they use a CGI interface) PHP, Perl,Java are very well suited for a job like this, it just depends how you use it. Some features of this product are quite interesting: CHEAT PROTECTION Written in pure C language (all other scripts still use perl coded cheat protection) - does that make other cheat protection bad? The most detailed and useful cheat logs on the market - Proove? Nightmare for every cheater. -Why? PROFESSIONALLY CODED IN C LANGUAGE Coded in pure C language, the fastest programming language - That depends how you use it. Maybe they should use assembler No SQL, which would only slow down the performance, (we use our own databases) - That's right. That is why nobody is using SQL databases. ;-) BTW, writing your own database is a piece of cake, right? All other scripts are still coded 1/2 in perl. They use perl for cheat logs etc. - So what? That just prooves that perl does the job. Honestly, there must be like dozens of scripts floating around doing the job. Probably not with the same nice GUI, but $300 is quite some money, especially as it is "off-the-shelf" and not "custom made" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Registered User
Join Date: Jan 2002
Posts: 76
|
Quote:
__________________
Pornyhost - 100% free, real FTP, domain hosting, blazing fast servers, no dirty tricks! BANNERLESS ON WEEKENDS |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Feb 2002
Location: Europe
Posts: 767
|
Quote:
![]() As far as MySQL goes, yes, it's a great database system, however for traffic trading scripts it's a nightmare. There is always something wrong with MySQL, it always goes down and it's a bitch to maintain. Tables get corrupted, and when it goes down indeed, your whole site is fucked until MySQL is restarted again. Flat text files will never go down, and if used properly can be faster than SQL. Traffic trade scripts don't need the powers of MySQL, therefore using SQL is a waste of resources. Anyhow, I just hate it when people say that Perl or PHP is just as fast, cause it's not and never will be, no matter how you use it. You can write Hello World in Perl, and Hello World in C, and compare the speeds, and see yourself. C ya
__________________
PicHunter.com,ClipHunter.com,HomeTwat.com -------------------------------------------- not accepting any trades, not selling spots |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
CGI scripts in C open a shell space everytime it is run, that slows it down a bit. But while it executes, its really fast.
A hello world program in PHP would consume less resources than the one in C. But if it does more complicated jobs and also if system operations are involved, C can beat PHP i believe.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Registered User
Join Date: Apr 2002
Posts: 6
|
gotys:
![]() However, I do have something to add here ![]() Lane: Yes. That is true. ![]() DynaSpain: MySQL is great. But in my opinion it is a bit too complex for a only few bytes of data to be stored/loaded on every hit/click. However, I've seen many great products using PHP/SQL db. Keep up the good work! ]gw[ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Jan 1995
Posts: 2,417
|
Quote:
It totally depends on how the C code is written and on what level it's implemented. I'd be willing to bet that a PHP program with the Zend Optimizer could easily out perform a C CGI Program. I'm talking speed of hits and number of concurrent hits on a given set of hardware. C (written properly) is fast... but CGI is SLOOOW. Our counting engines are 100% C as a matter of fact. 100% C means, no apache and no cgi. Our counting engines listen for HTTP Connections and handles them accordingly. We're currently handling over 80,000,000 hits per day and could easily quadruple that on our current hardware. If it were written any other way it would be less efficient, require more hardware and handle fewer hits. There's my 2 cents. ![]() -KC |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
its because you have it implemented as a module i guess.. then its as light as plain html.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Industry Role:
Join Date: Jan 1995
Posts: 2,417
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
Perl and php as fast as C?
*snort* That's funny.
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
C + CGI execution time sometimes takes longer than Perl or PHP + language parsing time
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Apr 2002
Location: Mauritius
Posts: 1,118
|
seams to be good
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
Quote:
What is the functionality level of a PHP script before the C speed overtakes it with the CGI execution time? I'm assuming it's not very much. So in theory, a "hello world" script written in PHP may in fact take less time and less server resources to run than an equivalent C script. But in the real world, that's meaningless. In any real world, equal comparison, C will blow away PHP and Perl based on pure speed and server resources. Having said that... I love PHP and think Perl has it's place. Writing them and maintaining them is a lot easier, and they don't need to be recompiled from server to server. That's their real advantage and that's why they're so widespread in use. Not performance. Performancewise C will crush anything except Assembler.
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Join Date: Jan 2002
Posts: 162
|
how much faster is getting text from a file rather than getting the same data from a mysql database.
and if it's really that fast... why are we using databases that gets corrupt ?
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here We host the scripts for you so you trade on our bandwidth. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Registered User
Join Date: Apr 2002
Posts: 6
|
dodo:
IMHO grabbing a few bytes of binary data from a file can be quite a bit faster than connecting to DB, initializing connection, executing query, returning the data, closing connection. Ofcourse SQL objects need to be linked into the executable which takes additional time when loading it (for each hit/click) ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
Quote:
A one line text file containing something simple like a hit count would be much faster to do as a simple text file. A huge IP log of 300,000 IP's, plus associated browser info, referral URL's, date and time accessed and other info is a much different scenario.
__________________
<a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
i said "sometimes" they are faster (and i assumed mod_perl, not CGI perl) ..and Assembler.. its not the only language that can beat C, but all those are a pain to code..
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | ||||
So Fucking Banned
Join Date: Mar 2002
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the Galaxy
Posts: 893
|
PPL.
I thought of writing the conclusion at the end -but most of you wont read through to that so.. the conclusions are: I am quite sure TM3 will do the job as promised and (untill I am told otherwise) it is probably a great script. So are the other knowed senior scripts. ![]() you are talking about that in a too conceptual level. Perl/PHP/C/Asm - In the reality there is no such thing as a faster language (technically). all languages end up as machine-code. The CPU dont know if a code is perl/c/asm. The only difference is how "efficient" is the translation to the machine-code. With interperted languages - like PHP/perl/Python/... the code is compiled everytime the script is called (or interpeeted during execution in case of some languages). So to avoid that - some smart people cam with the (not so new) idea of compiling the script once and using that compiled code. for perl its called mod_perl. So the question remains - how much more efficient the compilation of C is over perl. the answer is - NOT MUCH MORE. Just a little. Maybe for "hello world" you will see a major difference but for more complicated/DB-based projects the difference will be small. "Hello world" like program would turn to 5000 bytes of machine code with Perl - and maybe 2000-4000 with C (depending on the compiler). Asm compiler will make such program even smaller - 1000 bytes maybe. The BIG question is - is it worth the hassle. Programming in Asm is VERY complicated compared to Perl. Show me someone who does a complicated (trading for example) script totally in Asm and Ill show you a dude with way too much spare time ![]() Its more about good/efficient programming that it is about the complier and a good written script in mod_Perl will be much faster than a badly written one in C or even Asm. Writing in Asm is very laborious - even if you know real good what you are doing (trus me on that one). In most cases - its not worth it. Im not telling anyone what to code with - but take into account that performance may not be that different between mod_perl and C - and may sometimes even be surprisingly NOT what you thought. MySQL VS. Text/Binary file: Almost anyone using Text/Binary file of his own format over a DB dont know much about complicated projects programming/design. (I said Almost - so dont hang me). As a matter of fact - It will VERY muchsurprise some of you - but ALL!! DataBases store the data in a Binary file ![]() Claiming that self concieved binary/text-file is faster than a DB is not really an educated remark. The difference is not the data storing - BUT the data manipulation/retrieval/.... What matters is the DBE - DataBase Engine. That is the part who searches through the data, who deletes it, update and add to it. If someone claims he dont use a DB - but use his own Text-file - he is actually saying he is using his own DBE. Are "you" saying you created a better DBE than MySQL? well if so - you are probably the guy who created MsSQL or Oracle ![]() Unless you are dealing very low ammount of data you stand no change besting DBs like MySQL. Not only you wont be faster - but most likely your script will be more likely to crash and corrupt the file AND you will never be scalable or robust AND will never be able to easily change your script to add more fields or features to it. DBs werent created for the fun of it - they are an essential part of complicated data-centered projects and have no possible replacement. Just clearing out some of people remarks... Quote:
DBs like MySQL not only boost performance, but it starts by making it possible in the first place. If you are saying you hold the/some data in memory - you can still do that with MySQL backing you up for storing the data. Not only this - but mySQL allows you to use an ALL-IN-Memory tables and even for the regular tables it holds indexses and table cache in memory. There is an overhead of connecting to the DB handler - but that is nothing compared to the overhead of using ones own inefficient DB handling routines. I dont know of any major system in the world who uses its own file-based DB. ask yourself why. Quote:
Also - How do you insure that several processes trying to increase a counter wont mess eachother's job? What method do you use? What locking? Do you use little-endian? How can you make sure two processes dont try to access the file for write at the same time? - Are you telling me you write better handlers than well-written DBs like MySQL (with InnoDB handlers). I know thats lots of thechnical words - but trust me - any text/bibary file DB is slower and less stable than the knowen DBs - any of them. Try to manage 5 million records DB with your own writter Text-file DB and tell me which is more resource clogging. About C Vs. perl. Try writing mod_perl apache module writing Hello world versus C CGI script and tell me which is faster. Its all a question of what you compare. Quote:
Quote:
Reading 1 record out of a 2 billion records - from a file will take you several hours as opposed to 0.1 seconds from a DB (if indexed right). Text-files are more corruptable than DBs. most likely they have no recovery mechanisms like DBs have and are not ACID as some DBs are (which means "a motherfuckin reliable-stable-noncorruptable DB [oracle, MSSql...]) Its all a question of design and programming consideration. In conclusion - just to add up the two points - anyone who tries to program his script EVEN with binary-file DB of his own and EVEN with Asm - when comes to complicated script (not a simple counter or 100-trades-max trading script) - does not stand a chance beating MySQL/mod_Perl well written script. Trust me (and many others) on that. |
||||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
Confirmed User
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
|
bla bla bla PHP bla bla combiled bla bla Perl bla bla MySQL bla bla persistant bla bla C++ bla bla fast.
Anyway. This is the load average for a server pushing 300K with TrafficManager3 having all clickable links going through the outgoing script and it uses the internal gallery redirector: load averages: 0.34, 0.49, 0.54 and 88.1% idle CPU. So I think it does the job even though bla bla PHP bla bla Mod_perl uppercase apache and whatever ![]()
__________________
I buy plugs Skype: Due_Global /Due |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
![]() Your script written in PHP sucks. NO, Your script written in C sucks even more. ![]() (Sorry, couldn't find a smily with 2 smilies fighting in the sandbox) |
![]() |
![]() ![]() ![]() ![]() ![]() |