Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. DCOM, Events and Performance

DCOM, Events and Performance

Scheduled Pinned Locked Moved COM
questioncomsysadminperformance
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Firoz
    wrote on last edited by
    #1

    Hi, I have a DCOM application, where the component fires 8-10 events. But all the events are similar in structure. (ie. they doesnt have any data associated with them). The only difference is the event name. So, I can easily use a single event to Notify all my events to the client (And have some Parameter that distinguishes the event to the client). Now, my question is will this (using a single event in place of many events) provide any PERFORMANCE benefits in a DCOM application ?? if yes, How ?? (some technical description will be appreciated) anyway, the number of Network RoundTrips is going to be the same... if no, What will be a good COM programming practice in this situation. (using a Single event or using different events) Thanks, Firoz.

    A 1 Reply Last reply
    0
    • F Firoz

      Hi, I have a DCOM application, where the component fires 8-10 events. But all the events are similar in structure. (ie. they doesnt have any data associated with them). The only difference is the event name. So, I can easily use a single event to Notify all my events to the client (And have some Parameter that distinguishes the event to the client). Now, my question is will this (using a single event in place of many events) provide any PERFORMANCE benefits in a DCOM application ?? if yes, How ?? (some technical description will be appreciated) anyway, the number of Network RoundTrips is going to be the same... if no, What will be a good COM programming practice in this situation. (using a Single event or using different events) Thanks, Firoz.

      A Offline
      A Offline
      Anand Amirineni
      wrote on last edited by
      #2

      Usually Events in COM are a kind of painful. these were designed for in- process DLLs. Each event takes 5 round trips from source to sink to complete its duty. Just imagine, how much load on the network due to these round trips.. If you have 8- 10 events.........think.. 40-50 round trips( calls) I will come up with more info.wait.. Cheers, Anand.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups