aslushnikov / latex-online

Online latex compiler. You give it a link, it gives you PDF
http://latexonline.cc
MIT License
497 stars 89 forks source link

Latex-Online: code health/rewrite #24

Closed aslushnikov closed 7 years ago

aslushnikov commented 7 years ago

Code health/rewrite.

Since there's a growing interest in the project, some new needs appeared:

  1. it would be nice to cache in file system, not in memcached. This way it will be possible to cache huge compilation targets (e.g. this book)
  2. it would be nice to have a compilation log which will update real-time so that long-compiling targets will not appear "hanging"
  3. it would be nice to make sense out of analytics to have a better understanding of usage. Currently, there's a 'hacked' server-side Google Analytics which is bundled right into the docker image. It's unclear if I'm getting stats of other latex-online hostings
  4. there's also a need for health monitor to track resource consumption

I'm going to spend some time and address these and other issues. However, since today's code was written ~5 years ago and since my thinking has changed drastically, I'll start with aligning code with myself. It's just ~500 lines of code, I don't expect a lot of regressions.