How to implement middleware?

20 pts.
Tags:
AWS
middleware
MySQL
PHP
We are building Android Mobile application and a server web application in PHP and Database in MySQL. We are going to host it online and release the app in Google store, since the number of users using the app is less at the begging, I’m confident that our client server model of implementation will work without any issues. But when the number of users increases over the time and at a time requests to server increases to thousands/millions how to optimize the server performance? One of the solution I know is to use Elastic cloud hosting, which adds the infrastructure dynamically as the traffic grows. Other solution I'm thinking is a middleware, which handles number of requests and does some optimization in talking to server and speeds up the process compared to without middleware.
  1. If we need to implement middleware, do we have to WRITE a middleware LOGIC/ CODE on our own?
  2. Can we use any ready made API which acts like middleware and handles huge traffic by optimizing the server performance?
  3. Is there any hosting (Cloud) service which provides automatic middleware software, and we can use it without even knowing about it?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: