How to cache local dataset and auto update if sql Table changes


I have a console app which processes upto 100 message queue items (xml) every second
Each item needs to do at least 1 sql statement lookup

this will obviously hit the DB quite hard, so I was wondering if its possible to store the SQL Server table in memory (its a relatively small number of rows (500-1000)

However, if someone adds something to this lookup table, I need the console app to get the latest version of it to stop it being out of sync

Performance is my number 1 objective, each row needs to be processed separately, checked against the lookup table and then i can do what i need with it (insert records)

My question is
1. Is it possible to cache a dataset locally which updates automatically when the table is edited?
2. Can you help with code samples to get me going
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PortletPaulEE Topic AdvisorCommented:
What edition/version of SQL Server?
websssCEOAuthor Commented:
2014 enterprise
Éric MoreauSenior .Net ConsultantCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.