SlideShare a Scribd company logo
NoSQL


“Easy” web monitoring
HEP Computing environment
•   Big datacenters
•   Existent monitoring
    o Nagios/Cacti/similars monitoring
    o Site Availability Monitoring/Hammercloud
    o High level tests (Grid services)

    o  General Monitoring of grid services
•   Missing/incomplete monitoring
    o Specific/detailed information about specific Grid services
    o Transfer Management tool (PhEDEx for CMS)

    o   Batch system (Condor,PBS,LSF,Torque, etc)
    o   Quota report based on Experiment's characteristic
        organization (Physics groups, T2 federation, etc)
Options
•   SGDB's & SQL - Might be too much
    o More costs for deployment
    o Less flexibility
    o Increase application's complexity/time spent
    o Black sheep - SQLite - however, scaling problems
•   Scripting - Might be too bad
    o Database is too much, query the info from CLI,
       format and print (text file, HTML)
    o Parse logs, format and print (text file, HTML)
•   Bottom line is evaluate – Effort x Result x Quality you
    need
NoSQL
It doesn't mean SQL is a bad idea =)

          CouchDB,MongoDB, etc...
JSON
    
          My apologies to the ones that know it...
    
          Format that represents associative arrays (ke
         value pairs)
{
    "Name": "Smith",
    "age": 25,
    "address": {
         "streetAddress": "21 2nd Street",
         "city": "New York",
         "state": "NY",
         "postalCode": "10021"
    },
}
For the curious... MapReduce

    Trivial parallelization
        
            First Map (filter, get documents subset)
        
            Then reduce (count, sum, etc)
Overview

    Server

    Databases
       
             Documents
                
                     Unique ID, revision
                
                     All the rest is free
                
                     Key/Value – datatype for many languages
       
             Views
                
                     Static sets of what you want to show
                
                     View code scans all documents in the database
                
                     Caching
       
             For Your Information – “CouchApps”
{
                                  Documents
    "_id": "osgce@osgce.hepgrid.uerj.br#1146503.0#1335286041",

    "_rev": "10-12a26ecf9bc0fecf5ed9073c374a620c",

    "data": {

      "NumJobStarts": {

              "i": "1"

      },

      "EnteredCurrentStatus": {

              "i": "1335415262"

      },

      "CurrentHosts": {            http://<MYSERVER>/<MYDATABASE>/<DOCUMENT_ID>

              "i": "0"

          }
      }

}
Views

        Extract from the documents, only what you want to see

        Only documents you want to see


function(doc) {
    if (doc.Type == "customer") {
        emit(doc._id, {LastName: doc.LastName, FirstName: doc.FirstName,
        Address: doc.Address});
    }
}
        http://<MYSERVER>/<MYDATABASE>/_design/<MYDESIGN>/
        _view/<MYVIEW>
CouchApps

     Webserver
        
             CouchDB hosts your HTML(5...)+Javascript
             application

     Upload to the given “DB”, has access to it's
    views, and docs.

     DB is replicated, everything goes together

    http://<MYSERVER>/<MYDATABASE>/_design/<MYCOUCHAPPAME>/index.html
GlobalMonitor
NoSQL - "simple" web monitoring

More Related Content

PPTX
PDF
Palestra Java + NoSQL = Iniciativa JNoSQL no TDC Florianópolis
PDF
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
PPT
2011 mongo FR - scaling with mongodb
PDF
NoSQL Overview
PPTX
Mongo db – document oriented database
PPTX
PDF
Updating materialized views and caches using kafka
Palestra Java + NoSQL = Iniciativa JNoSQL no TDC Florianópolis
TDC2017 | Florianopolis - Trilha DevOps How we figured out we had a SRE team ...
2011 mongo FR - scaling with mongodb
NoSQL Overview
Mongo db – document oriented database
Updating materialized views and caches using kafka

What's hot (20)

PDF
MongoDB - An Introduction
PDF
Replicating application data into materialized views
PDF
PPTX
Mongo DB 102
PPTX
Mongo DB Presentation
PDF
An introduction to U1db
PDF
MySQL Without The SQL -- Oh My! PHP Detroit July 2018
ODP
MongoDB - A Document NoSQL Database
PDF
Mongo db basics
PPTX
MongoDB 101
PPTX
Mongo db
PDF
FOXX - a Javascript application framework on top of ArangoDB
PDF
How to search extracted data
PDF
Db connection to qtp
PPT
Json – java script object notation
PPT
Json – java script object notation
PDF
Starting with MongoDB
PPTX
MongoDb and NoSQL
MongoDB - An Introduction
Replicating application data into materialized views
Mongo DB 102
Mongo DB Presentation
An introduction to U1db
MySQL Without The SQL -- Oh My! PHP Detroit July 2018
MongoDB - A Document NoSQL Database
Mongo db basics
MongoDB 101
Mongo db
FOXX - a Javascript application framework on top of ArangoDB
How to search extracted data
Db connection to qtp
Json – java script object notation
Json – java script object notation
Starting with MongoDB
MongoDb and NoSQL
Ad

Viewers also liked (20)

PDF
Cacti
PPT
Nagios Conference 2011 - Tony Roman - Cacti Workshop
PPTX
Real-time Application Monitoring
PDF
Managing and Monitoring Application Performance
PDF
Conference on Nagios: Reinhard Scheck on Cacti
PPT
Infrastructure - Monitoring - Cacti
PDF
Network Monitoring System and Alert System
PPTX
Integricall 1 [autosaved]
PPT
基于XMPP的Gtalk机器人
PDF
Testes, TDD e Outras Coisas Que Você Deveria Saber
PDF
Bolsa Escola: melhoria educacional e redução da pobreza
PPTX
Concentrate on your concentration
PPT
Weekly news 2
PDF
Nell stash - Order Form (Custom)
PPT
Famelarization in diabetes
PPT
Vidya & Child : A Photostory
PPTX
Texting While Driving
PPTX
[plan politika] Youth movement nowadays
PPTX
8 12 nov
Cacti
Nagios Conference 2011 - Tony Roman - Cacti Workshop
Real-time Application Monitoring
Managing and Monitoring Application Performance
Conference on Nagios: Reinhard Scheck on Cacti
Infrastructure - Monitoring - Cacti
Network Monitoring System and Alert System
Integricall 1 [autosaved]
基于XMPP的Gtalk机器人
Testes, TDD e Outras Coisas Que Você Deveria Saber
Bolsa Escola: melhoria educacional e redução da pobreza
Concentrate on your concentration
Weekly news 2
Nell stash - Order Form (Custom)
Famelarization in diabetes
Vidya & Child : A Photostory
Texting While Driving
[plan politika] Youth movement nowadays
8 12 nov
Ad

Similar to NoSQL - "simple" web monitoring (20)

KEY
NOSQL, CouchDB, and the Cloud
PPTX
CouchDB
PDF
Couch Db
PDF
No SQL Technologies
PDF
Post-relational databases: What's wrong with web development?
PDF
Using Spring with NoSQL databases (SpringOne China 2012)
KEY
DevNation Atlanta
PDF
MongoDB in FS
PDF
Nosql hands on handout 04
KEY
MongoDB - Ruby document store that doesn't rhyme with ouch
ODP
Intro to CouchDB
PDF
Scalarium and CouchDB
PDF
Post-relational databases: What's wrong with web development? v3
PDF
Transition from relational to NoSQL Philly DAMA Day
PDF
Navigating the Transition from relational to NoSQL - CloudCon Expo 2012
PPTX
Webinar: Building Your First Application with MongoDB
PDF
Couchdb Nosql
PDF
Mongodb my
PDF
MongoDB
NOSQL, CouchDB, and the Cloud
CouchDB
Couch Db
No SQL Technologies
Post-relational databases: What's wrong with web development?
Using Spring with NoSQL databases (SpringOne China 2012)
DevNation Atlanta
MongoDB in FS
Nosql hands on handout 04
MongoDB - Ruby document store that doesn't rhyme with ouch
Intro to CouchDB
Scalarium and CouchDB
Post-relational databases: What's wrong with web development? v3
Transition from relational to NoSQL Philly DAMA Day
Navigating the Transition from relational to NoSQL - CloudCon Expo 2012
Webinar: Building Your First Application with MongoDB
Couchdb Nosql
Mongodb my
MongoDB

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
KodekX | Application Modernization Development
PDF
Machine learning based COVID-19 study performance prediction
PDF
Electronic commerce courselecture one. Pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Modernizing your data center with Dell and AMD
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PPTX
Cloud computing and distributed systems.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Understanding_Digital_Forensics_Presentation.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
KodekX | Application Modernization Development
Machine learning based COVID-19 study performance prediction
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
NewMind AI Weekly Chronicles - August'25 Week I
Modernizing your data center with Dell and AMD
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
Cloud computing and distributed systems.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology

NoSQL - "simple" web monitoring

  • 2. HEP Computing environment • Big datacenters • Existent monitoring o Nagios/Cacti/similars monitoring o Site Availability Monitoring/Hammercloud o High level tests (Grid services) o General Monitoring of grid services • Missing/incomplete monitoring o Specific/detailed information about specific Grid services o Transfer Management tool (PhEDEx for CMS) o Batch system (Condor,PBS,LSF,Torque, etc) o Quota report based on Experiment's characteristic organization (Physics groups, T2 federation, etc)
  • 3. Options • SGDB's & SQL - Might be too much o More costs for deployment o Less flexibility o Increase application's complexity/time spent o Black sheep - SQLite - however, scaling problems • Scripting - Might be too bad o Database is too much, query the info from CLI, format and print (text file, HTML) o Parse logs, format and print (text file, HTML) • Bottom line is evaluate – Effort x Result x Quality you need
  • 4. NoSQL It doesn't mean SQL is a bad idea =) CouchDB,MongoDB, etc...
  • 5. JSON  My apologies to the ones that know it...  Format that represents associative arrays (ke value pairs) { "Name": "Smith", "age": 25, "address": { "streetAddress": "21 2nd Street", "city": "New York", "state": "NY", "postalCode": "10021" }, }
  • 6. For the curious... MapReduce  Trivial parallelization  First Map (filter, get documents subset)  Then reduce (count, sum, etc)
  • 7. Overview  Server  Databases  Documents  Unique ID, revision  All the rest is free  Key/Value – datatype for many languages  Views  Static sets of what you want to show  View code scans all documents in the database  Caching  For Your Information – “CouchApps”
  • 8. { Documents "_id": "osgce@osgce.hepgrid.uerj.br#1146503.0#1335286041", "_rev": "10-12a26ecf9bc0fecf5ed9073c374a620c", "data": { "NumJobStarts": { "i": "1" }, "EnteredCurrentStatus": { "i": "1335415262" }, "CurrentHosts": { http://<MYSERVER>/<MYDATABASE>/<DOCUMENT_ID> "i": "0" } } }
  • 9. Views  Extract from the documents, only what you want to see  Only documents you want to see function(doc) { if (doc.Type == "customer") { emit(doc._id, {LastName: doc.LastName, FirstName: doc.FirstName, Address: doc.Address}); } } http://<MYSERVER>/<MYDATABASE>/_design/<MYDESIGN>/ _view/<MYVIEW>
  • 10. CouchApps  Webserver  CouchDB hosts your HTML(5...)+Javascript application  Upload to the given “DB”, has access to it's views, and docs.  DB is replicated, everything goes together http://<MYSERVER>/<MYDATABASE>/_design/<MYCOUCHAPPAME>/index.html