Some simple questions that may need some thinking



In this blog post, I have put down some questions that are kind of random questions but they are important questions whenever you develop any software. The answers to these questions depend on the context and require a lot of experience and knowledge to make a good judgment.

  • Where should I store media images for my web application? 
    • Inside web application
    • On a web server 
    • In a database 
    • On a cloud 
  • Where should I write an application log messages?
    • In a local file 
    • Syslog
    • RDBMS
    • NoSQL database
  • Where should a client store authentication token?
    • Cookies
    • Local Storage
  • What kind of authentication mechanism should I use for my web application?
    • Stateless session tokens
    • Session Ids
  • What should be the format of log file messages?
    • Free text string format
    • Key-Value Pairs string format
    • JSON
  • What should I use for notifying a service for some action? 
    • A message queue
    • A table in a shared database
  • Can I use a single load balancer to handle the load of hundreds of application servers behind it?
  • For my new project which database is suitable?
    • RDBMS
    • NoSQL
  • Which load balancer should I use?
    • Apache
    • Nginx
    • HAProxy
    • Hardware-based
  • What is the difference between 
    • Fault tolerance
    • Availability
    • Reliability
  • I need to store my log files in a storage so that they can be analyzed later. Where should I store them? 
    • Hadoop
    • Cassandra
    • HBase
  • What framework should I use for decoupling my services from each other?
    • OSGI Framework
    • Micro Services
  • How do I decide if my REST API should take a request variable as
    • A path param
    • A query param
  • I want to keep my business logic loosely coupled with a particular component implementation. What pattern should I use?
    • Dependency Injection
    • Factory Pattern

Comments

Popular posts from this blog

Apache Hadoop Ecosystem

Big Data Before The Internet

Big Data After The Internet