GithubHelp home page GithubHelp logo

Comments (8)

tpayet avatar tpayet commented on May 18, 2024 1

Hey @wperron
That is great news! Meili server works like a database meaning that it needs persistent storage. Either solutions would work fine, just keep in mind that it might need as much RAM as persistent storage so I would suggest using the cheapest solution when it comes to memory. You can read more about storage here: https://docs.meilisearch.com/resources/about_storage.html#about-storage

We also have a tutorial to setup MeiliSearch behind NGINX if you go with the EC2 + EBS solution : https://docs.meilisearch.com/running-production/

let me know if you have any other questions, would be glad to guide you through your journey with MeiliSearch!

from integration-guides.

tpayet avatar tpayet commented on May 18, 2024 1

As long as you are able to ensure every instances of MeiliSearch have the same state, there won't be any problem!

from integration-guides.

wperron avatar wperron commented on May 18, 2024 1

Just for information: we're likely going to go with a simple EC2 deployment instead of Fargate (denoland/deno_registry2#146) that's loosely based on the Digital Ocean scripts you already have.

I used Packer to build a custom AMI; it would be nice to have an official public AMI available, I think it would make it easier for people to adopt meili 🙂

from integration-guides.

wperron avatar wperron commented on May 18, 2024

Hi @tpayet thanks for the response! thanks for the link about the storage and memory considerations, this is very useful information indeed.

I guess what I'm also curious about is how well does Meili handle multi-instance setup? are there any precautions or special settings we need to be aware of? or is the suggestion to simply stick to a single instance setup?

from integration-guides.

tpayet avatar tpayet commented on May 18, 2024

You cannot have multiple instances of MeiliSearch running on the same state aka the data.ms folder where all MeiliSearch data are stored.
However you are free to have multiple completely separate instances of MeiliSearch running under the same load balancer as long as you can ensure that all instances have the same state if you really want to have redundancy. You'll be glad to know that we are working on high availability feature with MeiliSearch that will allow you to run clusters of MeiliSearch

Edit: We just released snapshots that you can set up to write on your persistent storage so you will be able to start up any instance of MeiliSearch in a few seconds without the hassle of re-indexing all your data.

from integration-guides.

wperron avatar wperron commented on May 18, 2024

For more info, my current proposal uses an Application Load Balancer to front ECS tasks. The task definition mounts /data.ms to an EFS volume (essentially an NFS mount). Will that be problematic with more than one instance?

from integration-guides.

wperron avatar wperron commented on May 18, 2024

@tpayet do you have an ETA for the HA clustered mode?

from integration-guides.

tpayet avatar tpayet commented on May 18, 2024

Hey! sorry for the delay, I did not have my computer last week. We do not have a specific ETA, but I would say that we will have HA in the 2-3 months.

from integration-guides.

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.