MongoDB Sharded

MongoDB Sharded is a pre-packaged sharded MongoDB deployment that distributes large datasets across multiple shard servers.

  • Databases
MongoDB Sharded is a pre-packaged sharded MongoDB deployment that distributes large datasets across multiple shard servers. It is for self-hosted applications needing horizontal database scaling, and it helps maintain performance and availability as data volume grows.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

33/100 Low

Maintained
No data
Popular
No data
Easy to install
351 install platform, install notes, Docker image
Light to run
304 GB minimum RAM

Based on 2 of 4 factors.

Availability: platform listings confirmed today

No GitHub repository data collected yet.

Resources & Compatibility

Minimum requirements: 4 GB RAM, 2 CPU core(s).

Checked 23 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install the PHP MongoDB driver first Install the MongoDB PHP extension with your system’s package manager, such as apt, Homebrew, PECL, or Docker, and make sure it is enabled; without it, the PHP app cannot connect to MongoDB and will fail with missing extension or connection errors. source
  • Add Laravel Scout only if using search If you want MongoDB search, use Composer to add Laravel Scout and run the artisan command to publish its config; skipping this means search-related features won’t work because the app has no search engine setup. source
  • Install GridFS file packages if needed If your app stores files in MongoDB’s GridFS (a file-storage feature), install the Flysystem GridFS and read-only packages with Composer; without these packages you may see a missing-package RuntimeException when the app tries to read or list files. source

Fetched 53 days ago - each note links to its source

Alternatives (12)

  • Apache Cassandra
  • CockroachDB - CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
  • CouchDB - CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
  • FerretDB - FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
  • KeyDB - KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
  • Microsoft SQL Server - SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
  • MongoDB - MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
  • MySQL Community Edition - Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
  • PostgreSQL - PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
  • RavenDB - RavenDB is an open-source, transactionally consistent document database that stores application data in flexible records, helping developer…
  • Redis - Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
  • SQLite - SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.

Checked 40 days ago - source: AlternativeTo

Common questions

Can sharding be used to keep customer data in a specific region?

Yes. MongoDB sharding can route data by a key such as customerId so that records stay in the US or Europe. This can be used for data-location requirements rather than only for horizontal scaling.

What components are needed for a self-managed sharded cluster?

Deploy a mongos router, a config server replica set, and shard replica sets. You should also ensure connectivity and security between those components.

What extension does a PHP service need before it can connect to MongoDB?

Install the MongoDB PHP extension with your package manager and make sure it is enabled. Without it, the app may fail with missing-extension or connection errors.

How is search configured in a Laravel service that uses MongoDB?

Add Laravel Scout only if you need MongoDB search. Use Composer to add it and run the artisan command to publish its config.

What packages are required to store and read files in MongoDB GridFS?

Install the Flysystem GridFS and read-only packages with Composer. Without them, the app may throw a missing-package RuntimeException when reading or listing files.

Answers sourced from github.com, github.com, github.com, www.mongodb.com, www.reddit.com

Community

Collected 48 days ago - public community threads