Skip to content

An extremely taxing API design coding interview of some company. This took me 2 weeks to complete but all I got was some feedbacks that's not very realistic in such a short timeframe.

Notifications You must be signed in to change notification settings

Chen-Zhe/bigquery_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigQuery Challenge

Setup Process

This setup process assumes an installation on Ubuntu

  1. Install Anaconda Python

  2. Install additional python packages

    pip install s2sphere google-cloud-bigquery
    conda install redis-py pyarrow
    
  3. Install and Configure Redis (Optional)

    1. apt-get install redis-server
    2. Configure the Redis instance to be a LRU cache with maxmemory-policy set to allkeys-lru
    3. start Redis server service redis-server start
  4. Run server.py for a development server or connect it to a WSGI server.

Feedbacks

  1. have integration test, unit test
  2. OODP
  3. logging - could be more careful
  4. behavior is correct, error-handling is correct
  5. analyze data in details

concerns

  1. a little bit hard for it to run on system. no documentation on the credentials and no build scripts for docker image.
  2. init.py usage is not up to standard
  3. date filter to have optional to put in cache
  4. unit test: could have better coverage

About

An extremely taxing API design coding interview of some company. This took me 2 weeks to complete but all I got was some feedbacks that's not very realistic in such a short timeframe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages