# Tech Stack and Requirements

## Architecture Diagram

<figure><img src="/files/xpctdmV8GL5CAo1ugMIT" alt=""><figcaption></figcaption></figure>

## Tech Stack

| Software/Language | Recommended | Minimum Version |
| ----------------- | ----------- | --------------- |
| Java              | 1.8         | 1.8             |
| Node JS           | v18.12.1    | v18.12.1        |
| Go Lang           | 1.15        | 1.15            |
| Linux / Docker    | any         | any             |
| Postgre sql       | latest      | v8              |
| Redis             | latest      | 4               |
| ElasticSearch     | 7.17.13     | 7.10.1          |
| Keycloak          | 14.0.0      | 14.0.0          |
| Minio             | latest      |                 |
| Kafka (Zookeeper) | latest      |                 |
| nginx             | latest      |                 |
| Angular           | 8           |                 |
| Kubernetes        | latest      |                 |
| Helm              | latest      |                 |
| Docker Compose    | latest      |                 |

## Stock Frontend Interface

Angular 8

## Deployment

On local machines, Docker is recommended.

For development, a single VM with docker will work.

The steps to setup the development environment is available here.

{% content-ref url="/pages/flj742vSxHWx1WAstZs6" %}
[Installation Guide](/use/getting-started/installation-guide.md)
{% endcontent-ref %}

For production, Kubernetes is recommended.

## Typical Requirement for production

* 1 node small (backed by CDN) 2 core 4 gb minimum (UI)
* 3 node kubernetes cluster with 4 core 8 gb RAM 200 GB storage
* 2 node for postgresql 4 core 8gb RAM 500 GB storage
* 1 node for elastic-search 4 core 8gb RAM 200 GB storage (if needed)
* Loadbalancer based on cloud provider


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sunbirdrc.dev/learn/technical-overview/infrastructure-requirements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
