Ecotrust / ak-logbook

Alaska Logbook
MIT License
1 stars 1 forks source link

AWC PDF: performance optimization [1 day] #49

Open perrygeo opened 10 years ago

perrygeo commented 10 years ago

There are several things we can do to improve the speed of the pdf output, all related to the google maps API

Finally, if we really want to speed things up (but complicate the code a bit):

perrygeo commented 10 years ago

Here's a good example of using thread pools for IO-bound processes like http requests:

https://medium.com/building-things-on-the-internet/40e9b2b36148