Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
GetAttachment incredibly slow now that it uses a stream instead of byte[]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cassie  
View profile  
 More options May 2 2012, 11:52 am
From: Cassie <cassie.mari...@gmail.com>
Date: Wed, 2 May 2012 08:52:28 -0700 (PDT)
Local: Wed, May 2 2012 11:52 am
Subject: GetAttachment incredibly slow now that it uses a stream instead of byte[]
In my project we were using version 412 of RavenDB. We had no problems
pulling attachments using the GetAttachment method. We recently
upgraded to version 888 and now the attachments that used to take less
than a minute to get are now taking over 10 minutes. Is there a way to
use the old method of getting attachments rather than the new way or
to improve performance?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options May 2 2012, 12:12 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 2 May 2012 19:12:01 +0300
Local: Wed, May 2 2012 12:12 pm
Subject: Re: [RavenDB] GetAttachment incredibly slow now that it uses a stream instead of byte[]

You can always get the attachment using web request
I can't think of any readin why this would happen
What is the attachment size?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options May 2 2012, 12:12 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Wed, 2 May 2012 19:12:14 +0300
Local: Wed, May 2 2012 12:12 pm
Subject: Re: [RavenDB] GetAttachment incredibly slow now that it uses a stream instead of byte[]

Can you produce s repro?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cassie  
View profile  
 More options May 2 2012, 4:04 pm
From: Cassie <cassie.mari...@gmail.com>
Date: Wed, 2 May 2012 13:04:41 -0700 (PDT)
Local: Wed, May 2 2012 4:04 pm
Subject: Re: GetAttachment incredibly slow now that it uses a stream instead of byte[]
The file that takes 10 minutes is 15MB. I did end up going the web
request route and added the Accept-Encoding header to speed up the
process.

On May 2, 10:12 am, "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options May 3 2012, 5:02 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Thu, 3 May 2012 12:02:09 +0300
Local: Thurs, May 3 2012 5:02 am
Subject: Re: [RavenDB] Re: GetAttachment incredibly slow now that it uses a stream instead of byte[]

ok


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »