Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev hp main deployment #165

Closed
wants to merge 4 commits into from
Closed

Dev hp main deployment #165

wants to merge 4 commits into from

Conversation

pandyah5
Copy link
Contributor

@pandyah5 pandyah5 commented Nov 13, 2023

A PR for replacing elastic search with a simple search for easier deployment.

We were facing resource constraints when deploying with elastic search on the free tier of the Amazon EC2 instance hence we have decided to re-route the search to a simpler in-house implementation which consumes less ram and processor speed.

Here is an image showing resource utilization when running elastic search on EC2 instance
image

@pandyah5 pandyah5 self-assigned this Nov 13, 2023
@pandyah5 pandyah5 added the enhancement New feature or request label Nov 13, 2023
@pandyah5 pandyah5 added this to the Milestone 4 milestone Nov 13, 2023
Copy link
Contributor

@fabinjoe fabinjoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jhanavigera
Copy link
Contributor

This change look good to me too. Can you elaborate on the reason for the change in the description of the PR, for documentation purposes.

@@ -11,29 +11,29 @@ services:
- "5000:5000"
environment:
- FLASK_APP=app/main.py
- ELASTICSEARCH_HOST=elasticsearch
depends_on:
- elasticsearch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are removing elastic search then we don't necessarily need this file because we can run the flask app using the Dockerfile

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, the change was made to alter the GitHub workflow

@pandyah5
Copy link
Contributor Author

pandyah5 commented Nov 14, 2023

Closing the pull request - @kb21032001 branch ( #174) has built upon my changes and will be merged instead

@pandyah5 pandyah5 closed this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants