473,662 Members | 2,622 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Serving files, what would be the best way?

Hi,

I have to serve TIFF images (scanned documents) stored on an unique server,
clients are likely to edit these images and send them back to the server..
Ideally, the client would ask something like "MemoryStre am getImage(int
folderNumber, int pageNumber) and he will retrieve the stream corresponding
to he pageNumberth page in the folderNumberth folder!
Implementing this method in a Webservice (IIS 5.1 + flatcomp (to reduce
bandwidth, doesn't seem to handicap performances a lot, and allows to have a
base64 encoded SOAP response compressed to about the original file size))
has been a good solution but I'm worried about very random response times
(far better once the method is in the cache, obviously)
If I serve through a tcpChannel, it seems better (but it's not as flexible
than a ws)
Another solution would be to serve TIFF images via http or ftp and getImage
would return something like a FTP or HTTP URI, but here again it's not
flexible enough imho...
Also I could make a VPN between our different sites but.....

Any kind of suggestion would be very appreciated, because I've been
shilly-shalling for many days..! :-) If you've understood well, what I'm
most interested in is response time...

Thanks alot !
Benjamin

FU2 : m.p.d.framework .remoting
Nov 23 '05 #1
0 910

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
739
by: Benjamin Cabé | last post by:
Hi, I have to serve TIFF images (scanned documents) stored on an unique server, clients are likely to edit these images and send them back to the server.. Ideally, the client would ask something like "MemoryStream getImage(int folderNumber, int pageNumber) and he will retrieve the stream corresponding to he pageNumberth page in the folderNumberth folder! Implementing this method in a Webservice (IIS 5.1 + flatcomp (to reduce bandwidth,...
21
1977
by: Nicholas Sherlock | last post by:
Hey all, People on my website register to be allowed access to certain downloads. I store these files above the document root so that they can't be accessed by Apache (Only from PHP). I wrote a file serving script which dumps the correct headers for the download and calls readfile(). I thought everything was going swimmingly until I realized that my webhost has Safe Mode turned on, and the script execution time is limited to 30...
3
3674
by: Prash | last post by:
IIS serving javascript files, gives me error 4/21/2006 6:48 AM Guys/Gals, I am using IIS as a server to serve the javascript files. But it is giving me the error as "Object doesn't support this property or Method". I have modified the plugin-cfg.xml, to discard the entries of js files. Also, i checked to insure that the .js extension is added to the IIS mime type list by adding a mime type for .js as IIS6 will not serve up
2
1167
by: MatsL | last post by:
Hi, I've run into a problem with url rewriter and an .asp page that needs to be accessed. The rewriter is implemented as an HTTP module and the IIS passes all requests to the asp.net engine. Is it possible to make my HTTP module not handle the request and let IIS take care of it, even though I have a wildcard application mapping. Thanks in advance
2
8907
by: David T. Ashley | last post by:
I've used Apache with the automatic directory indexes ... works great ... just click on the file name and IE magically figures out how to display it .... if it is a .PDF then Adobe Acrobat runs, etc. However, I'd like to "serve" files in a more restrictive context where: a)The user has to have a valid session identifier in order to get a file. b)The files I'd be serving aren't in directories that Apache can get to directly, i.e. not...
15
4339
by: Zhang Weiwu | last post by:
http://www.w3.org/MarkUp/2004/xhtml-faq provided a trick to serve xhtml webpage to IE as application/xml I used that trick and now every one of my xhtml webpage have following first 4 starting lines: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="curseIE.xsl"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
3
1788
by: Sander Tekelenburg | last post by:
Situation: I store news articles as individual PHP files. Each file contains HTML and now and then some embedded PHP snippets. Serving those news articles on the Web works fine, through include(). But I want to also serve them through RSS, and found that in that case the PHP source code is served -- it's not being evaluated. So it seems obvious that I need to first evaluate those PHP snippets, store the result in a variable, and use...
1
1485
by: FeelLikeANut | last post by:
My question is partly a language issue (memory) and partly a Web issue (where the program runs), so I hope everyone will be open to helping. Users may submit and store pictures with my program. I have the choice of storing these pictures either as files on the server or as a blob in the database. The pictures are just user data, and it seems logical to keep them in the database with all the other data. But I'm concerned about how to...
4
1428
by: iceanfire | last post by:
On the backend I have a python script that gets two pieces of information from the database: 1. html 2. xml file The javascript is supposed to : 1. inject the html file into a div 2. use the xml file to create markers on google maps I want to avoid multiple calls to the database, so I was wondering, if
0
8432
marktang
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...
0
8344
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,...
1
8546
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,...
0
7367
agi2029
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...
1
6186
isladogs
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...
0
4180
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...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.