http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/invalid-processor.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/invalid-processor.png 
b/nifi-docs/src/main/asciidoc/images/invalid-processor.png
new file mode 100644
index 0000000..37117b4
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/invalid-processor.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/lineage-flowfile.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/lineage-flowfile.png 
b/nifi-docs/src/main/asciidoc/images/lineage-flowfile.png
new file mode 100644
index 0000000..29bdc5b
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/lineage-flowfile.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/lineage-graph-annotated.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/lineage-graph-annotated.png 
b/nifi-docs/src/main/asciidoc/images/lineage-graph-annotated.png
new file mode 100644
index 0000000..31bad42
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/lineage-graph-annotated.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/ncm.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/ncm.png 
b/nifi-docs/src/main/asciidoc/images/ncm.png
new file mode 100644
index 0000000..a63e313
Binary files /dev/null and b/nifi-docs/src/main/asciidoc/images/ncm.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/new-flow.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/new-flow.png 
b/nifi-docs/src/main/asciidoc/images/new-flow.png
new file mode 100644
index 0000000..26a6b8f
Binary files /dev/null and b/nifi-docs/src/main/asciidoc/images/new-flow.png 
differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/nifi-arch-cluster.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/nifi-arch-cluster.png 
b/nifi-docs/src/main/asciidoc/images/nifi-arch-cluster.png
new file mode 100644
index 0000000..b9a067f
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/nifi-arch-cluster.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/nifi-arch.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/nifi-arch.png 
b/nifi-docs/src/main/asciidoc/images/nifi-arch.png
new file mode 100644
index 0000000..dad81fa
Binary files /dev/null and b/nifi-docs/src/main/asciidoc/images/nifi-arch.png 
differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/nifi-navigation.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/nifi-navigation.png 
b/nifi-docs/src/main/asciidoc/images/nifi-navigation.png
new file mode 100644
index 0000000..48c0f24
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/nifi-navigation.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/nifi-toolbar-components.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/nifi-toolbar-components.png 
b/nifi-docs/src/main/asciidoc/images/nifi-toolbar-components.png
new file mode 100644
index 0000000..9edaa4c
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/nifi-toolbar-components.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/nifi_first_launch_screenshot.png
----------------------------------------------------------------------
diff --git 
a/nifi-docs/src/main/asciidoc/images/nifi_first_launch_screenshot.png 
b/nifi-docs/src/main/asciidoc/images/nifi_first_launch_screenshot.png
new file mode 100644
index 0000000..7735f7e
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/nifi_first_launch_screenshot.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/parent-found.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/parent-found.png 
b/nifi-docs/src/main/asciidoc/images/parent-found.png
new file mode 100644
index 0000000..f27244d
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/parent-found.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/process-group-anatomy.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/process-group-anatomy.png 
b/nifi-docs/src/main/asciidoc/images/process-group-anatomy.png
new file mode 100644
index 0000000..dd09218
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/process-group-anatomy.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/processor-anatomy.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/processor-anatomy.png 
b/nifi-docs/src/main/asciidoc/images/processor-anatomy.png
new file mode 100644
index 0000000..db44d6a
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/processor-anatomy.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/processor-connection-bubble.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/processor-connection-bubble.png 
b/nifi-docs/src/main/asciidoc/images/processor-connection-bubble.png
new file mode 100644
index 0000000..82a161b
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/processor-connection-bubble.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/properties-tab.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/properties-tab.png 
b/nifi-docs/src/main/asciidoc/images/properties-tab.png
new file mode 100644
index 0000000..0e60fb9
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/properties-tab.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/provenance-annotated.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/provenance-annotated.png 
b/nifi-docs/src/main/asciidoc/images/provenance-annotated.png
new file mode 100644
index 0000000..f00cc4c
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/provenance-annotated.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/provenance-table.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/provenance-table.png 
b/nifi-docs/src/main/asciidoc/images/provenance-table.png
new file mode 100644
index 0000000..a0ca075
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/provenance-table.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/remote-group-anatomy.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/remote-group-anatomy.png 
b/nifi-docs/src/main/asciidoc/images/remote-group-anatomy.png
new file mode 100644
index 0000000..3403aeb
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/remote-group-anatomy.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/remote-group-ports-dialog.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/remote-group-ports-dialog.png 
b/nifi-docs/src/main/asciidoc/images/remote-group-ports-dialog.png
new file mode 100644
index 0000000..7b13b00
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/remote-group-ports-dialog.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/remote-port-connection-status.png
----------------------------------------------------------------------
diff --git 
a/nifi-docs/src/main/asciidoc/images/remote-port-connection-status.png 
b/nifi-docs/src/main/asciidoc/images/remote-port-connection-status.png
new file mode 100644
index 0000000..2e7cecf
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/remote-port-connection-status.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons.png
----------------------------------------------------------------------
diff --git 
a/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons.png 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons.png
new file mode 100644
index 0000000..f115bd4
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons2.png
----------------------------------------------------------------------
diff --git 
a/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons2.png 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons2.png
new file mode 100644
index 0000000..70a9d50
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-edit-buttons2.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/reporting-tasks-tab.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/reporting-tasks-tab.png 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-tab.png
new file mode 100644
index 0000000..26e8324
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/reporting-tasks-tab.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/scheduling-tab.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/scheduling-tab.png 
b/nifi-docs/src/main/asciidoc/images/scheduling-tab.png
new file mode 100644
index 0000000..20ca0f5
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/scheduling-tab.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/search-events.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/search-events.png 
b/nifi-docs/src/main/asciidoc/images/search-events.png
new file mode 100644
index 0000000..31c153b
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/search-events.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/search-receive-event-abc.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/search-receive-event-abc.png 
b/nifi-docs/src/main/asciidoc/images/search-receive-event-abc.png
new file mode 100644
index 0000000..f9312cd
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/search-receive-event-abc.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/settings-general-tab.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/settings-general-tab.png 
b/nifi-docs/src/main/asciidoc/images/settings-general-tab.png
new file mode 100644
index 0000000..2260581
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/settings-general-tab.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/settings-tab.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/settings-tab.png 
b/nifi-docs/src/main/asciidoc/images/settings-tab.png
new file mode 100644
index 0000000..77d6bd7
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/settings-tab.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/simple-flow.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/simple-flow.png 
b/nifi-docs/src/main/asciidoc/images/simple-flow.png
new file mode 100644
index 0000000..85203a8
Binary files /dev/null and b/nifi-docs/src/main/asciidoc/images/simple-flow.png 
differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/stats-history.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/stats-history.png 
b/nifi-docs/src/main/asciidoc/images/stats-history.png
new file mode 100644
index 0000000..89ce235
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/stats-history.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/status-bar.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/status-bar.png 
b/nifi-docs/src/main/asciidoc/images/status-bar.png
new file mode 100644
index 0000000..879be06
Binary files /dev/null and b/nifi-docs/src/main/asciidoc/images/status-bar.png 
differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/summary-annotated.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/summary-annotated.png 
b/nifi-docs/src/main/asciidoc/images/summary-annotated.png
new file mode 100644
index 0000000..30c5b10
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/summary-annotated.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/summary-table.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/summary-table.png 
b/nifi-docs/src/main/asciidoc/images/summary-table.png
new file mode 100644
index 0000000..609ec7c
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/summary-table.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/images/valid-processor.png
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/images/valid-processor.png 
b/nifi-docs/src/main/asciidoc/images/valid-processor.png
new file mode 100644
index 0000000..d6102b7
Binary files /dev/null and 
b/nifi-docs/src/main/asciidoc/images/valid-processor.png differ

http://git-wip-us.apache.org/repos/asf/nifi/blob/aa998847/nifi-docs/src/main/asciidoc/overview.adoc
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/overview.adoc 
b/nifi-docs/src/main/asciidoc/overview.adoc
new file mode 100644
index 0000000..af5a907
--- /dev/null
+++ b/nifi-docs/src/main/asciidoc/overview.adoc
@@ -0,0 +1,296 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+Apache NiFi Overview
+====================
+Apache NiFi Team <d...@nifi.apache.org>
+:homepage: http://nifi.apache.org
+
+What is Apache NiFi?
+--------------------
+Put simply NiFi was built to automate the flow of data between systems.  While
+the term 'dataflow' is used in a variety of contexts, we'll use it here 
+to mean the automated and managed flow of information between systems.  This 
+problem space has been around ever since enterprises had more than one system, 
+where some of the systems created data and some of the systems consumed data.
+The problems and solution patterns that emerged have been discussed and 
+articulated extensively.  A comprehensive and readily consumed form is found in
+the _Enterprise Integration Patterns_ <<eip>>.
+
+Some of the high-level challenges of dataflow include:
+
+Systems fail::
+Networks fail, disks fail, software crashes, people make mistakes.
+
+Data access exceeds capacity to consume::
+Sometimes a given data source can outpace some part of the processing or 
delivery chain - it only takes one weak-link to have an issue.
+
+Boundary conditions are mere suggestions::
+You will invariably get data that is too big, too small, too fast, too slow, 
corrupt, wrong, or in the wrong format.
+
+What is noise one day becomes signal the next::
+Priorities of an organization change - rapidly.  Enabling new flows and 
changing existing ones must be fast.
+
+Systems evolve at different rates::
+The protocols and formats used by a given system can change anytime and often 
irrespective of the systems around them.  Dataflow exists to connect what is 
essentially a massively distributed system of components that are loosely or 
not-at-all designed to work together.
+
+Compliance and security::
+Laws, regulations, and policies change.  Business to business agreements 
change.  System to system and system to user interactions must be secure, 
trusted, accountable.
+
+Continuous improvement occurs in production::
+It is often not possible to come even close to replicating production 
environments in the lab.
+
+Over the years dataflow has been one of those necessary evils in an 
+architecture.  Now though there are a number of active and rapidly evolving 
+movements making dataflow a lot more interesting and a lot more vital to the 
+success of a given enterprise.  These include things like; Service Oriented 
+Architecture <<soa>>, the rise of the API <<api>><<api2>>, Internet of Things 
<<iot>>,
+and Big Data <<bigdata>>.  In addition, the level of rigor necessary for 
+compliance, privacy, and security is constantly on the rise.  Even still with 
+all of these new concepts coming about, the patterns and needs of dataflow are 
+still largely the same.  The primary differences then are the scope of
+complexity, the rate of change necessary to adapt, and that at scale  
+the edge case becomes common occurrence.  NiFi is built to help tackle these 
+modern dataflow challenges.
+
+The core concepts of NiFi
+-------------------------
+
+NiFi's fundamental design concepts closely relate to the main ideas of Flow 
Based
+Programming <<fbp>>.  Here are some of 
+the main NiFi concepts and how they map to FBP:
+[grid="rows"]
+[options="header",cols="3,3,10"]
+|===========================
+| NiFi Term | FBP Term| Description
+
+| FlowFile | Information Packet | 
+A FlowFile represents each object moving through the system and for each one, 
NiFi
+keeps track of a map of key/value pair attribute strings and its associated 
+content of zero or more bytes.
+
+| FlowFile Processor | Black Box | 
+Processors actually perform the work.  In <<eip>> terms a processor is 
+doing some combination of data Routing, Transformation, or Mediation between
+systems.  Processors have access to attributes of a given FlowFile and its 
+content stream.  Processors can operate on zero or more FlowFiles in a given 
unit of work
+and either commit that work or rollback.
+
+| Connection | Bounded Buffer | 
+Connections provide the actual linkage between processors.  These act as queues
+and allow various processes to interact at differing rates.  These queues then 
+can be prioritized dynamically and can have upper bounds on load, which enable
+back pressure.
+
+| Flow Controller | Scheduler | 
+The Flow Controller maintains the knowledge of how processes actually connect 
+and manages the threads and allocations thereof which all processes use.  The
+Flow Controller acts as the broker facilitating the exchange of FlowFiles 
+between processors.
+
+| Process Group | subnet | 
+A Process Group is a specific set of processes and their connections, which can
+receive data via input ports and send data out via output ports.  In 
+this manner process groups allow creation of entirely new components simply by
+composition of other components.
+
+|===========================
+
+This design model, also similar to <<seda>>, provides many beneficial 
consequences that help NiFi 
+to be a very effective platform for building powerful and scalable dataflows.
+A few of these benefits include:
+
+* Lends well to visual creation and management of directed graphs of processors
+* Is inherently asynchronous which allows for very high throughput and natural 
buffering even as processing and flow rates fluctuate
+* Provides a highly concurrent model without a developer having to worry about 
the typical complexities of concurrency
+* Promotes the development of cohesive and loosely coupled components which 
can then be reused in other contexts and promotes testable units
+* The resource constrained connections make critical functions such as 
back-pressure and pressure release very natural and intuitive
+* Error handling becomes as natural as the happy-path rather than a coarse 
grained catch-all
+* The points at which data enters and exits the system as well as how it flows 
through are well understood and easily tracked
+
+NiFi Architecture
+-----------------
+image::nifi-arch.png["NiFi Architecture Diagram"]
+
+NiFi executes within a JVM living within a host operating system.  The primary
+components of NiFi then living within the JVM are as follows:
+
+Web Server::
+The purpose of the web server is to host NiFi's HTTP-based command and control 
API.
+
+Flow Controller::
+The flow controller is the brains of the operation. It provides threads for 
extensions to run on and manages their schedule of when they'll receive 
resources to execute.
+
+Extensions::
+There are various types of extensions for NiFi which will be described in 
other documents.  But the key point here is that extensions operate/execute 
within the JVM.
+
+FlowFile Repository::
+The FlowFile Repository is where NiFi keeps track of the state of what it 
knows about a given FlowFile that is presently active in the flow.  The 
implementation of the repository is pluggable.  The default approach is a 
persistent Write-Ahead Log that lives on a specified disk partition. 
+
+Content Repository::
+The Content Repository is where the actual content bytes of a given FlowFile 
live.  The implementation of the repository is pluggable.  The default approach 
is a fairly simple mechanism, which stores blocks of data in the file system.   
More than one file system storage location can be specified so as to get 
different physical partitions engaged to reduce contention on any single volume.
+
+Provenance Repository::
+The Provenance Repository is where all provenance event data is stored.  The 
repository construct is pluggable with the default implementation being to use  
one or more physical disk volumes.  Within each location event data is indexed  
and searchable.
+
+NiFi is also able to operate within a cluster.
+
+image::nifi-arch-cluster.png["NiFi Cluster Architecture Diagram"]
+
+A NiFi cluster is comprised of one or more 'NiFi Nodes' (Node) controlled
+by a single NiFi Cluster Manager (NCM).  The design of clustering is a simple
+master/slave model where the NCM is the master and the Nodes are the slaves.
+The NCM's reason for existence is to keep track of which Nodes are in the 
cluster,
+their status, and to replicate requests to modify or observe the 
+flow.  Fundamentally, then, the NCM keeps the state of the cluster consistent. 
 
+While the model is that of master and slave, if the master dies the Nodes are 
all
+instructed to continue operating as they were to ensure the data flow remains 
live.
+The absence of the NCM simply means new nodes cannot join the cluster and 
cluster flow changes
+cannot occur until the NCM is restored.
+
+Performance Expectations and Characteristics of NiFi
+----------------------------------------------------
+NiFi is designed to fully leverage the capabilities of the underlying host 
system
+it is operating on.  This maximization of resources is particularly strong with
+regard to CPU and disk.  Many more details will
+be provided on best practices and configuration tips in the Administration 
Guide. 
+
+For IO::
+The throughput or latency
+one can expect to see will vary greatly on how the system is configured.  Given
+that there are pluggable approaches to most of the major NiFi subsystems the
+performance will depend on the implementation.  But, for something concrete 
and broadly
+applicable, let's consider the out-of-the-box default implementations that are 
used.
+These are all persistent with guaranteed delivery and do so using local disk.  
So 
+being conservative, assume roughly 50 MB/s read/write rate on modest disks or 
RAID volumes 
+within a typical server.  NiFi for a large class of dataflows then should be 
able to 
+efficiently reach 100 or more MB/s of throughput.  That is because linear 
growth
+is expected for each physical partition and content repository added to NiFi.  
This will 
+bottleneck at some point on the FlowFile repository and provenance repository. 
 
+We plan to provide a benchmarking/performance test template to 
+include in the build, which will allow users to easily test their system and 
+to identify where bottlenecks are and at which point they might become a 
factor.  It 
+should also make it easy for system administrators to make changes and to 
verify the impact.
+
+For CPU::
+The Flow Controller acts as the engine dictating when a particular processor 
will be
+given a thread to execute.  Processors should be written to return the thread
+as soon as they're done executing their task.  The Flow Controller can be 
given a 
+configuration value indicating how many threads there should be for the various
+thread pools it maintains.  The ideal number of threads to use will depend on 
the 
+resources of the host system in terms of numbers of cores, whether that system 
is
+running other services as well, and the nature of the processing in the flow.  
For
+typical IO heavy flows though it would be quite reasonable to set many dozens 
of threads
+to be available if not more.
+
+For RAM::
+NiFi lives within the JVM and is thus generally limited to the memory space it 
+is afforded by the JVM.  Garbage collection of the JVM becomes a very important
+factor to both restricting the total practical size the heap can be as well as
+how well the application will run over time.  
+
+High Level Overview of Key NiFi Features
+----------------------------------------
+Guaranteed Delivery::
+A core philosophy of NiFi has been that even at very high scale, guaranteed 
delivery
+is a must.  This is achieved through effective use of a purpose-built 
persistent 
+write-ahead log and content repository.  Together they are designed in such a 
way
+as to allow for very high transaction rates, effective load-spreading, 
copy-on-write,
+and play to the strengths of traditional disk read/writes.
+
+Data Buffering w/ Back Pressure and Pressure Release::
+NiFi supports buffering of all queued data as well as the ability to 
+provide back pressure as those queues reach specified limits or to age off data
+as it reaches a specified age (its value has perished).
+
+Prioritized Queuing::
+NiFi allows the setting of one or more prioritization schemes for how data is
+retrieved from a queue.  The default is oldest first, but there are times when
+data should be pulled newest first, largest first, or some other custom scheme.
+
+Flow Specific QoS (latency v throughput, loss tolerance, etc.)::
+There are points of a dataflow where the data is absolutely critical and it is
+loss intolerant.  There are also times when it must be processed and delivered 
within
+seconds to be of any value.  NiFi enables the fine-grained flow specific 
configuration
+of these concerns.
+
+Data Provenance::
+NiFi automatically records, indexes, and makes available provenance data as
+objects flow through the system even across fan-in, fan-out, transformations, 
and
+more.  This information becomes extremely critical in supporting compliance, 
+troubleshooting, optimization, and other scenarios.  
+
+Recovery / Recording a rolling buffer of fine-grained history::
+NiFi's content repository is designed to act as a rolling buffer of history.  
Data
+is removed only as it ages off the content repository or as space is needed.  
This
+combined with the data provenance capability makes for an incredibly useful 
basis
+to enable click-to-content, download of content, and replay, all at a specific 
+point in an object's lifecycle which can even span generations.
+
+Visual Command and Control::
+Dataflows can become quite complex.  Being able to visualize those flows and 
express
+them visually can help greatly to reduce that complexity and to identify areas 
that
+need to be simplified.  NiFi enables not only the visual establishment of 
dataflows but
+it does so in real-time.  Rather than being 'design and deploy' it is much 
more like
+molding clay.  If you make a change to the dataflow that change immediately 
takes effect.  Changes
+are fine-grained and isolated to the affected components.  You don't need to 
stop an entire
+flow or set of flows just to make some specific modification.  
+
+Flow Templates::
+Dataflows tend to be highly pattern oriented and while there are often many 
different
+ways to solve a problem, it helps greatly to be able to share those best 
practices.  Templates
+allow subject matter experts to build and publish their flow designs and for 
others to benefit
+and collaborate on them.
+
+Security::
+    System to system;;
+        A dataflow is only as good as it is secure.  NiFi at every point in a 
dataflow offers secure
+        exchange through the use of protocols with encryption such as 2-way 
SSL.  In addition
+        NiFi enables the flow to encrypt and decrypt content and use 
shared-keys or other mechanisms on 
+        either side of the sender/recipient equation.
+    User to system;;
+        NiFi enables 2-Way SSL authentication and provides pluggable 
authorization so that it can properly control
+        a user's access and at particular levels (read-only, dataflow manager, 
admin).  If a user enters a 
+        sensitive property like a password into the flow, it is immediately 
encrypted server side and never again exposed
+        on the client side even in its encrypted form.
+
+Designed for Extension::
+    NiFi is at its core built for extension and as such it is a platform on 
which dataflow processes can execute and interact in a predictable and 
repeatable manner.
+    Points of extension;;
+        Processors, Controller Services, Reporting Tasks, Prioritizers, 
Customer User Interfaces
+    Classloader Isolation;;
+        For any component-based system, dependency nightmares can quickly 
occur.  NiFi addresses this by providing a custom class loader model,
+        ensuring that each extension bundle is exposed to a very limited set 
of dependencies.  As a result, extensions can be built with little concern for 
whether 
+        they might conflict with another extension.  The concept of these 
extension bundles is called 'NiFi Archives' and will be discussed in greater 
detail 
+        in the developer's guide.
+Clustering (scale-out)::
+    NiFi is designed to scale-out through the use of clustering many nodes 
together as described above.  If a single node is provisioned and configured
+    to handle hundreds of MB/s then a modest cluster could be configured to 
handle GB/s.  This then brings about interesting challenges of load balancing
+    and fail-over between NiFi and the systems from which it gets data.  Use 
of asynchronous queuing based protocols like messaging services, Kafka, etc., 
can
+    help.  Use of NiFi's 'site-to-site' feature is also very effective as it 
is a protocol that allows NiFi and a client (could be another NiFi cluster) to 
talk to each other, share information
+    about loading, and to exchange data on specific authorized ports.
+
+References
+----------
+[bibliography]
+- [[[eip]]] Gregor Hohpe. Enterprise Integration Patterns [online].  
Retrieved: 27 Dec 2014, from: http://www.enterpriseintegrationpatterns.com/
+- [[[soa]]] Wikipedia. Service Oriented Architecture [online]. Retrieved: 27 
Dec 2014, from: http://en.wikipedia.org/wiki/Service-oriented_architecture
+- [[[api]]] Eric Savitz.  Welcome to the API Economy [online].  Forbes.com. 
Retrieved: 27 Dec 2014, from: 
http://www.forbes.com/sites/ciocentral/2012/08/29/welcome-to-the-api-economy/
+- [[[api2]]] Adam Duvander.  The rise of the API economy and consumer-led 
ecosystems [online]. thenextweb.com.  Retrieved: 27 Dec 2014, from: 
http://thenextweb.com/dd/2014/03/28/api-economy/
+- [[[iot]]] Wikipedia. Internet of Things [online]. Retrieved: 27 Dec 2014, 
from: http://en.wikipedia.org/wiki/Internet_of_Things
+- [[[bigdata]]] Wikipedia.  Big Data [online].  Retrieved: 27 Dec 2014, from: 
http://en.wikipedia.org/wiki/Big_data
+- [[[fbp]]] Wikipedia.  Flow Based Programming [online].  Retrieved: 28 Dec 
2014, from: http://en.wikipedia.org/wiki/Flow-based_programming#Concepts
+- [[[seda]]] Matt Welsh.  Harvard.  SEDA: An Architecture for Highly 
Concurrent Server Applications [online].  Retrieved: 28 Dec 2014, from: 
http://www.eecs.harvard.edu/~mdw/proj/seda/

Reply via email to