193 reputation
5
bio website
location
age
visits member for 3 years, 1 month
seen Dec 4 at 4:30

Nov
13
asked Managing shared storage in a high availability environment
Sep
26
comment How should I create a combined interface for two logically independent modules?
@Bobson, what I mean by later splitting the DbQueueLog implementation is that the combined implementation of the IQueue and ILogger interfaces in the DbQueueLog class might later be split apart into separate classes such as RabbitMqQueue and Log4NetLogger as the architectural requirements for the application evolve.
Sep
26
comment How should I create a combined interface for two logically independent modules?
I am coming to a similar conclusion. Because this combination of interfaces actually requires modifications to clients if they are to make use of a new EnqueueAndLogMessage method, I am really creating a new kind of class, not simply replacing the implementation of the existing IQueue and ILogger interfaces.
Sep
25
comment How should I create a combined interface for two logically independent modules?
Unfortunately, this approach doesn't let me combine the implementations of the queue and log services. It just combines separate calls to the methods in separate service implementations.
Sep
25
revised How should I create a combined interface for two logically independent modules?
added full signatures for interface methods
Sep
25
comment How should I create a combined interface for two logically independent modules?
Thanks for the suggestion. I should have included the full signatures for the EnqueueMessage, LogMessage, and EnqueueAndLogMessage methods. The logging that coincides with queue operations requires additional parameters. In other words, the parameters passed to the EnqueueMessage method contain insufficient information for the required log entries to be written.
Sep
23
comment How should I create a combined interface for two logically independent modules?
@RomanSusi Thanks, Roman. I added that it's a C#/Windows app if that helps.
Sep
23
revised How should I create a combined interface for two logically independent modules?
added 134 characters in body
Sep
23
asked How should I create a combined interface for two logically independent modules?
Jan
5
awarded  Scholar
Jan
5
accepted Producer-consumer pattern with consumer restrictions
Nov
16
awarded  Teacher
Nov
16
awarded  Editor
Nov
15
awarded  Supporter
Nov
15
comment Producer-consumer pattern with consumer restrictions
Thanks for the suggestion. Different producers do produce work items at substantially different rates. Another complicating factor is that producers are typically connected over TCP so I wanted to use a single I/O completion port to manage them all rather than having an individual thread for each producer. I think that will require me to consolidate all work items on a single queue.
Nov
15
awarded  Student
Nov
15
asked Producer-consumer pattern with consumer restrictions