Nuxeo provides native integration with the leading NoSQL database, MongoDB, as a supported content and data storage back end. Developers can quickly and easily deploy cloud-ready enterprise applications and we’re happy to share that success story during their new annual event in Europe.
Experience first-hand how the world’s fastest-growing database is powering today’s innovations and can help you gain a competitive advantage. Learn how large enterprises have delivered new applications to market at the speed of a lean startup, and how startups scale and execute on their giant ideas like an enterprise.
Using MongoDB to Build a Fast and Scalable Content Repository
1. H Y P E R S C A L E D I G I T A L A S S E T P L A T F O R M
2. U S I N G M O N G O D B T O B U I L D
A F A S T A N D S C A L A B L E
C O N T E N T R E P O S I T O R Y
3. N U X E O
P L AT F O R M
We provide a platform that
organisations can use to
drive digital transformation by
unlocking the full value of digital assets.
https://www.nuxeo.com
4. LEADER ON DIGITAL LOCAL INFORMATION MANAGEMENT:
Addresses, Phone Numbers, Activities of local businesses
USING NUXEO AS A CATALOG FOR INFORMATION ASSETS
HUNDREDS OF MILLIONS DOCUMENTS
AND UP TO DAILY 1 M BULK UPDATE
ADAPT THE BUSINESS / INCREASE MARKET POSITION
INFORMATION UPDATE DELIVERY REDUCED
FROM 1 YEAR TO 1H
5. N U X E O
P L AT F O R M
B E N E F I T S
SIMPLE SOFTWARE ARCHITECTURE
EASY SCALABILITY
HYPERSCALE PERFORMANCE
TRANSACTION MANAGEMENT
The Nuxeo + MongoDB Benefits
6. Large stream - Large storage
attached blobs
Flexible Schema - Write Once/Read Many
Audit Log, activity log
Complex structures - R/W synchronous
Document properties and hierarchy
Flexible Schema - Search
Search index
S I M P L E
A R C H I T E C T U R E
7. S I M P L E
A R C H I T E C T U R E
Large stream - Large storage
attached blobs
Flexible Schema - Write Once/Read Many
Audit Log, activity log
Complex structures - R/W synchronous
Document properties and hierarchy
Flexible Schema - Search
Search index
9. H Y P E R S C A L E
P E R F O R M A N C E
The One Billion Benchmark
• 1 billion documents import in 8.5 hours
• 32,680 docs/s with peak at 40,400 docs/s
19. C O N S O L I D AT E D
S T O R A G E
Structures
AuditBlobs
Indexes
SINGLE CONSOLIDATED STORAGE
Structure, Blobs, Audit & Index
FEWER BUILDING BLOCKS TO PROVISION & CONFIGURE
Easier to deploy
20. E A S Y
D E P L O Y M E N T
"BUILT-IN" - DATA REDUNDANCY & FAULT TOLERANCE
Active
Active
21. S C A L A B I L I T Y
WILL I SCALE BETTER
WITH MONGODB ?
22. S C A L A B I L I T Y
S C A L E O U T R E A D S
S C A L E O U T W R I T E S
•Leverage sharding
•Spread Writes
•Leverages replicasets
•Read from secondaries
23. S C A L A B I L I T Y
S C A L E O U T T E S T
Use massive read operations and queries.
2 Nuxeo nodes + 1 MongoDB
node
1850 docs/s
MongoDB CPU is the
bottleneck (800%)
24. S C A L E O U T T E S T
Use massive read operations and queries.
2 Nuxeo nodes + 2 MongoDB nodes
3400 docs/s
(using read preferences)
S C A L A B I L I T Y
25. S C A L A B I L I T Y
S H A R D I N G T E S T
2 Nuxeo nodes
+
1 MongoDB ReplicaSet
11,000 docs/s
26. S C A L A B I L I T Y
S H A R D I N G T E S T
2 Nuxeo nodes
+
3 MongoDB Sharded ReplicaSet
27,400 docs/s
27. H Y P E R S C A L E
P E R F O R M A N C E
WILL I BE FASTER
WITH MONGODB ?
28. B U I LT F O R
S P E E D
N O I M P E D A N C E I S S U E
D O C U M E N T L E V E L L O C K I N G
• No table level concurrency
• Fewer backend calls
• No invalidation costs
N AT I V E D I S T R I B U T E D A R C H I T E C T U R E
• Easy scale out
29. S P E E D
https://benchmarks.nuxeo.com/continuous/index.html
Significant RAW Speed improvements for all use cases
More importantly: some use cases are much better handled
30. M O R E T H A N
R A W
P E R F O R M A N C E
• No cache
• Less Memory per connection
• Can handle more connection
• Can handle more concurrent users
Handle more concurrent connections
31. M O R E T H A N
R A W
P E R F O R M A N C E
With SQL, Read and Write operation are competing
32. M O R E T H A N
R A W
P E R F O R M A N C E
Writes are not blocked by Reads
With MongoDB writes operations are not blocked
33. M O R E T H A N
R A W
P E R F O R M A N C E
Large object processing improved
lazy loading
cache trashing
750 documents/s 11,500 documents/s
35. MEANS
• Different transaction paradigms
• Provide shared mitigation policies for critical use c
NEW STORAGE MODEL
• Document Level transaction
• No MVCC isolation
T R A N S A C T I O N
M A N A G E M E N T
36. C O N S I S T E N C Y
I N O U R C O N T E X T
Transactions can not span across multiple documents
• Atomic Document Operations are safe
• Large batch updates can not be Atomic
Multi-documents transactions can be problematic
Workflows or custom event handlers
FIND A WAY TO MITIGATE APPLICATION LEVEL IMPACT
38. C O N S I S T E N C Y
TRANSIENT STATE MANAGER
Run all operations in Memory
Populate an Undo Log
Recover Application level Transaction Management
• Commit / Rollback model
"Read uncommited" isolation
• Need to flush transient state for queries
• "uncommited" changes are visible to others
39. TA K E A W AY S
Nuxeo
+
MongoDB
Simple
Architecture
Scalable &
Performant
Transaction
Management
Content Management + MongoDB
You should try Nuxeo !
40. A N Y Q U E S T I O N S ?
T H A N K Y O U !
https://github.com/nuxeo nuxeo.com/careers/ @damienmetzler