Giter Site home page Giter Site logo

pokemongo-map-poc's Introduction

PokemonGo Map Query Server & Crawler Server

Disclaimer: This is a POC(proof of concept) project improved from chenditic's original design for education purpose.

Demo

http://hackjutsu.com/pokemongo-map-poc-demo/

Temporarily disabled to save my budget on AWS ;)

Data source

All Pokemon data, which are essentially fake, are generated randomly by a mock API. In principle, there is no communction between the crawlers and the real Pokemon Go servers.

System Architecture

A distributed crawler system that achieves heuristic data crawling based on geographical location information, said system comprising:

  1. A web app sends network requests with said geographical locations information to an API gateway,
  2. An API gateway subsystem constructed by said API gateways, routes said requests to a query cluster,
  3. A query subsystem constructed by said query cluster, queries for Pokemons data based on said geographical locations information from a database on AWS, and returns said Pokemon data to said web app, and sends said geographical locations information to message queues,
  4. A message queue subsystem constructed from said message queues, stores said messages from said query subsystem, and provides said messages to a crawler cluster
  5. A crawler subsystem constructed by said crawler cluster, retrieves said geographical locations information from said message queue subsystem, and gets fake Pokemons data from a mock Pokemon go API, and saves said fake Pokemons data to a database,
  6. A database subsystem constructed by said database, stores said Pokemons data.

This repository composes of an implemenation for the query server and an implementation of the crawler server. An implementation for the web app can be found here.

Resource

License

MIT

pokemongo-map-poc's People

Contributors

hackjutsu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.