I have been going back on forth on a design issue. I have a helpdesk solution used by our company that is simply a VB client & a SQL backend that runs on our LAN. I am attempting to rewrite it in 2005 (from 2003) to learn more about the new 2.0 framework and whatnot. My question is, what is a more efficient way for concurrent users to communicate when the add/edit/delete tickets?
Currently I have a timer control that fires off every X minutes to query the DB and look at the update date on the record. Anything new/updated/deleted gets returned in a disconnected recordset and I process this on the client making the appropiate changes to the ticket listing. It works well, but I wonder if it is slow due to the constant queries.
I have been thinking of a second choice with a server service that utilizes messaging. I don't have much experience in this, but I'm sure I could figure it out. But basically, when the client makes a change, it would send a message to the server service, which would then send out a broadcast to any other clients that may be logged in. This scenerio gets rid of unncessary SQL querries, and seems to be more efficient.
Does anyone have any quidance or suggestions? If the messaging is the way to go, does anyone know of a solid tutorial? Is there another option I am missing?
TIA,
Rob
Currently I have a timer control that fires off every X minutes to query the DB and look at the update date on the record. Anything new/updated/deleted gets returned in a disconnected recordset and I process this on the client making the appropiate changes to the ticket listing. It works well, but I wonder if it is slow due to the constant queries.
I have been thinking of a second choice with a server service that utilizes messaging. I don't have much experience in this, but I'm sure I could figure it out. But basically, when the client makes a change, it would send a message to the server service, which would then send out a broadcast to any other clients that may be logged in. This scenerio gets rid of unncessary SQL querries, and seems to be more efficient.
Does anyone have any quidance or suggestions? If the messaging is the way to go, does anyone know of a solid tutorial? Is there another option I am missing?
TIA,
Rob