This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

lzodevelopment
lzodevelopment

Hello guys i've started using october for a multisite engine that i'm building i've decided to go with october for this project the thing is in the future this project needs scalability and i really want to use mongodb my question is did u manage to implement mongodb as database engine

Scott
Scott

Laravel currently supports MySQL, Postgres, SQLite, and SQL Server. You are probably going to have a tough time getting MongoDB to work...

lzodevelopment
lzodevelopment

true i've managed to find a package for interacting using the eloquent with mongodb

Project707
Project707

If scalability is the main concern you can generally use PostgreSQL, and though I think they are still working out solid support for it I'm sure they will get there. Though it isn't built for horizontal scalability out of the box, there are ways to make that happen, but regardless, one instance can handle massive amounts of data. I have firsthand experience with running a highly available application, with very fast response times despite housing terabytes of data on a single instance.

If you really think you need that kind of scale (which is highly unusual), running it on RDS is a great option.

reid.lai11615
reid.lai11615

How about ArangoDB? MongoDB clustering has its drawback. After searching google I found ArangoDB is so amazing and there is pho driver too. Another feature is its graph db built in. It is good for social networking. You guys can find the benchmark from their website.

lzodevelopment
lzodevelopment

nevermind i decided to split and have db on diferent services for action required

ukebako8008
ukebako8008

I use ArangoDB successfully with OctoberCMS last 6 months. I don't use it for ORM but added some traits to models for reflection data to Arango for further processing. Arango is brilliant, but the only thing you should aware is memory usage on Arango server, because Arango loads all collection data to memory and it's easy to go out of memory if you write too much data to ArangoDB.

aliashik
aliashik

@lzodevelopment I'm trying to do develop something very similar to you. Was wondering what your latest solution was to this problem.

1-8 of 8

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.