The need for speed
MyBanco is likes to live the fast life.
MyBanco supports installations of all sizes, from a one computer test system, capable of processing around 100 (one hundred) transactions a second, to a 10 machine install, capable of processing around 1500 transactions a second.
Doing the math
1500 [transactions] * 60 [ seconds in a minute ] * 8 [ hours 9 -> 5 ]= 720,000 transactions a day
Four ways to scale!
You can pick four ways to scale. Just find where the bottlenecks are occuring, and add an exrta computer with a particular role.-
Scale the frontend. By adding an extra two servers, you can double the speed! Just install Linux on the two new machines, install Pound (a HTTP load
balancer) on one of the machines, and configure the Apache on the other machine. Pound will now drift between two HTTP servers for any requests sent to the clients.
-
Scale the backend. By adding an extra server, you can double the speed! Just install Linux on a new machine, install MyInfo (MyBanco's Backend)
on the new machine, and configure all the MyBanco frontends to shuffle between the different backend servers.
-
Scale the database. By adding an extra server, you can add an extra speed boost of around 25%! Just install Linux and MySQL on a new machine,
and set MySQL to be a replicated read-only copy of the MySQL database. Then set one or more of the backends to be a read-only backend server, and now any requests
made by frontends (such as phone banking or viewing account details through internet banking) will access the faster read-only database.
- Seperate the services. Got all three services (internet, phone and SMS) on one server? All these services can be seperated onto different servers, adding that extra speed boost.