guyl
guyl

Reputation: 2242

making a web service faster (wcf)


We are trying to write an inner wcf service between 2 servers. one off the application is a server application for our clients. the clients sends us files and we then process them and converting them. this whole process takes some time mean while the client session is open, i dont this using async is possible? which way can we make this methodology faster ? keep in mind that we have aprox 1000 files an hour ...each client sends up to 200 files an hour also G

Upvotes: 3

Views: 2118

Answers (2)

Tad Donaghe
Tad Donaghe

Reputation: 6588

This article (link) by Juval Lowy is all about one-way services, wcf call-back methods, etc. It should show you how to set your services up to handle what you're looking for.

One-way services make the call asynchronous - fire and forget. Setting up a call-back does what it sounds like - you can specify a service/method to be called back after a method executes.

Better yet, check out chapter 5 in Lowy's Programming WCF Services (link). It goes into MUCH greater detail than the article above.

I think the first link is enough to get started though.

Upvotes: 1

Rubens Farias
Rubens Farias

Reputation: 57926

You could to send an address to be called back when that file processing is done and it will notify the consumer server. Or to use a message queue on both ends.

Upvotes: 2

Related Questions