I'm working on an file transfer gateway using WSE with DIME for file
attachments. Our goal is to replace our direct file repository access (via
windows network folder sharre) with the Web Service gateway for security
purposes.
As it stands now, all workstations have direct read-write access to the file
repository share. The Web Service gateway will secure this for us. While the
web service gateway is more secure, it doesn't perform anywhere near up to
the performance of a direct file copy. I'm working with a 27 MB file in my
test environment; the client and the web service are on the same
workstation.
Using direct file access, I can copy this 27 MB file in under 2 seconds.
Using the web service, it take between 5 and 6 seconds to transfer the same
file. We understand that we might have to trade a bit of speed for the
increased security, however a 400% increase is really more of a hit than
we'd been anticipating. Is there any way that I can tune performance to
optimize WSE / DIME for large file attachments?
Thanks for your help!
- Joe Geretz - 3 2608
Hi Joseph,
Do a Google search on "084SharpZipLib ". Check out
084SharpZipLib_ SourceSamples.z ip and the DIME example.
Jim
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:Od******** ******@TK2MSFTN GP12.phx.gbl... I'm working on an file transfer gateway using WSE with DIME for file attachments. Our goal is to replace our direct file repository access (via windows network folder sharre) with the Web Service gateway for security purposes.
As it stands now, all workstations have direct read-write access to the
file repository share. The Web Service gateway will secure this for us. While
the web service gateway is more secure, it doesn't perform anywhere near up to the performance of a direct file copy. I'm working with a 27 MB file in my test environment; the client and the web service are on the same workstation.
Using direct file access, I can copy this 27 MB file in under 2 seconds. Using the web service, it take between 5 and 6 seconds to transfer the
same file. We understand that we might have to trade a bit of speed for the increased security, however a 400% increase is really more of a hit than we'd been anticipating. Is there any way that I can tune performance to optimize WSE / DIME for large file attachments?
Thanks for your help!
- Joe Geretz -
Hi Jim,
What does this do, Zips the file before sending it across the wire? Most of
our files are compressed to begin with, so this wouldn't buy us anything in
most cases.
Thanks,
- Joe Geretz -
"Jim Rand" <ji*****@ix.net com.com> wrote in message
news:up******** ******@TK2MSFTN GP15.phx.gbl... Hi Joseph,
Do a Google search on "084SharpZipLib ". Check out 084SharpZipLib_ SourceSamples.z ip and the DIME example.
Jim
"Joseph Geretz" <jg*****@nospam .com> wrote in message news:Od******** ******@TK2MSFTN GP12.phx.gbl... I'm working on an file transfer gateway using WSE with DIME for file attachments. Our goal is to replace our direct file repository access (via windows network folder sharre) with the Web Service gateway for security purposes.
As it stands now, all workstations have direct read-write access to the file repository share. The Web Service gateway will secure this for us. While the web service gateway is more secure, it doesn't perform anywhere near up to the performance of a direct file copy. I'm working with a 27 MB file in my test environment; the client and the web service are on the same workstation.
Using direct file access, I can copy this 27 MB file in under 2 seconds. Using the web service, it take between 5 and 6 seconds to transfer the same file. We understand that we might have to trade a bit of speed for the increased security, however a 400% increase is really more of a hit than we'd been anticipating. Is there any way that I can tune performance to optimize WSE / DIME for large file attachments?
Thanks for your help!
- Joe Geretz -
Oh well. :-(
"Joseph Geretz" <jg*****@nospam .com> wrote in message
news:ev******** ******@TK2MSFTN GP09.phx.gbl... Hi Jim,
What does this do, Zips the file before sending it across the wire? Most
of our files are compressed to begin with, so this wouldn't buy us anything
in most cases.
Thanks,
- Joe Geretz -
"Jim Rand" <ji*****@ix.net com.com> wrote in message news:up******** ******@TK2MSFTN GP15.phx.gbl... Hi Joseph,
Do a Google search on "084SharpZipLib ". Check out 084SharpZipLib_ SourceSamples.z ip and the DIME example.
Jim
"Joseph Geretz" <jg*****@nospam .com> wrote in message news:Od******** ******@TK2MSFTN GP12.phx.gbl... I'm working on an file transfer gateway using WSE with DIME for file attachments. Our goal is to replace our direct file repository access (via windows network folder sharre) with the Web Service gateway for
security purposes.
As it stands now, all workstations have direct read-write access to the file repository share. The Web Service gateway will secure this for us.
While the web service gateway is more secure, it doesn't perform anywhere near up to the performance of a direct file copy. I'm working with a 27 MB file in my test environment; the client and the web service are on the same workstation.
Using direct file access, I can copy this 27 MB file in under 2
seconds. Using the web service, it take between 5 and 6 seconds to transfer the same file. We understand that we might have to trade a bit of speed for the increased security, however a 400% increase is really more of a hit
than we'd been anticipating. Is there any way that I can tune performance to optimize WSE / DIME for large file attachments?
Thanks for your help!
- Joe Geretz -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vaylor Trucks |
last post by:
I have a web service written in ASP.NET using the .NET frame v1.1.4322 and
Web Service Enhancements 1.0 SP1. This web service has 2 nearly identical
methods. That is, the SOAP XML is the same from one method to the next, the
only difference being that one accepts the transfer of an attachment using
DIME and the other does not.
When the non-DIME version of the method is invoked everything works
properly. When the DIME version is...
|
by: Levi Wilson |
last post by:
I have a web service that adds a DIME attachment:
public void GetFile(string filename)
{
SoapContext sc = HttpSoapContext.ResponseContext;
DimeAttachment dimeFile = new DimeAttachment("application/DIME",
TypeFormatEnum.MediaType, @"c:\temp\" + filename);
sc.Attachments.Add(dimeFile);
|
by: Scott, Killer of all Ninjas |
last post by:
It seems incredulous to me that it is so difficult to write the
contents of a memory stream to a file. I'm certain that I'm missing
something simple.
I am retrieving a memory stream from a DIME attachment:
MyDimeService svc = new MyDimeService();
svc.CreateDimedImage();
if (svc.ResponseSoapContext.Attachments.Count == 1)
{
|
by: Vai2000 |
last post by:
Thanks for all responses
Please advice!
Hi All, Clients are uploading large files to my Web Portal. I need to
validate these files using a WS. Problem is file sizes are in the range of
5-20MB!!!!
Q1. How do I send DIME attachments to the WebSvc from my Portal?
|
by: Sven Thorsen |
last post by:
I have a Web Service with a method that handles file uploads.
The file is sent as a DIME attachment to the SOAP request.
The post is successful, the file is received and the correct response is
sent back to the client. So there seems to be nothing wrong at all, except:
This is UNBELIEVEABLY slow!
My last tests were with a 4MB file.
The tests took between 30 and 40 seconds total.
The web service code finished its work in 750-790...
| |
by: LearninGuru |
last post by:
Hi,
I have a situation where I need to return bulky PDF files from a web service
method.
The easiest way to do this is return base64 encoded strings. But as the PDF
files are bulky this would mean that for each web method call the file would
have to be loaded into memory for encoding and returning. This will easily
turn out to be a performance bottleneck if multiple calls are being made to
the web method.
|
by: Abhay |
last post by:
Hi All,
I want to create a webservice which will be used for uploading the
file to the server hosting the Web service.
I want to use WSE DIME Attachments..
I have seen some sample on that , but
Note :
1. I want to upload file upto 50 MB ? This is possible with DIME/WSE. but
this will be achieved
using Chunking ? how can I achieve Chunking in my application is it inbuilt
feature or I have to write the complete code for this ?
|
by: daryl |
last post by:
I have a situation where a webservice has worked fine in a development
environment, but when placed into production has stopped working
(although at one time it was).
Using WSE 2.0/DIME, we wrote a simple File Transfer and retrieval
service, which has to pass through a firewall (the only real difference
between dev and production -- at the time).
Originally, the error was this:
|
by: =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= |
last post by:
I have never sent attachment with webservices.
Yesterday I got the challenge to redesign my solution that sends large XML
structures to a Java webservice. The reason was that the Java SOAP
implementation had problems consuming too large files that way. They
encountered a memory leak in the parser that made the whole mainframe
environment to crash! So the decided they should go for DIME attachments
instead.
I use VB.Net in VS2005.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |