Following scenario: We have got a database table, in which new mail messages for the users are stored. When a user has our client application running, the app needs to display an icon that a new mail has arrived when an entry for this user is inserted in the database table.
Roughly 100 users will be logged in at the same time.
Two solutions as far as I see them:
So, which option would you go for?
We are using .NET 4.0 for our clients and MS SQL Server 2008 as database.
Also, in case you vote for solution 1: Would a WCF service be a good idea? Any links or ideas around my scenario would be appreciated.
Thanks all!
Go for option 1. More code, but more scalability.