<commit_before>Architecture
============

Read the Docs is architected to be highly available. A lot of projects host their documentation with us, so we have built the site so that it shouldn't go down. Varnish is the only real single point of failure currently, but we have plans to elimnate that as well.

Diagram
-------
::

                                      +-----------+
                                      |           |
                                +-----|  Varnish  |------+
                                |     +-----------+      |
                                |                        |
                           +---------+              +---------+                                  
       +-------------+     |         |              |         |    +--------------+              
       |             |-----| Nginx   |              | Nginx   |----|              |              
       |  File       |     +---------+              +---------+    |  File        |              
       |  System     |          |                        |         |  System      |              
       +-------------+     +---------+  +--------+  +---------+    +--------------+              
              |  |         |         |  |        |  |         |        |   |                     
              |  +---------|Gunicorn |--|Postgres|--|Gunicorn |--------+   |                     
              |            +---------+  +--------+  +---------+            |                     
              |                             |                              |
              |                             |                              |
              |                     +------------------+                   |
              |                     |                  |                   |
              +---------------------|  Build Server    |-------------------+
                                    |                  |              
                                    +------------------+       
                                                               <commit_msg>small typo in architecture docs<commit_after>Architecture
============

Read the Docs is architected to be highly available. A lot of projects host their documentation with us, so we have built the site so that it shouldn't go down. Varnish is the only real single point of failure currently, but we have plans to eliminate that as well.

Diagram
-------
::

                                      +-----------+
                                      |           |
                                +-----|  Varnish  |------+
                                |     +-----------+      |
                                |                        |
                           +---------+              +---------+                                  
       +-------------+     |         |              |         |    +--------------+              
       |             |-----| Nginx   |              | Nginx   |----|              |              
       |  File       |     +---------+              +---------+    |  File        |              
       |  System     |          |                        |         |  System      |              
       +-------------+     +---------+  +--------+  +---------+    +--------------+              
              |  |         |         |  |        |  |         |        |   |                     
              |  +---------|Gunicorn |--|Postgres|--|Gunicorn |--------+   |                     
              |            +---------+  +--------+  +---------+            |                     
              |                             |                              |
              |                             |                              |
              |                     +------------------+                   |
              |                     |                  |                   |
              +---------------------|  Build Server    |-------------------+
                                    |                  |              
                                    +------------------+       
                                                               
{'fraction_non_alphanumeric': 0.19995227869243618, 'fraction_numerical': 0.0, 'mean_word_length': 0.28156527055946196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 58, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '314266', 'n_tokens_mistral': 791, 'n_tokens_neox': 719, 'n_words': 128}