SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Building Location-Based Search
                                                                                   with

                                        Amazon CloudSearch

                                                                            Tom Hill
                                                                        April 3, 2013




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda
!        What is CloudSearch
!        What is Location-Based search?
!        Computing distance
!        Location-Based Search in CloudSearch
!        Sample App




    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Housekeeping
!   Type questions into GoToMeeting window
       •  We'll get to them at the end.
!   Recording will be on the AWS YouTube channel
!   Slides will be on Slideshare.net
       •  A link to slides will be mailed to all participants
!   You can maximize the shared screen's window



© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is CloudSearch?
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is CloudSearch
!        Amazon CloudSearch is a fully-managed search service
!        Easy to add search functionality to your application
!        Fast and highly scalable
!        Supports search features like
           •  Faceting
           •  Synonyms, stopwords
           •  Ranking




    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How is CloudSearch Used
     !   Create/Configure a "search domain"
     !   Post documents via HTTP
     !   Search via HTTP
             •  results as XML or JSON
     !   Scales automatically


http://search-­‐DOMAIN-­‐XYZ.REGION.cloudsearch.amazonaws.com/2011-­‐02-­‐01/search?q=cat	
  



      © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
More Information
!   Webinar
       •  'Getting Started With Amazon CloudSearch"
!   April 17, 9:00am PT / 12:00pm ET
!   Register at http://bit.ly/11WZRAZ




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is Location Based Search?
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is Location-Based Search?
!   Using location & distance as factors in search




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Why Do You Care?
!   People care about things near them.
       •  Pizza, Classified Ads, etc.
       •  Find a Doctor, Lawyer,…
!   Mobile is a key driver




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How do we use distance?
!   Limit to an Area
       •  Box
       •  Circle

!   Sort by Distance


!   Include distance in ranking
       •  combine text relevance and distance

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Computing Distance
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Computing Distance
!   Many Formulas
       •      Rectangular distance
       •      Equi-rectangular projection
       •      Spherical Law of Cosines
       •      Haversine Formula
!   Speed Vs. Accuracy
       •  Speed: Rectangular distance
       •  Accuracy: Haversine Formula


© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Why So Many Ways to Compute Distance?

The earth isn't flat!                                                                                                  It isn't a sphere either.




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Is the Earth Flat?
!   If it's flat
                                              (x − x2)2 + (y − y2)2
!   If it's not flat
                       #                                                      &
                            2 # φ 2 − φ1 &                      2 # λ2 − λ1 &
           2r × arcsin % sin %
                       %                 ( + cos(φ1 )cos(φ2 )sin %          ((
                       $      $ 2 '                               $ 2 '(      '




 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How Much Difference?
!   Distances between some cities
       •  Fort Lauderdale, FL to New Haven, CT
                 •  Haversine:         1813	
  
                 •  Rectangular: 1872	
  
                 •  Difference:
                              	
   	
  	
  	
  	
  3%	
  
       •  Bangor,	
  ME	
  to	
  Adak,	
  AK	
  
                 •  Haversine:             7244	
  
                 •  Rectangular: 12016	
  
                 •  Difference:
                              	
   	
  	
  	
  	
  66%	
  


© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Difference in Detail
 !   Four computations
         •      Rectangular Distance
         •      EquiRectangular Projection
         •      Spherical Law of Cosines
         •      Haversine

  Haversine      Cosines     EuqiRect         Rect  -  CosErr EquErr RecErr 	
1812.54997   1812.54997   1814.38516   1871.77660  -   0.000  0.001  0.033  Fort Lauderdale, FL to New Haven, CT	
7244.45661   7244.45661   8008.74698  12015.96646  -   0.000  0.106  0.659  Bangor, ME to Adak,AK	
	
	
              Same                          Close                     Not so close

  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How Much Accuracy?

!   "Pizza, 1 Mile"
! Haversine is more accurate
       •  If you are a bird
!   Any distance is approximate




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Which one is the Right Choice?

!   As usual: "It depends"
!   Factors
       •  Desired query speed
       •  Index size
       •  Accuracy needed
!   Start with Equirectangular Projection
       •  Test



© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Location-Based Search in CloudSearch
 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
How to Compute Distance in CloudSearch?

!   Rank Expressions
       •  Computations run for each matching document
!   Can be used for
       •  Sorting
       •  Influencing Scoring




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Two Types of Rank Expressions
!   Static Rank Expressions
       •  Computation based on values in index
!   Query Time Rank Expressions
       •  Allow including parameters at run time.
                 •  e.g. latitude, longitude.




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Converting to Rank Expression
!   Rank expressions have JavaScript-like syntax
!   Most math functions
       •  log2, log10,sin, cos, atan, min, max, etc.
!   So this distance formula:
                                                                                               (x − x2)2 + (y − y2)2
!   Becomes
       •  sqrt(pow(lat-userlat),2)+pow(lon-userlon),2))



© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Query Time Rank Expressions
!   Define Rank Expression
      •  &rank-NAME=EXPRESSION
      •  &rank-geo=sqrt(pow(lat-userlat),2)+pow(lon-userlon),2))
!   Select Rank Expression
      •  &rank=NAME
      •  &rank=geo

http://searchendpoint?q=creek&rank=geo&rank-geo=sqrt(pow(la1-123),2)+pow(lo1-456),2))



  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Influencing Scoring
!   Include both text relevance and distance:

&rank-geo=(1000-text_relevance) + sqrt(pow(la1-ulat),2)+pow(lo1-
ulon),2))

!   Relevance: Higher is better
!   Distance: Lower is better


© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Combining Relevance and Distance
!   Which is more important distance or relevance?
       •  By how much?
!   Relative Weight
       •  N * text_relevance + M * distance
!   That's where the art comes in
       •  Will vary by your application
       •  Test & tune, and test again
       •  Rank expression comparator


© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Compare Rank Expressions




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Storing Data
!   CloudSearch supports unsigned integers
!   Have to convert latitude, longitude to positive ranges
       •  latitude + 90
       •  longitude + 180
!   Have to store as integers; need to scale
       •  latitude = (latitude + 90) * 1000
       •  longitude= (longitude+ 180) * 1000



© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Performance
!   Don't query the whole world
       •  Can limit by literals or numeric fields.
       •  Literals are more efficient for limits.
!   Limit Options
       •  Literal
                 •  &bq=state:'CA'
                 •  &bq=zip:'94402'
       •  Numeric
                 •  &bq=(and latitude:40..50 longitude:80..85)

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Performance Measures
   Why you don't want query the whole world!

	
  GeoMethod	
  	
  	
  	
  TextRel	
  	
  	
  	
  	
  Limits	
  	
  	
  	
  Queries	
  	
  Seconds	
  	
  QTimeMS	
  	
  	
  	
  Threads	
  CompletedQ	
  	
  	
  	
  	
  	
  AveHits	
  
	
  	
  	
  	
  	
  	
  NONE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  6.2255	
  	
  	
  	
  	
  	
  622	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  8345450.00	
  
	
  CARTESIAN	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  15.6064	
  	
  	
  	
  	
  1560	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  8345450.00	
  
	
  	
  	
  	
  	
  	
  EQUI	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  19.7106	
  	
  	
  	
  	
  1971	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  8345450.00	
  
	
  	
  	
  COSINES	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  27.4968	
  	
  	
  	
  	
  2749	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  8345450.00	
  
	
  HAVERSINE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  31.2595	
  	
  	
  	
  	
  3125	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  8345450.00	
  
	
  
	
  	
  	
  	
  	
  	
  NONE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  Numeric	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  9.1758	
  	
  	
  	
  	
  	
  917	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3807.00	
  
	
  CARTESIAN	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  Numeric	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  9.0255	
  	
  	
  	
  	
  	
  902	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3807.00	
  
	
  	
  	
  	
  	
  	
  EQUI	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  Numeric	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  9.1158	
  	
  	
  	
  	
  	
  911	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3807.00	
  
	
  	
  	
  COSINES	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  Numeric	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  9.8321	
  	
  	
  	
  	
  	
  983	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3807.00	
  
	
  HAVERSINE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  Numeric	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  9.1272	
  	
  	
  	
  	
  	
  912	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3807.00	
  
	
  
	
  	
  	
  	
  	
  	
  NONE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  literal	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  0.8254	
  	
  	
  	
  	
  	
  	
  82	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3781.00	
  
	
  CARTESIAN	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  literal	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  0.5936	
  	
  	
  	
  	
  	
  	
  59	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3781.00	
  
	
  	
  	
  	
  	
  	
  EQUI	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  literal	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  0.6173	
  	
  	
  	
  	
  	
  	
  61	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3781.00	
  
	
  	
  	
  COSINES	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  literal	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  0.5916	
  	
  	
  	
  	
  	
  	
  59	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3781.00	
  
	
  HAVERSINE	
  	
  	
  	
  	
  	
  false	
  	
  	
  	
  literal	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  0.6289	
  	
  	
  	
  	
  	
  	
  62	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  1	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  3781.00	
  
	
  


    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Geo-Spatial Demo Application
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Demo Application Structure


HTML Page
                                     Ajax               Server                                                CloudSearch
  Javascript
                                                       (Tomcat)




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Demo Implementation
!   JavaScript
       •  Ajax
       •  JQuery
       •  Google Maps API
!   Tomcat Server
       •  Java
       •  Just for forwarding of requests
                 •  Because XSS, that's why.


© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Querying CloudSearch
$.ajax({	
  
      	
  url	
  :	
  "searchx",	
  
      	
  data	
  :	
  {	
  
      	
         	
  'q'	
  :	
  currentQuery,	
  
      	
         	
  'domain'	
  :	
  "geoname25",	
  
      	
         	
  'return-­‐fields'	
  :	
  returnFields.join(),	
  
      	
         	
  "rank"	
  :	
  "geo",	
  
      	
         	
  "rank-­‐geo"	
  :	
  "Math.sqrt(Math.pow(Math.abs(doc.latitude_90-­‐	
  12539),2)	
  +	
  
Math.pow(Math.abs(doc.longitude_180-­‐	
  5784),2))"	
  
      	
  },	
  
      	
  dataType	
  :	
  "json",	
  
      	
  success	
  :	
  function(data)	
  {	
  
      	
         	
  var	
  hits	
  =	
  data['hits'];	
  
      	
         	
  displaySearchResults(hits['hit'],	
  hits['found']);	
  
      	
         	
  populateMap(hits['hit']);	
  
      	
  }	
  
 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
});	
  
Getting Latitude & Longitude
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Getting Latitude & Longitude
!   What if you don't know the latitude & longitude?
! GeoCoding Services
       •  Many services
                 •  Some free tiers
                 •  May have restrictions
       •  Google, Bing, Yahoo, MapQuest, ArcGis, …




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Wrap Up
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Recap
!   Local search is a component of many applications
!   CloudSearch supports local search
       •  Using rank expressions
! GeoCoding services




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Thanks for Coming!
!   Data
       •  http://www.geonames.org/export/
!   Slides
       •  Slideshare.net soon. We'll send you a link.
!   Sample Code
       •  Talk to me. (tomhill@amazon.com)
!   Computations
       •  http://www.movable-type.co.uk/scripts/latlong.html
       •  wikipedia

© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Any Questions?




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Thanks for Coming!




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Use Zip Code, City, State as a proxy
!   Multiple ways to select, map, zip, current location




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Radians vs Degrees
!   Should note somewhere that all but rectangular distance
    require radians.




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Querying Data
!   Java/Javascript
              •  Fields are latitude_90, longitude_180
              •  user location is userlat, userlon

!   simple distance
rank	
  =	
  "Math.sqrt(Math.pow(Math.abs(latitude_90-­‐("	
  +	
  userlat	
  +	
  ")),
2)+Math.pow(Math.abs(longitude_180-­‐("	
  +	
  userlon	
  +	
  ")),2))";	
  
	
  

!   Spherical Law of Cosines
rank = "6371*Math.acos(Math.sin(" + userlat + ") * Math.sin(lat_rad/" + scale + ") +
Math.cos(" + userlat + ") * Math.cos(lat_rad/" + scale + ") * Math.cos((lon_rad/" + scale +
") - " + userlon + ") )";	
  


       © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What CloudSearch Doesn't Do




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Issues with assuming
                                                                                                                          the earth is flat.




© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Contenu connexe

Tendances

AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...
AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...
AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...Amazon Web Services
 
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...Adrian Hornsby
 
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017Amazon Web Services
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemAmazon Web Services
 
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018Demystifying Machine Learning On AWS - AWS Summit Sydney 2018
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018Amazon Web Services
 
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...Amazon Web Services
 
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine LearningAWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine LearningAWS Germany
 
AI & Deep Learning At Amazon - April 2017 AWS Online Tech Talks
AI & Deep Learning At Amazon - April 2017 AWS Online Tech TalksAI & Deep Learning At Amazon - April 2017 AWS Online Tech Talks
AI & Deep Learning At Amazon - April 2017 AWS Online Tech TalksAmazon Web Services
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the UnionAdrian Hornsby
 
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...Amazon Web Services
 
Innovations and the Cloud
Innovations and the CloudInnovations and the Cloud
Innovations and the CloudAdrian Hornsby
 
20191009 AWS Black Belt Online Seminar Amazon GameLift
20191009 AWS Black Belt Online Seminar Amazon GameLift20191009 AWS Black Belt Online Seminar Amazon GameLift
20191009 AWS Black Belt Online Seminar Amazon GameLiftAmazon Web Services Japan
 
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...Amazon Web Services
 
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SF
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SFAdd Intelligence to Applications with AWS ML: Machine Learning Workshops SF
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SFAmazon Web Services
 
International SEO - Search Love London 2012
International SEO - Search Love London 2012International SEO - Search Love London 2012
International SEO - Search Love London 2012Lisa Myers
 
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...Amazon Web Services
 
Best Practices for Integrating Amazon Rekognition into Your Own Applications
Best Practices for Integrating Amazon Rekognition into Your Own ApplicationsBest Practices for Integrating Amazon Rekognition into Your Own Applications
Best Practices for Integrating Amazon Rekognition into Your Own ApplicationsAmazon Web Services
 
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...Amazon Web Services
 

Tendances (20)

AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...
AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...
AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Intera...
 
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
 
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017
NEW LAUNCH! Feature updates for Amazon Rekognition - MCL336 - re:Invent 2017
 
Use Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition SystemUse Amazon Rekognition to Build a Facial Recognition System
Use Amazon Rekognition to Build a Facial Recognition System
 
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018Demystifying Machine Learning On AWS - AWS Summit Sydney 2018
Demystifying Machine Learning On AWS - AWS Summit Sydney 2018
 
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...
AWS Machine Learning Week SF: Build an Image-Based Automatic Alert System wit...
 
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine LearningAWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
 
AI & Deep Learning At Amazon - April 2017 AWS Online Tech Talks
AI & Deep Learning At Amazon - April 2017 AWS Online Tech TalksAI & Deep Learning At Amazon - April 2017 AWS Online Tech Talks
AI & Deep Learning At Amazon - April 2017 AWS Online Tech Talks
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the Union
 
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...
AWS Webcast - Accelerating Application Performance Using In-Memory Caching in...
 
Innovations and the Cloud
Innovations and the CloudInnovations and the Cloud
Innovations and the Cloud
 
20191009 AWS Black Belt Online Seminar Amazon GameLift
20191009 AWS Black Belt Online Seminar Amazon GameLift20191009 AWS Black Belt Online Seminar Amazon GameLift
20191009 AWS Black Belt Online Seminar Amazon GameLift
 
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...
Workshop Build an Image-Based Automatic Alert System with Amazon Rekognition:...
 
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SF
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SFAdd Intelligence to Applications with AWS ML: Machine Learning Workshops SF
Add Intelligence to Applications with AWS ML: Machine Learning Workshops SF
 
International SEO - Search Love London 2012
International SEO - Search Love London 2012International SEO - Search Love London 2012
International SEO - Search Love London 2012
 
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...
Amazon Polly Tips and Tricks: How to Bring Your Text-to-Speech Voices to Life...
 
Going responsive
Going responsiveGoing responsive
Going responsive
 
An Introduction to Amazon AI
An Introduction to Amazon AIAn Introduction to Amazon AI
An Introduction to Amazon AI
 
Best Practices for Integrating Amazon Rekognition into Your Own Applications
Best Practices for Integrating Amazon Rekognition into Your Own ApplicationsBest Practices for Integrating Amazon Rekognition into Your Own Applications
Best Practices for Integrating Amazon Rekognition into Your Own Applications
 
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...
Automate for Efficiency with Amazon Transcribe & Amazon Translate: Machine Le...
 

Similaire à AWS Webcast - Location Based Search

Delivering Better Search For WordPress - AWS Webcast
Delivering Better Search For WordPress - AWS WebcastDelivering Better Search For WordPress - AWS Webcast
Delivering Better Search For WordPress - AWS WebcastMichael Bohlig
 
CIS13: AWS Identity and Access Management
CIS13: AWS Identity and Access ManagementCIS13: AWS Identity and Access Management
CIS13: AWS Identity and Access ManagementCloudIDSummit
 
AWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS FailoverAWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS FailoverAmazon Web Services
 
AWS Webinar - Intro to Amazon Cloudfront 13-09-17
AWS Webinar -  Intro to Amazon Cloudfront 13-09-17AWS Webinar -  Intro to Amazon Cloudfront 13-09-17
AWS Webinar - Intro to Amazon Cloudfront 13-09-17Amazon Web Services
 
Customizing AWS DeepRacer Action Space
Customizing AWS DeepRacer Action SpaceCustomizing AWS DeepRacer Action Space
Customizing AWS DeepRacer Action SpaceKire Galev
 
Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015Amazon Web Services
 
Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3Amazon Web Services
 
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media ServerAWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media ServerAmazon Web Services
 
AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10Amazon Web Services
 
Vectors are the new JSON in PostgreSQL (SCaLE 21x)
Vectors are the new JSON in PostgreSQL (SCaLE 21x)Vectors are the new JSON in PostgreSQL (SCaLE 21x)
Vectors are the new JSON in PostgreSQL (SCaLE 21x)Jonathan Katz
 
AWS Webcast - Design for Availability
AWS Webcast - Design for AvailabilityAWS Webcast - Design for Availability
AWS Webcast - Design for AvailabilityAmazon Web Services
 
20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS BatchAmazon Web Services Japan
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMRAmazon Web Services Japan
 
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names  AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names Amazon Web Services
 
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...Amazon Web Services
 
Amir sadoughi developing large-scale machine learning algorithms on amazon ...
Amir sadoughi   developing large-scale machine learning algorithms on amazon ...Amir sadoughi   developing large-scale machine learning algorithms on amazon ...
Amir sadoughi developing large-scale machine learning algorithms on amazon ...MLconf
 

Similaire à AWS Webcast - Location Based Search (20)

Delivering Better Search For WordPress - AWS Webcast
Delivering Better Search For WordPress - AWS WebcastDelivering Better Search For WordPress - AWS Webcast
Delivering Better Search For WordPress - AWS Webcast
 
CIS13: AWS Identity and Access Management
CIS13: AWS Identity and Access ManagementCIS13: AWS Identity and Access Management
CIS13: AWS Identity and Access Management
 
AWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS FailoverAWS Webcast - High Availability with Route 53 DNS Failover
AWS Webcast - High Availability with Route 53 DNS Failover
 
AWS Webinar - Intro to Amazon Cloudfront 13-09-17
AWS Webinar -  Intro to Amazon Cloudfront 13-09-17AWS Webinar -  Intro to Amazon Cloudfront 13-09-17
AWS Webinar - Intro to Amazon Cloudfront 13-09-17
 
Customizing AWS DeepRacer Action Space
Customizing AWS DeepRacer Action SpaceCustomizing AWS DeepRacer Action Space
Customizing AWS DeepRacer Action Space
 
Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015Amazon Route 53 - Webinar Presentation 9.16.2015
Amazon Route 53 - Webinar Presentation 9.16.2015
 
Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3
 
Hadoop on the Cloud
Hadoop on the CloudHadoop on the Cloud
Hadoop on the Cloud
 
eMetrics Summit San Francisco 2013
eMetrics Summit San Francisco 2013 eMetrics Summit San Francisco 2013
eMetrics Summit San Francisco 2013
 
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media ServerAWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server
AWS Webcast - Live Streaming using Amazon CloudFront and Wowza Media Server
 
AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10AWS Webinar - Design for Availability-13_09_10
AWS Webinar - Design for Availability-13_09_10
 
Cloud 101 (Old)
Cloud 101 (Old)Cloud 101 (Old)
Cloud 101 (Old)
 
Vectors are the new JSON in PostgreSQL (SCaLE 21x)
Vectors are the new JSON in PostgreSQL (SCaLE 21x)Vectors are the new JSON in PostgreSQL (SCaLE 21x)
Vectors are the new JSON in PostgreSQL (SCaLE 21x)
 
AWS Webcast - Design for Availability
AWS Webcast - Design for AvailabilityAWS Webcast - Design for Availability
AWS Webcast - Design for Availability
 
20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch20190911 AWS Black Belt Online Seminar AWS Batch
20190911 AWS Black Belt Online Seminar AWS Batch
 
Ecommerce Hands on Workshop - Tim Ash
Ecommerce Hands on Workshop - Tim Ash Ecommerce Hands on Workshop - Tim Ash
Ecommerce Hands on Workshop - Tim Ash
 
20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR20191023 AWS Black Belt Online Seminar Amazon EMR
20191023 AWS Black Belt Online Seminar Amazon EMR
 
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names  AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names
AWS Webcast - Amazon CloudFront Zone Apex Support & Custom SSL Domain Names
 
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
 
Amir sadoughi developing large-scale machine learning algorithms on amazon ...
Amir sadoughi   developing large-scale machine learning algorithms on amazon ...Amir sadoughi   developing large-scale machine learning algorithms on amazon ...
Amir sadoughi developing large-scale machine learning algorithms on amazon ...
 

Plus de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Dernier

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Dernier (20)

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

AWS Webcast - Location Based Search

  • 1. Building Location-Based Search with Amazon CloudSearch Tom Hill April 3, 2013 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 2. Agenda !   What is CloudSearch !   What is Location-Based search? !   Computing distance !   Location-Based Search in CloudSearch !   Sample App © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 3. Housekeeping !   Type questions into GoToMeeting window •  We'll get to them at the end. !   Recording will be on the AWS YouTube channel !   Slides will be on Slideshare.net •  A link to slides will be mailed to all participants !   You can maximize the shared screen's window © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 4. What is CloudSearch? © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 5. What is CloudSearch !   Amazon CloudSearch is a fully-managed search service !   Easy to add search functionality to your application !   Fast and highly scalable !   Supports search features like •  Faceting •  Synonyms, stopwords •  Ranking © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 6. How is CloudSearch Used !   Create/Configure a "search domain" !   Post documents via HTTP !   Search via HTTP •  results as XML or JSON !   Scales automatically http://search-­‐DOMAIN-­‐XYZ.REGION.cloudsearch.amazonaws.com/2011-­‐02-­‐01/search?q=cat   © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 7. More Information !   Webinar •  'Getting Started With Amazon CloudSearch" !   April 17, 9:00am PT / 12:00pm ET !   Register at http://bit.ly/11WZRAZ © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 8. What is Location Based Search? © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 9. What is Location-Based Search? !   Using location & distance as factors in search © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 10. Why Do You Care? !   People care about things near them. •  Pizza, Classified Ads, etc. •  Find a Doctor, Lawyer,… !   Mobile is a key driver © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 11. How do we use distance? !   Limit to an Area •  Box •  Circle !   Sort by Distance !   Include distance in ranking •  combine text relevance and distance © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 12. Computing Distance © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 13. Computing Distance !   Many Formulas •  Rectangular distance •  Equi-rectangular projection •  Spherical Law of Cosines •  Haversine Formula !   Speed Vs. Accuracy •  Speed: Rectangular distance •  Accuracy: Haversine Formula © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 14. Why So Many Ways to Compute Distance? The earth isn't flat! It isn't a sphere either. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 15. Is the Earth Flat? !   If it's flat (x − x2)2 + (y − y2)2 !   If it's not flat # & 2 # φ 2 − φ1 & 2 # λ2 − λ1 & 2r × arcsin % sin % % ( + cos(φ1 )cos(φ2 )sin % (( $ $ 2 ' $ 2 '( ' © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 16. How Much Difference? !   Distances between some cities •  Fort Lauderdale, FL to New Haven, CT •  Haversine: 1813   •  Rectangular: 1872   •  Difference:          3%   •  Bangor,  ME  to  Adak,  AK   •  Haversine: 7244   •  Rectangular: 12016   •  Difference:          66%   © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 17. Difference in Detail !   Four computations •  Rectangular Distance •  EquiRectangular Projection •  Spherical Law of Cosines •  Haversine Haversine      Cosines     EuqiRect         Rect  -  CosErr EquErr RecErr  1812.54997   1812.54997   1814.38516   1871.77660  -   0.000  0.001  0.033  Fort Lauderdale, FL to New Haven, CT 7244.45661   7244.45661   8008.74698  12015.96646  -   0.000  0.106  0.659  Bangor, ME to Adak,AK Same Close Not so close © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 18. How Much Accuracy? !   "Pizza, 1 Mile" ! Haversine is more accurate •  If you are a bird !   Any distance is approximate © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 19. Which one is the Right Choice? !   As usual: "It depends" !   Factors •  Desired query speed •  Index size •  Accuracy needed !   Start with Equirectangular Projection •  Test © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 20. Location-Based Search in CloudSearch © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 21. How to Compute Distance in CloudSearch? !   Rank Expressions •  Computations run for each matching document !   Can be used for •  Sorting •  Influencing Scoring © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 22. Two Types of Rank Expressions !   Static Rank Expressions •  Computation based on values in index !   Query Time Rank Expressions •  Allow including parameters at run time. •  e.g. latitude, longitude. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 23. Converting to Rank Expression !   Rank expressions have JavaScript-like syntax !   Most math functions •  log2, log10,sin, cos, atan, min, max, etc. !   So this distance formula: (x − x2)2 + (y − y2)2 !   Becomes •  sqrt(pow(lat-userlat),2)+pow(lon-userlon),2)) © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 24. Query Time Rank Expressions !   Define Rank Expression •  &rank-NAME=EXPRESSION •  &rank-geo=sqrt(pow(lat-userlat),2)+pow(lon-userlon),2)) !   Select Rank Expression •  &rank=NAME •  &rank=geo http://searchendpoint?q=creek&rank=geo&rank-geo=sqrt(pow(la1-123),2)+pow(lo1-456),2)) © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 25. Influencing Scoring !   Include both text relevance and distance: &rank-geo=(1000-text_relevance) + sqrt(pow(la1-ulat),2)+pow(lo1- ulon),2)) !   Relevance: Higher is better !   Distance: Lower is better © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 26. Combining Relevance and Distance !   Which is more important distance or relevance? •  By how much? !   Relative Weight •  N * text_relevance + M * distance !   That's where the art comes in •  Will vary by your application •  Test & tune, and test again •  Rank expression comparator © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 27. Compare Rank Expressions © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 28. Storing Data !   CloudSearch supports unsigned integers !   Have to convert latitude, longitude to positive ranges •  latitude + 90 •  longitude + 180 !   Have to store as integers; need to scale •  latitude = (latitude + 90) * 1000 •  longitude= (longitude+ 180) * 1000 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 29. Performance !   Don't query the whole world •  Can limit by literals or numeric fields. •  Literals are more efficient for limits. !   Limit Options •  Literal •  &bq=state:'CA' •  &bq=zip:'94402' •  Numeric •  &bq=(and latitude:40..50 longitude:80..85) © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 30. Performance Measures Why you don't want query the whole world!  GeoMethod        TextRel          Limits        Queries    Seconds    QTimeMS        Threads  CompletedQ            AveHits              NONE            false                                        10      6.2255            622                    1                  10      8345450.00    CARTESIAN            false                                        10    15.6064          1560                    1                  10      8345450.00              EQUI            false                                        10    19.7106          1971                    1                  10      8345450.00        COSINES            false                                        10    27.4968          2749                    1                  10      8345450.00    HAVERSINE            false                                        10    31.2595          3125                    1                  10      8345450.00                NONE            false        Numeric                  10      9.1758            917                    1                  10            3807.00    CARTESIAN            false        Numeric                  10      9.0255            902                    1                  10            3807.00              EQUI            false        Numeric                  10      9.1158            911                    1                  10            3807.00        COSINES            false        Numeric                  10      9.8321            983                    1                  10            3807.00    HAVERSINE            false        Numeric                  10      9.1272            912                    1                  10            3807.00                NONE            false        literal                  10      0.8254              82                    1                  10            3781.00    CARTESIAN            false        literal                  10      0.5936              59                    1                  10            3781.00              EQUI            false        literal                  10      0.6173              61                    1                  10            3781.00        COSINES            false        literal                  10      0.5916              59                    1                  10            3781.00    HAVERSINE            false        literal                  10      0.6289              62                    1                  10            3781.00     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 31. Geo-Spatial Demo Application © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 32. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 33. Demo Application Structure HTML Page Ajax Server CloudSearch Javascript (Tomcat) © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 34. Demo Implementation !   JavaScript •  Ajax •  JQuery •  Google Maps API !   Tomcat Server •  Java •  Just for forwarding of requests •  Because XSS, that's why. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 35. Querying CloudSearch $.ajax({    url  :  "searchx",    data  :  {      'q'  :  currentQuery,      'domain'  :  "geoname25",      'return-­‐fields'  :  returnFields.join(),      "rank"  :  "geo",      "rank-­‐geo"  :  "Math.sqrt(Math.pow(Math.abs(doc.latitude_90-­‐  12539),2)  +   Math.pow(Math.abs(doc.longitude_180-­‐  5784),2))"    },    dataType  :  "json",    success  :  function(data)  {      var  hits  =  data['hits'];      displaySearchResults(hits['hit'],  hits['found']);      populateMap(hits['hit']);    }   © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc. });  
  • 36. Getting Latitude & Longitude © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 37. Getting Latitude & Longitude !   What if you don't know the latitude & longitude? ! GeoCoding Services •  Many services •  Some free tiers •  May have restrictions •  Google, Bing, Yahoo, MapQuest, ArcGis, … © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 38. Wrap Up © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 39. Recap !   Local search is a component of many applications !   CloudSearch supports local search •  Using rank expressions ! GeoCoding services © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 40. Thanks for Coming! !   Data •  http://www.geonames.org/export/ !   Slides •  Slideshare.net soon. We'll send you a link. !   Sample Code •  Talk to me. (tomhill@amazon.com) !   Computations •  http://www.movable-type.co.uk/scripts/latlong.html •  wikipedia © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 41. Any Questions? © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 42. Thanks for Coming! © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 43. Use Zip Code, City, State as a proxy !   Multiple ways to select, map, zip, current location © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 44. Radians vs Degrees !   Should note somewhere that all but rectangular distance require radians. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 45. Querying Data !   Java/Javascript •  Fields are latitude_90, longitude_180 •  user location is userlat, userlon !   simple distance rank  =  "Math.sqrt(Math.pow(Math.abs(latitude_90-­‐("  +  userlat  +  ")), 2)+Math.pow(Math.abs(longitude_180-­‐("  +  userlon  +  ")),2))";     !   Spherical Law of Cosines rank = "6371*Math.acos(Math.sin(" + userlat + ") * Math.sin(lat_rad/" + scale + ") + Math.cos(" + userlat + ") * Math.cos(lat_rad/" + scale + ") * Math.cos((lon_rad/" + scale + ") - " + userlon + ") )";   © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 46. What CloudSearch Doesn't Do © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 47. Issues with assuming the earth is flat. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.