rai
  • Posts: 92
  • Joined: 23/02/2008
I am using the YAFNet to post new beta builds of software. These builds can be 200MB. When I have made such a post the post is slow loading. It makes me wonder if you load attached attachments to memory or similar? It seems a bit unnessary and will take both time from users and db (my files are stored in db).

You can see a page here:

https://www.visualcron.c....aspx?g=posts&t=9797 

Thanks
Sponsor
tha_watcha
  • Posts: 4133
  • Joined: 06/03/2010
No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.
UserPostedImage
rai
  • Posts: 92
  • Joined: 23/02/2008
Originally Posted by: tha_watcha 

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.



For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?
tha_watcha
  • Posts: 4133
  • Joined: 06/03/2010
Originally Posted by: rai 

Originally Posted by: tha_watcha 

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.



For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?



Yes you are right. This issue will be fixed with the next update 2.30.02

UserPostedImage
rai
  • Posts: 92
  • Joined: 23/02/2008
Originally Posted by: tha_watcha 

Originally Posted by: rai 

Originally Posted by: tha_watcha 

No the attachments are not cached. I guess it's just takes too much time to load auch huge files from the db.

I guess it would make sense to switch to a file system.



For various reasons it is not possible to switch to file system. I think the big question is why you try to load the file bytes before anyone clicks download - if it is a file? I mean, I understand if it is an image but why do you do this if this is a file?



Yes you are right. This issue will be fixed with the next update 2.30.02



Sounds great! Thanks
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved