Git Product home page Git Product logo

dataengineerchallenge's Introduction

DataEngineerChallenge

This is an interview challenge for PayPay. Please feel free to fork. Pull Requests will be ignored.

The challenge is to make make analytical observations about the data using the distributed tools below.

Processing & Analytical goals:

  1. Sessionize the web log by IP. Sessionize = aggregrate all page hits by visitor/IP during a session. https://en.wikipedia.org/wiki/Session_(web_analytics)

  2. Determine the average session time

  3. Determine unique URL visits per session. To clarify, count a hit to a unique URL only once per session.

  4. Find the most engaged users, ie the IPs with the longest session times

Additional questions for Machine Learning Engineer (MLE) candidates:

  1. Predict the expected load (requests/second) in the next minute

  2. Predict the session length for a given IP

  3. Predict the number of unique URL visits by a given IP

Tools allowed (in no particular order):

  • Spark (any language, but prefer Scala or Java)
  • Pig
  • MapReduce (Hadoop 2.x only)
  • Flink
  • Cascading, Cascalog, or Scalding

If you need Hadoop, we suggest HDP Sandbox: http://hortonworks.com/hdp/downloads/ or CDH QuickStart VM: http://www.cloudera.com/content/cloudera/en/downloads.html

Additional notes:

  • You are allowed to use whatever libraries/parsers/solutions you can find provided you can explain the functions you are implementing in detail.
  • IP addresses do not guarantee distinct users, but this is the limitation of the data. As a bonus, consider what additional data would help make better analytical conclusions
  • For this dataset, complete the sessionization by time window rather than navigation. Feel free to determine the best session window time on your own, or start with 15 minutes.
  • The log file was taken from an AWS Elastic Load Balancer: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/access-log-collection.html#access-log-entry-format

How to complete this challenge:

  1. Fork this repo in github
  2. Complete the processing and analytics as defined first to the best of your ability with the time provided.
  3. Place notes in your code to help with clarity where appropriate. Make it readable enough to present to the PayPay interview team.
  4. Include the test code and data in your solution.
  5. Complete your work in your own github repo and send the results to us and/or present them during your interview.

What are we looking for? What does this prove?

We want to see how you handle:

  • New technologies and frameworks
  • Messy (ie real) data
  • Understanding data transformation This is not a pass or fail test, we want to hear about your challenges and your successes with this particular problem.

dataengineerchallenge's People

Contributors

george24601 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.