Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@GinjaNinja we did... It solved some problems and created hundreds more.
RavenDB had one bullet point that MongoDB doesn't have: It returns the data you ask for every time... (assuming the service was up and working)
MongoDB likes to guess sometimes and give you stale data.
Elasticsearch is where it is at. Bring resources though... -
@T3hbeowulf
Errr... stale data from a MongoDB database?
I think there's an underlying problem with your concurrency there, buddy? -
@configurator We might have been trying to stuff ~2.4 million documents, each one was several hundred KBs of json... 😇
Everything was updated daily as a dump/reload. -
@GinjaNinja Yes, load...
MongoDB simply couldn't handle what we threw at it and when things get busy in MongoDB, it starts guessing... -
@T3hbeowulf while that's a heavy load beyond the scope of what RavenDB was designed to handle, I've tested it on similar loads and had no issues. I'm guessing another part of the issue is your indexes.
-
@T3hbeowulf if you want to chat about it I'm confident I can make it work for you.
-
@T3hbeowulf
Why the daily dump/reload, if I may ask?
I'm guessing a database that size would take some strain having to do that job every day! Perhaps do that in off peak times? Or share the load with another server or 3? MongoDB is excellent for distributing across servers 😎 -
@configurator I appreciate the offer but that project has long since moved on away from both MongoDB and RavenDB.
-
@GinjaNinja Poor design choices and difficulties with getting RavenDB to handle partial document upserts reliably.
Every day many of the documents had some very trivial change in a nested node.
RavenDB seemed to struggle (at the time we used it) with upserts, and would often return the originally written document.
MongoDB worked better but the volume of changes caused significant drift between nodes. Eventually, nodes would go offline cause load spikes which exacerbated the problem unless things could settle down.
After all things tested, the best "solution" presented was to treat RavenDB and later MongoDB as caches and just dump/reload them daily to avoid inconsistent data and instability.
Related Rants
RavenDB was by far the worst document storage "solution" I have ever had the displeasure of working with.
- Loading data crashed the service.
- Queries crashed the service.
- Monitoring applications crashed the service.
- It didn't support clustering or HA of any kind.
- Sometimes it just worked for no good reason.
- Often it broke for completely random reasons.
undefined
chills
ravendb
shivers
wk60