GithubHelp home page GithubHelp logo

Recommended EC2 instance type about snowstorm HOT 6 CLOSED

ihtsdo avatar ihtsdo commented on August 10, 2024
Recommended EC2 instance type

from snowstorm.

Comments (6)

kaicode avatar kaicode commented on August 10, 2024

The answer to this question depends on your scenario.

For general use the recommended EC2 instance type is m5.xlarge which has 16g of memory. The memory allocation should be something like 4g to Snowstorm and 6g to Elasticsearch with a few g free for disk level caching which Elasticsearch needs to work well.

As always you should perform load testing for your expected usage and use monitor the JVMs in production. Functions that take the most resources are RF2 import and some of the more complex ECL statements.

Snowstorm has been designed to scale horizontally allowing additional pairs of Elasticsearch nodes and Snowstorm instances to be added to a cluster to deal with demand but this has not yet been thoroughly tested. We know that some parts of the authoring functionality will not yet work in this configuration, that will be addressed in the first half of this year.

from snowstorm.

 avatar commented on August 10, 2024

Thank you @kaicode

from snowstorm.

 avatar commented on August 10, 2024

Hello @kaicode ,

One followup question, for just prototypin and internal testing, what's the minimal instance confiuration you'd recommend? Very little traffic.

Regards,
Vybhav

from snowstorm.

 avatar commented on August 10, 2024

Hello @kaicode ,

One followup question, for just prototypin and internal testing, what's the minimal instance confiuration you'd recommend? Very little traffic.

Regards,
Vybhav

from snowstorm.

kaicode avatar kaicode commented on August 10, 2024

It may run on an 8g ram instance. I would try giving Snowstorm 2560m and Elasticsearch 3g.
Use the Elasticsearch configuration file config/jvm.options with the memory options -Xms3g and -Xmx3g.
If it's a development machine you can use the spot instance type to get a better price.

from snowstorm.

 avatar commented on August 10, 2024

Great. Thank you @kaicode . I'll give that a shot

from snowstorm.

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.