Why is it important? A first cut at a logging interface

Slides:



Advertisements
Similar presentations
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
Advertisements

The Design Of A Web Document Snapshots Delivery System David Chao College of Business San Francisco State University.
Data Warehousing: Defined and Its Applications Pete Johnson April 2002.
Prof. Vishnuprasad Nagadevara Indian Institute of Management Bangalore
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
The ATLAS Production System. The Architecture ATLAS Production Database Eowyn Lexor Lexor-CondorG Oracle SQL queries Dulcinea NorduGrid Panda OSGLCG The.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Database Programming in Java Corresponds with Chapter 32, 33.
Server tools. Site server tools can be utilised to build, host, track and monitor transactions on a business site. There are a wide range of possibilities.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
9/15/2015© 2008 Raymond P. Jefferis IIILect Application Layer.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
Introduction on R-GMA Shi Jingyan Computing Center IHEP.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
COMP 321 Week 7. Overview HTML and HTTP Basics Dynamic Web Content ServletsMVC Tomcat in Eclipse Demonstration Lab 7-1 Introduction.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
CourseCrawler Matt Berntsen Don Frehulfer Evan Kaiser.
2440: 141 Web Site Administration Web Server Monitoring and Analysis Instructor: Enoch E. Damson.
Lecture 8 – Cookies & Sessions SFDV3011 – Advanced Web Development 1.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
What is Sure Stats? Sure Stats is an add-on for SAP that provides Organizations with detailed Statistical Information about how their SAP system is being.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Java server pages. A JSP file basically contains HTML, but with embedded JSP tags with snippets of Java code inside them. A JSP file basically contains.
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
LCG Accounting John Gordon Grid Deployment Board 13 th January 2004.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
 CMS data challenges. The nature of the problem.  What is GMA ?  And what is R-GMA ?  Performance test description  Performance test results  Conclusions.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
ITM © Port,Kazman 1 ITM 352 Cookies. ITM © Port,Kazman 2 Problem… r How do you identify a particular user when they visit your site (or any.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Local Government Corporation Resource 2016 NextGen Trustee Year End.
Databases and DBMSs Todd S. Bacastow January 2005.
Welcome POS Synchronize Concept 08 Sept 2015.
Managing State Chapter 13.
British Library Document Supply Service (BLDSS) API
Y.-H. Chen International College Ming-Chuan University Fall, 2004
OGF PGI – EDGI Security Use Case and Requirements
z/Ware 2.0 Technical Overview
Receiving New Lending requests
Computing with C# and the .NET Framework
Chapter 2: System Structures
HTTP Protocol Specification
Maximum Availability Architecture Enterprise Technology Centre.
Basic Work-Flow with SQL Server Standard
System Architecture & Hardware Configurations
PHP / MySQL Introduction
Chapter 12: Automated data collection methods
ISC440: Web Programming 2 Server-side Scripting PHP 3
Data, Databases, and DBMSs
Configuring Internet-related services
JavaScript Form Validation
Lesson 1 The Web.
“All About Me” Staff Development Day
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
Database System Concepts and Architecture
CEA Experiences Paul Harrison ESO.
Pre-assessment Questions
Release 6 Webinar for Web Users
A Scripting Server for Domain Automation Tasks
New Technologies for Storage and Display of Meteorological Data
Interoperability Test Message Patterns for IEC
Interoperability Test Message Patterns for IEC
Best Practices in Higher Education Student Data Warehousing Forum
Presentation transcript:

Why is it important? A first cut at a logging interface VO Logging Why is it important? A first cut at a logging interface Maria Nieto-Santisteban Ani Thakar Wil O’Mullane Alex Szalay JHU

Maria Nieto-Santisteban, JHU What is logged Record every single user request in separate log DB For multiple sites, harvest logs to one location Data model for logs Table of log sources Typically two types of log tables Web hits Service requests (e.g. SQL queries) May be more than one of these Logging distributed services quite a challenge IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU Benefits of Logging SDSS/SkyServer experience Usage/traffic profiles great management resource Invaluable for funding proposals and reviews Are we meeting user requirements? Monitor impact of press articles Use data for load balancing Find crawlers and “inconsiderate” users Track server performance Guide schema and interface design Help prospective mirror sites to budget hardware VO logging Analyze VO usage per institution/archive/country Answer question “Who’s using the VO?” Design archive services for future archives like LSST IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU Log Harvesting at JHU Logs from multiple sources harvested at JHU SDSS and VO services at FermiLab and JHU Will be extended to worldwide SDSS mirrors in future Log server copies local Web and SQL logs Web logs copied with xcopy, bcp-ed into DB Local SQL logs collected with bulk inserts Remote log harvesting via Web services Currently using direct link to deliver FNAL logs Future – special purpose Web service Log server runs bi-hourly update Reads everything > timestamp of previous update All logs harvested into Weblog DB IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Log harvesting diagram JHU Log Server SDSS DR2 JHU CopyWeblogs CopySqllogs SDSS DR3 Webservers WebLog DB Weblog Sqllog LogSource CasJobs WebService DR3 FNAL FetchLogs WebClient FNAL ReadWebLog WebService Webserver IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Log Harvesting Data Model IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU VO Logging Issues VO should define minimum log schema for harvested logs Archives may log more data locally Optionally make these available to VO VO should specify WS interface for log harvesting Automatically harvest logs from VO archive sites Need to meet privacy concerns Archives can control visibility of log data Some info (e.g. clientIP) cannot be legally publicized VO should at least collect aggregates Web hits, total bytes in queries, volume of results etc. IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU VO Logging Interface Part of IVOA Support Interfaces working draft Web and Grid Services working group Version 0.22 is up on IVOA twiki Specifies two interfaces HarvestWebLog Takes from and to dates (ISO 8601) and output format Serializes set of WebLogEntry (WebLogEntrySet) to file Returns URL to file location HarvestServiceLog Serializes set of ServiceLogEntry (ServiceLogEntrySet) to file Example interface/WSDL for SDSS SkyServer logs http://skydev.pha.jhu.edu/SkyServerLog/SkyServerLog.asmx IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU WebLogEntry Date – Date request submitted ClientIP – IP Address request came from ServerUrl* - in case server handles multiple websites Method* - post,get Request* - what’s after ? in url – perhaps blank. Browser* - browser which submitted request Status* - http status code(500, 404 ..) Bytes - number of bytes returned Elapsed* - time to complete transaction in seconds * = Required field IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU ServiceLogEntry ClientIp* - Address request came from Server* - Server this ran on ClientAccessLevel - Level of access one of public (anonymous), private (logged in), internal UserId - Can be null RunId* - Passed in, otherwise generated Request* - What was asked for Event - What that means internally QUERY, HARVEST, UPDATE, etc. TimeIn* - Time request was received TimeOut* - Time request was serviced TimeActual* - Processor time waits removed IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

ServiceLogEntry (contd.) Volume - Size in bytes of the response Status* - 0=pending, 1=done, 2=failed ErrorCode*- Numerical error code Response *- Error message if this failed perhaps the actual response if it is a small response, otherwise some summary statement or blank. Mainly to have errors. IsVisible* - 0 or 1 for pub/priv, def. 1 * = Required field IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU

Maria Nieto-Santisteban, JHU It’s a start, but …. Interface will have to be modified Return set is typically very large Takes a long time to retrieve logs Client needs to be notified when output is ready Interface/service needs to be batch/asynchronous Harvested log can be sent/saved to named VOStore A realistic VO log harvester will need a dedicated logging VOStore So logs can be harvested asynchronously So archives can write their log data to it Using put or importData Need account delegation for authentication to work IVOA Kyoto, June 12, 2019 Maria Nieto-Santisteban, JHU