We help IT Professionals succeed at work.
Get Started

architecture check

readyset
readyset asked
on
400 Views
Last Modified: 2012-09-07
We have a pretty big asp.net mvc site that has a lot going on. Pretty much CRUD , UI , some calendars and scheduling stuff on the UI side.

When a student schedule is published in our internal site, we need to communicate with external systems (APIs). We need to trigger these calls based on a value in a table for that particular record. My question is we have a couple of ways to do this :

I believe the best optimized way for this to do is an async process. To achieve this we can:

1) write an async controller that calls one of these services depending on the database value

2) windows service that runs on our server and checks the database records that need to be updated to the external systems.


My question is - which one to choose among the two options? If I go with 2) how can I trigger my windows service depending on the record value. I do not want to keep pinging our production database as this will be creating  performance issues once we scale.

Any thoughts or insights would be appreciated?
Comment
Watch Question
Software Architect
CERTIFIED EXPERT
Top Expert 2005
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE