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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-03-2010, 06:11 AM   #1
tunafox
Confirmed User
 
tunafox's Avatar
 
Join Date: Apr 2006
Location: Australia
Posts: 275
How many members can htaccess authentication handle?

I'm using htacess to control membership access to my site.

Just wondering how many members I can have before there is a performance hit?
__________________
Hot & wet, just what i'm looking for...
tunafox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 07:49 AM   #2
cardinalvices
Confirmed User
 
cardinalvices's Avatar
 
Join Date: Dec 2006
Posts: 2,084
think of it this way, how many lines can a file have to seriously effect the server performance? I guess a million or more, then it will take around 0.001 second for a server to look through the list.
cardinalvices is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 07:54 AM   #3
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
probably over 1000 or so
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 08:00 AM   #4
myneid
Confirmed User
 
myneid's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: Los Angeles
Posts: 736
yea my best guess is about the same. I wouldnt use a .htaccess file for authentication for anything over 1000 members.
Not just because of the performance hit but the management of those members becomes a beast.
__________________
Tanguy 0x7a69 inc. Programmer/President/CEO
http://www.0x7a69.com
A Leader in Programming since 1996
PHP, Ruby on Rails, MySQL, PCI DSS, and any Technical Consulting
myneid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 08:27 AM   #5
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
You can use .htaccess with MySQL rather than storing everything in a flat file.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 08:27 AM   #6
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,261
Answer: Use .htaccess with MySQL database.
__________________

Adult Biz Consultant A tech head since 1995
RyuLion is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-03-2010, 08:37 AM   #7
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
.htaccess is just a file the webserver is designed to parse.

If AuthConfig is set to All, or other settings, it merely contains directives on what to do for that subdirectory, and any subdirectories thereof.

Apache checking for .htaccess in every subdirectory of the root before finding this one will cause more inode lookups than most .htaccess flat file password combos could ever hope to, especally with FS caching these days.

Generally, you can handle a few thousand if you actually have to, but adding/removing will become a pain, esp if you're not properly locking the file. Using an SQL DB or a state driven key/value pair (memcache, redis) would behoove you for future growth.

I like pie.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.