<commit_before>Quickstart
==========

This guide will step you through setting up a Python-based virtualenv, installing the required packages,
and configuring the basic web service.

Dependencies
------------

Some basic prerequisites which you'll need in order to run Sentry:

* A UNIX-based operating system. We test on Ubuntu.
* Python 2.7
* python-setuptools, python-pip, python-dev, libxslt1-dev, libxml2-dev, libz-dev, libffi-dev, libssl-dev
* A real database (PostgreSQL is preferred, MySQL also works with caveats)
* Redis
* Nginx (with RealIP, i.e. nginx-full)
* A dedicated domain to host Sentry on (i.e. sentry.yourcompany.com).

Hardware
--------

Sentry provides a number of mechanisms to scale its capacity out horizontally, however there is still a primary
SPOF at the database level. In an HA setup, the database is only utilized for event indexing and basic data
storage, and becomes much less of a capacity concern (see also :doc:`../nodestore/index`).

We don't have any real numbers to tell you what kind of hardware you're going to need, but we'll help you make
your decision based on existing usage from real customers.

If you're looking for an HA, and high throughput setup, you're going to need to setup a fairly complex cluster
of machines, and utilize all of Sentry's advanced configuration options. This means you'll need Postgres, Riak,
Redis, Memcached, and RabbitMQ. It's very rare you'd need this complex of a cluster, and the primary usecase for
this is `getsentry.com <https://getsentry.com/>`_.
<commit_msg>Note that Sentry is not simple anymore<commit_after>Quickstart
==========

This guide will step you through setting up a Python-based virtualenv, installing the required packages,
and configuring the basic web service.

Disclaimer: While Sentry is seemingly easy to get up and running, it's a fairly complex system. This documentation does not intend to teach you how to maintain and configure many of the services, and the task should not be taken lightly.

Dependencies
------------

Some basic prerequisites which you'll need in order to run Sentry:

* A UNIX-based operating system. We test on Ubuntu.
* Python 2.7
* python-setuptools, python-pip, python-dev, libxslt1-dev, libxml2-dev, libz-dev, libffi-dev, libssl-dev
* A real database (PostgreSQL is preferred, MySQL also works with caveats)
* Redis
* Nginx (with RealIP, i.e. nginx-full)
* A dedicated domain to host Sentry on (i.e. sentry.yourcompany.com).

Hardware
--------

Sentry provides a number of mechanisms to scale its capacity out horizontally, however there is still a primary
SPOF at the database level. In an HA setup, the database is only utilized for event indexing and basic data
storage, and becomes much less of a capacity concern (see also :doc:`../nodestore/index`).

We don't have any real numbers to tell you what kind of hardware you're going to need, but we'll help you make
your decision based on existing usage from real customers.

If you're looking for an HA, and high throughput setup, you're going to need to setup a fairly complex cluster
of machines, and utilize all of Sentry's advanced configuration options. This means you'll need Postgres, Riak,
Redis, Memcached, and RabbitMQ. It's very rare you'd need this complex of a cluster, and the primary usecase for
this is `getsentry.com <https://getsentry.com/>`_.

{'fraction_non_alphanumeric': 0.07825567502986858, 'fraction_numerical': 0.0023894862604540022, 'mean_word_length': 4.241001564945227, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5597681', 'n_tokens_mistral': 948, 'n_tokens_neox': 883, 'n_words': 485}