:template: devhub-article

.. ---------------------------------------------------------------
.. META FIELDS FOR SEO / SOCIAL
.. ---------------------------------------------------------------

.. meta-description:: 

   meta description (160 characters or fewer)

.. twitter::
   :site: @mongodb
   :creator: @Lauren_Schaefer
   :title: Wordswordswords
   :image: /images/atf-images/generic/pink.png
   :image-alt: Description of the image

   Description of max 200 characters

.. ---------------------------------------------------------------
.. ARTICLE METADATA FIELDS (TO POPULATE FILTERS AND ARTICLE PAGE)
.. ---------------------------------------------------------------

.. include:: /includes/authors/lastname-firstname.rst
.. include:: /includes/authors/horowitz-eliot.rst

.. pubdate:: January 31, 2019

.. updated-date:: 2019-02-02

.. type:: article, quickstart, how-to, video, live

.. level:: beginner, intermediate, advanced

.. tags:: 

   * foo
   * bar
   * baz

.. languages::

   * nodejs
   * java

.. products::

   * Realm
   * MongoDB

.. atf-image:: /images/atf-images/generic/pattern-green.png

.. related::

   * ``list of related articles``
   * :doc:`/path/to/article`
   * ``:doc:`/path/to/other/article```

.. og::
   :url: http://developer.mongodb.com/article/active-active-application-architectures
   :type: article
   :title: Active-Active Application Architectures
   :image: /images/atf-images/generic/purple.png

   A brief description of the content, usually between 2 and 4 
   sentences. This will displayed below the title of the post on 
   Facebook.

   Supports multiple paragraphs.


.. ---------------------------------------------------------------
.. ARTICLE CONTENT
.. ---------------------------------------------------------------

================
h1 Article Title
================

.. introduction::

   Capture the reader’s attention. An interesting fact or data point,
   empathy, engaging.
   
   Offer the reason for the post’s existence. What’s the purpose of the
   post?  What problem is the post going to address?

   Explain how this content will address the problem 

   Include target keyword in the first 100 words of content piece for SEO

.. prerequisites::

   H2 Prerequisites
   ----------------

   If your content has prerequisites, specify them in this section.
   Indicating what type of content the content is can let us do more on
   the front end with clever rendering bits.

.. content::

   H2 This is an H2 Header
   -----------------------

   Content under the first H2

   h3 This is an H3 header
   ~~~~~~~~~~~~~~~~~~~~~~~

   .. youtube:: H3P0lW94L2Q

   another h3
   ~~~~~~~~~~

   .. twitch:: <some sort of identifier>

   Second H2
   ---------

   Content for second h2.

   .. code-block:: javascript

      // this is where you would put some lovely code!

   h3 Step 1: Do stuff
   ~~~~~~~~~~~~~~~~~~~

   Talk about how to do that stuff.

   h3 Step 2: Do other stuff
   ~~~~~~~~~~~~~~~~~~~~~~~~~

   Talk about why you're doing the other stuff

   h4 Maybe We Need An h4
   ``````````````````````

   With content

   h4 Another h4
   `````````````

   Second H4's content

   .. charts::
      :url: https://charts.mongodb.com/charts-coronavirus-lwlvn
      :id: 6f921f0c-a1ee-4106-839c-412fad3c64e7
      :autorefresh: 3600
      :theme: dark
      :width: 760
      :height: 570
      :align: right

.. summary::

   Conclude or summarize your article.
