Sign inSign up

sharan10860/nosql-lab7

By sharan10860

•Updated 11 days ago

Kavach CTI platform on MongoDB 8.0 – schema design and working-set labs

Image
0

206

sharan10860/nosql-lab7 repository overview

⁠NoSQL Exercise 7 – Kavach CTI Platform: Schema Design and Working Set (MongoDB 8.0)

M Nagasai Girisharan · 24BTRCL114 · 5 AIML-B · 23CSE528 NoSQL Database using MongoDB

This image contains all completed tasks:

  • Website – Cyber Threat Intelligence platform (FastAPI + MongoDB) at http://localhost:8000⁠
  • Lab 7.1 – production schema analysis + mongodump / mongorestore
  • Lab 7.1 activity – embedded schema redesign (threat_verdicts) with benchmark
  • Lab 7.2 – working-set analysis with 100,000 documents and a 128 MB cache
  • Lab 7.2 activity – cache hit-ratio monitor
  • Answers (labs/*/ANSWERS.md) and the run results in /app/submitted_results

⁠Run the demo (only Docker needed)

docker run --rm sharan10860/nosql-lab7 compose > docker-compose.yml
docker compose up -d
# open http://localhost:8000
docker exec -it lab7-app lab7 7.1
docker exec -it lab7-app lab7 7.1-activity
docker exec -it lab7-app lab7 7.2
docker exec -it lab7-app lab7 7.2-monitor
docker exec -it lab7-app lab7 all

⁠See the submitted results

docker create --name labcopy sharan10860/nosql-lab7
docker cp labcopy:/app/submitted_results ./submitted_results
docker rm labcopy

Stop and clean up: docker compose down -v

Tag summary

Content type

Image

Digest

sha256:ecb5ebf0b…

Size

87 MB

Last updated

11 days ago

docker pull sharan10860/nosql-lab7