Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (4k points)

I am interested in using a database that will allow high performance, with an expected requirement of cluster for a massive horizontal scaling.

We are looking into using MongoDB, does anyone know if I can use it InMemory (i.e. in the RAM - for performance reasons)?

1 Answer

0 votes
by (8.7k points)
edited by

The most demanding approach to configure MongoDB in memory is to use a RAM disk:

mongod --smallfiles --noprealloc --nojournal --dbpath <ramdisk mounted localtion>

Are you willing to pursue a career in Web Development, here's an opportunity for you Web Developer Certification provided by intellipaat! 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Feb 15, 2021 in SQL by rahulnayar01123 (6.1k points)
0 votes
1 answer

Browse Categories

...