views:

110

answers:

2

These questions were asked me in a technical interview:

  • If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code?
  • How security pinholes will be handled in an application?
  • What things should be considered while writing a web application?
  • How will you do load/performance testing of web application? Which framework you will use for it?
  • How will you implement a cache for results which require a DB access?

Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

A: 

Rather than give you an answer to an interview question, I'll point you in the right direction. This is important stuff to know, so to be better prepared for your next interview, you'll want to study. The problem sounds like you don't even know where to start.

Distributing your web app across multiple servers is done for Load Balancing. It's not entirely a development issue, but as a developer you do need to be aware of some things.

I'd start here and then google "load balancing asp.net" for further reading.

David Stratton
Thanks a lot David for ur direction. I will go through it.
Tanuja
A: 

At this point, I can only answer your question like this:

  • look at how others do it
  • look at popular frameworks for the platforms you're willing to use, try understanding what they do, why they do it, and how they accomplish it
  • read a lot
  • try hard yourself
  • learn from the numerous mistakes you will make

You cannot get experience from our answers, nor from books. Only by doing things.

For starters, you may rather want to set up a website using a popular open source CMS of your choice, work with it, and learn about configuration etc. Then start writing pluggins and then - like any developer - become convinced that you can do it MUCH better than anyone else. And once you're done with that phase, you're good to go ;)

greetz
back2dos

back2dos