Code Monkey home page Code Monkey logo

Comments (7)

izzetemredemir avatar izzetemredemir commented on August 28, 2024 1

Şuan bunu ekleyemeyiz

from deprem-io-backend.

alisomay avatar alisomay commented on August 28, 2024

Bu teklifin yarar saglayacagini dusunuyorsaniz. Backend uzerinde aktif calisan bir contributor ile iletisime gecebiliriz.
Ya issue uzerinden ya da discord uzerinden Ali Somay olarak ulasabilirsiniz.

Elinize saglik 🙏

from deprem-io-backend.

izzetemredemir avatar izzetemredemir commented on August 28, 2024

Ne kadar memory/disk tüketiyor? Docker containerını gereksiz şişirsin istemem
Ayrı bir endpoint olarak yayına almak mantıklı.

from deprem-io-backend.

alisomay avatar alisomay commented on August 28, 2024

Ben de benzer dusunuyorum. Eger ayri bir endpoint olur ise daha da kolay olur cunku boylece Rust ile de yazabilirim.
Disk ve memory tuketimi konusu soyle.

Indexing sirasinda gecici olarak bir memory consumption oluyor ama indexing suresini arttirip concurrencyi dusurerek bu memory consumptioni kontrol altinda tutmak kolay.

Indexler diskte duruyor ve memory mapped directory olarak calisiyor bu sebepten search sirasinda konusmaya deger bir memory tuketimi yok.

Disk tuketimi ise tamamen datanin buyuklugune ve nekadarini indexlemek istedigimize bagli.
Bu konularda bilgi alabilirsem disk tuketimi konusunda tahminler sunabilirim.

https://fulmicoton.com/posts/behold-tantivy/
Burada daha da fazla bilgi bulabilirsiniz.

from deprem-io-backend.

alisomay avatar alisomay commented on August 28, 2024

Kabaca buyuk ihtimal ile soyle olur.
Ayri servis olarak deploy edilir ise,

  • Belirli araliklar ile db poll edilir
  • Son indexlenen girdilerin timestampleri diskte tutulur
  • Yeni girdiler ile index guncellenir
  • Search requestler index uzerinde search edildikten sonra, db doc ya da row idleri doner
  • Bu rowlar ya da doclar dbden cekilir ve dondurulur.
  • Gerekirse bir bucketta indexler cachelenebilir ya da persistent storage olabilir boylece her deployda re-indexing gerekmez

from deprem-io-backend.

alisomay avatar alisomay commented on August 28, 2024

Implementasyon suresi servis durumunda deploymenttan gayri olarak tahmini olarak 1 gun en fazla 1.5 gunu bulur.

from deprem-io-backend.

alisomay avatar alisomay commented on August 28, 2024
  "family": "depremio-TD",
  "executionRoleArn": "arn:aws:iam::366354050833:role/ecsServiceRole",
  "networkMode": "awsvpc",
  "volumes": [],
  "placementConstraints": [],
  "requiresCompatibilities": [
    "FARGATE"
  ],
  "cpu": "2048",
  "memory": "4096",
  "tags": []

Gerci specler ayni containerda calistirmak icin de yeterli gibi.
Storage ne kadar bilmiyorum tabi.

from deprem-io-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.