Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1102725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:13:48+00:00 2026-05-17T01:13:48+00:00

I have setup a basic WCF client/server which are communicating via Named pipes. It

  • 0

I have setup a basic WCF client/server which are communicating via Named pipes.

It is a duplex contract with a callback. After the client “subscribes”, a thread on the server just invokes the callback as quickly as possible.

The problem is I am only getting a throughput of 1000 callbacks per second. And the payload is only an integer!

I need to get closer to 10,000.

Everything is essentially running with default settings.

What can I look at to improve things, or should I just drop WCF for some other technology?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:13:49+00:00Added an answer on May 17, 2026 at 1:13 am

    While WCF is designed for high throughput and low latency, the scenario you described is pushing the limit. I see a few ways to solve:

    One possible solution is to combine multiple packets into one (like 1 List<int> with 10 elements instead of 10 single int). This will drastically reduce performance losses by extra elements (header etc) for small packets.

    Another idea is to use asynchronous calls, so latency does not limit throughput. Instead of waiting for the previous packet to arrive, you just send the next packets immediately. This can also be achieved using the OneWayCommunication flag.

    Obviously, the underlying data stream format (named pipe, tcp, etc) has an effect on speed as well the the physical channel (ethernet etc). As far as I know, tcp is one of the fastest ways for communication over network and still extremely fast on the local machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup the basic LAMP server on Ubuntu 11.10 and had a few
I have a basic Socket.io server setup like this: var server = express.createServer().listen(port); this.io
Ok, I have developed this WinForms client, which interacts with a server (ASPX Application)
I have setup a basic application which uses the ActiveDirectoryMembershipProvider to talk to our
I have setup a basic app which pulls down a JSON stream and displays
I have to setup a basic JAVA application including a GUI based on swing.
I have a basic invoice setup with models: Invoice, Item, LineItems. # invoice.rb class
Just a basic html link question. I have an intranet setup, and I need
I have basic Spring MVC 3 setup for i18n where I can show labels
I have a basic nServicebus 3.2.0 setup with a web application endpoint and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.