This document discusses new features in MongoDB version 3.6 including $lookup for joins, retryable writes, change streams, and updates to arrays. It also covers MongoDB Atlas cloud database services and MongoDB Stitch for backend services. Demo sessions are listed for Atlas, Stitch, and using new MongoDB 3.6 features.
28. Retryable Writes In 3.6
# Start a session for retryable writes.
with client.start_session(retry_writes = True) as session:
collection = session.my_db.my_collection
result = collection.update_one({'_id': 1},
{'$inc': {'n': 1}})
29. It’s 10:00 pm:
Do You Know Where Your
Writes Are?
Speaker:
Jeremy Mikola
Location:
Room AB
Time:
11:10am
53. • Can’t get at data
• Can’t use other services
• Locked in
MBaaS, Paas, Serverless
54. • REST API for MongoDB
• Configuration based authentication, privacy, and security
• Service composition
• Anywhere you want
MongoDB Stitch: Backend as a Service
57. Stitch Use Cases
Add a feature to an
existing application
Selectively expose
existing data to new
applications
Integrate with
services
Be your complete
backend
58. Building Your First App
with MongoDB Stitch
Speaker:
Drew DiPalma
Location:
Room AB
Time:
10:20am
59. Implementing Your Full
Stack App with MongoDB
Stitch (two-parter)
Speaker:
Drew DiPalma
Location:
Room D
Time:
1:45pm and 2:35pm
60. # M D B l o c a l
CTO & Co-
Founder
Eliot Horowitz
MongoDB @eliothorowitz
Eliot Horowitz
Editor's Notes
Data is biggest asset, shouldn’t be your biggest hindrance
Biggest asset often means a picture
Anscombe’s Quartet, has the same:
Mean and variance of both x and y
Correlation between x and y
Linear regression
Coefficient of determination
BI connector came out 2 years ago
The bi connector flattens mongodb to work via sql
Great because it can work any existing sql tool
Much faster
More reliable
Easier to install
Easier to manage
No, not that one...
END WITH “There should be a native tool”
Factcheck.org would give me misleading
“So lets dig into MongoDB 3.6, coming out this november.”
developer time is your most precious resource
documents are human, programmable, systems
we’ve got 3 features coming that are the most asked for directly related to this
Arrays are core
Addresses vs. friends
SO WHAT!
When we first marketed MongoDB, we said schemaless
That was obviously nonsense….
Indexes
Types
Document validation
refinement, expansion of document validation. "dynamic schema"
Optional
Can be strict or loose
Using a somewhat standard
Can use same “language” elsewhere in stack
Continuing on the path of making developer lives easier, we want to make handling of some types of sitations more magical
We have made all write operations retryable so you can just do the exact same thing again and mongo will guarantee it happens exactly once
This is really useful for building 100% available apps
Makes things really easy
”Friends don’t let friends expose their data on the internet.”
restartable in the case of failure
HIGHLIGHTS
Our design goal is…
great partner
VPC peering
Automating indexes
Putting data where its needed
10gen was a PaaS, ahead of time
But the world has changed since then
If we were starting a project like this today, we wouldn’t really build it like that. Why?
Twilio - phone and text
Stripe - payments
GitHub - source
The industry has been stripping away more and more commodity tasks and code
Security - burden on you
Privacy - burden on you
Error handling - burden on you
REST API to MongoDB
Deploy as add-on to Atlas
Stand up on prem
Services