ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
90 stars 82 forks source link

Replace byGeoRequest with byGeoTimeRequest #575

Closed liruiivy closed 5 years ago

liruiivy commented 6 years ago

Overview

The new byTimeRequest (will be named as byGeoTimeRequest) returns {geoID, day, count}. Caching datasets dsStatePopulation, dsCountyPopulation and dsCityPopulation: {geoID, population, …}, we can obtain map results (byGeoRequest results) {geoID, count, population} from byGeoTimeRequest.

HTTP Request

There are currently 2 approaches to this issue: (a) Send JSON request to datasets (b) HTTP request to local files

Although the retrieve from database design would work, we decided on the taking the http request approach for the following reasons:

Therefore, it may not be necessary to inject them to the database. p.s. A similar case is the geo polygon load.

Experimental Results

Based on the results in the following link, this change will decrease the time on waiting for cloudberry server response: https://docs.google.com/spreadsheets/d/1fmmRAUjLcdHqb7C6Q8BGLuGU_PM5rzFLiYRgQBNKtoA/edit?usp=sharing


baiqiushi commented 5 years ago

589