Write Concern
Errors Ignored - do not use!
Unacknowledged
Fire and forget
Network errors are detected
Used to be the default
31
And paste pdf into powerpoint - software control project:C# Create PDF from PowerPoint Library to convert pptx, ppt to PDF in C#.net, ASP.NET MVC, WinForms, WPF
Online C# Tutorial for Creating PDF from Microsoft PowerPoint Presentation
www.rasteredge.com
And paste pdf into powerpoint - software control project:VB.NET Create PDF from PowerPoint Library to convert pptx, ppt to PDF in vb.net, ASP.NET MVC, WinForms, WPF
VB.NET Tutorial for Export PDF file from Microsoft Office PowerPoint
www.rasteredge.com
Write Concern
Acknowledged
Current default (as of late 2012)
Network errors, duplicate keys etc
Journaled
The update is written to local journal
Durable - will survive shutdown / crash
32
software control project:C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net
Ability to copy selected PDF pages and paste into another PDF file. Copy three pages from test1.pdf and paste into test2.pdf.
www.rasteredge.com
software control project:VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.
Ability to copy PDF pages and paste into another PDF file. Support ' Copy three pages from test1.pdf and paste into test2.pdf. Dim
www.rasteredge.com
Write Concern
Replica Acknowledged
The update is written to one or more 
secondaries in a replica set
Can specify number or "majority"
Specifying number will block until that 
many secondaries have the write (and 
therefore it can block "forever"!)
33
software control project:C# PDF insert text Library: insert text into PDF content in C#.net
Parameters: Name, Description, Valid Value. value, The char wil be added into PDF page, 0
www.rasteredge.com
software control project:VB.NET PDF insert image library: insert images into PDF in vb.net
project. Import graphic picture, digital photo, signature and logo into PDF document. Add file. Insert images into PDF form field in VB.NET. An
www.rasteredge.com
Write Concern
cfmongodb supports per-connection only
Not per-operation
mongoClientOptions arg to MongoConfig
writeConcern field of that struct
34
software control project:VB.NET PDF File Split Library: Split, seperate PDF into multiple
Split PDF file into two or multiple files in ASP.NET webpage online. Support to break a large PDF file into smaller files in .NET WinForms.
www.rasteredge.com
software control project:VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
DLLs for Adding Page into PDF Document in VB.NET Class. Add necessary references: RasterEdge.Imaging.Basic.dll. RasterEdge.Imaging.Basic.Codec.dll.
www.rasteredge.com
WriteConcern
Retrieve from a Java class
mongoFactory.getObject(
"com.mongodb.WriteConcern"
).UNACKNOWLEDGED
http://api.mongodb.org/java/2.10.1/com/
mongodb/WriteConcern.html
35
software control project:C# PDF insert image Library: insert images into PDF in C#.net, ASP
Import graphic picture, digital photo, signature and logo into PDF document. Merge several images into PDF. Insert images into PDF form field.
www.rasteredge.com
software control project:C# PDF File Split Library: Split, seperate PDF into multiple files
Divide PDF File into Two Using C#. This is an C# example of splitting a PDF to two new PDF files. Split PDF Document into Multiple PDF Files in C#.
www.rasteredge.com
Agenda
Scaling MongoDB - Concepts
Replica Sets & Sharding
Read Preference, Write Concern, Etc
Map/Reduce
Aggregation
36
Map/Reduce
Intended for complex data processing
Batch operation, not real time!
You provide map, reduce, finalize functions 
written in JavaScript (as strings!)
37
Map/Reduce
people = mongo.getDBCollection("people");
people.mapReduce(
map = "function(){ ...}",
reduce = "function(key,values){ ... }",
outputTarget = ... );
For finalize you must use a DB command
Examples in cfmongodb aggregation folder
38
Agenda
Scaling MongoDB - Concepts
Replica Sets & Sharding
Read Preference, Write Concern, Etc
Map/Reduce
Aggregation
39
Aggregation 
Framework
Added in MongoDB 2.2
Native, pipeline-based functions
project (SELECT), match (WHERE), 
group (GROUP BY), sort (ORDER BY), 
unwind, skip, limit, geoNear (new in 2.4)
Simple aggregate() function takes each 
operation as an argument in order
40
Documents you may be interested
Documents you may be interested