vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Ask About Forum Performance with Attachements (https://vborg.vbsupport.ru/showthread.php?t=243428)

kawe 05-27-2010 09:23 PM

Ask About Forum Performance with Attachements
 
Hai, i want to ask about forum performance if i enabled ATTACHEMENT on my forum
attachement not stored on MySQL Data, i already create a new folder under forum root directory for stored all attachement.

if true or not the attachement will affect to forum performance ?

Marco van Herwaarden 05-28-2010 04:32 AM

IT does have an effect, but should be a positive effect as it doesn't strain the MySQL as much.

kawe 05-28-2010 10:18 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 2044435)
IT does have an effect, but should be a positive effect as it doesn't strain the MySQL as much.

ah okey thanks
but, for 7000 members/day can you give me suggestion
i must turn it on or turn it off :D the attachments feature

Marco van Herwaarden 05-28-2010 10:29 AM

Regardless of the number of members it is mostly advised to move attachments to the filesystem.

See also the manual: Attachment Storage Type

pant 05-28-2010 10:51 AM

Yeah mate I would suggest you move everything across to the file system rather than keep it in your database.

Our forum is reasonably sized but has a lot of attachments. It was pretty easy to move avatars/profile pictures/signatures and attachments to the filesystem and page loads are definitly snappier.

If you want any help give me a shout.

Make sure when you you're creating your attachments directory that it is above your Public HTML. So for example the following would be bad.

home/username/public/attachments/ BOOOOOOOOO

This would be good

home/username/attachments/ YAYYYYYYYYYY

The reasons are documented anyway but if you do the former then your usergroup permisions for attachments can be bypassed. If you do the latter then this isn't the case and your attachments are safe :)

MEOW

kawe 05-28-2010 11:14 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 2044540)
Regardless of the number of members it is mostly advised to move attachments to the filesystem.

See also the manual: Attachment Storage Type

Quote:

Originally Posted by pant (Post 2044548)
Yeah mate I would suggest you move everything across to the file system rather than keep it in your database.

Our forum is reasonably sized but has a lot of attachments. It was pretty easy to move avatars/profile pictures/signatures and attachments to the filesystem and page loads are definitly snappier.

If you want any help give me a shout.

Make sure when you you're creating your attachments directory that it is above your Public HTML. So for example the following would be bad.

home/username/public/attachments/ BOOOOOOOOO

This would be good

home/username/attachments/ YAYYYYYYYYYY

The reasons are documented anyway but if you do the former then your usergroup permisions for attachments can be bypassed. If you do the latter then this isn't the case and your attachments are safe :)

MEOW

very thanks for comment
im already stored data to filesystem :D
this attachments will be affected on BANDWITH REQUEST to server ?
if member view / download the atachments.

pant 05-28-2010 12:00 PM

Quote:

Originally Posted by kawe (Post 2044555)
very thanks for comment
im already stored data to filesystem :D
this attachments will be affected on BANDWITH REQUEST to server ?
if member view / download the atachments.

Not quite sure what you mean mate, bandwidth won't be affected though.

Marco van Herwaarden 05-28-2010 01:11 PM

Regardless where they are stored, they will always have to be sent to the user, so bandwidth is always consumed.

kawe 05-28-2010 03:22 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 2044612)
Regardless where they are stored, they will always have to be sent to the user, so bandwidth is always consumed.

thanks :)
i just wait and see
if my forum going slow after enable attachments
i will disable it xD

pant 05-28-2010 03:43 PM

Quote:

Originally Posted by kawe (Post 2044670)
thanks :)
i just wait and see
if my forum going slow after enable attachments
i will disable it xD

If anything your forum will run faster because your not querying the database to serve the attachments. Also, have you moved the avatars (these can be in your PUBLIC HTML)etc into the file system too?


All times are GMT. The time now is 09:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01221 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete