This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Parallel Checkout | |
| # -------------------------------------------------------------- | |
| # Example of performance gained by using a parallel checkout in an e-commerce store, | |
| # | |
| # to run 500 checkouts in series: time elixir checkout.exs 500 serial | |
| # to run 500 checkouts in parallel: time elixir checkout.exs 500 parallel | |
| # | |
| # Typical E-commerce checkout flow uses a bunch of network bound tasks, that are generally | |
| # computed synchronously. This wastes time and requires larger server clusters to handle peak times | |
| # |
OlderNewer