Introducing Crunchy Data Warehouse: A next-generation Postgres-native data warehouse. Crunchy Data Warehouse Learn more

Latest posts from Rekha Khandhadia

  • 4 min read

    Timezone Transformation Using Location Data & PostGIS

    Rekha Khandhadia

    Imagine your system captures event data from all over the world but the data all comes in UTC time giving no information about the local timing of an event. How can we quickly convert between the UTC timestamp and local time zone using GPS location? We can quickly solve this problem using PostgreSQL and PostGIS.

    This example assumes you have a Postgres database running with PostGIS. If you’re new to PostGIS, see PostGIS for Newbies

    Read More
  • 5 min read

    Accelerating Spatial Postgres: Varnish Cache for pg_tileserv using Kustomize

    Rekha Khandhadia

    Recently I worked with one of my Crunchy Data PostgreSQL clients on implementing caching for pg_tileserv. pg_tileserv is a lightweight microservice to expose spatial data to the web and is a key service across many of our geospatial customer sites. pg_tileserv can generate a fair amount of database server load, depending on the complexity of the map data and number of end users, so putting a proxy cache such as Varnish in front of it is a best practice. Using Paul Ramsey's Production PostGIS Vector Tiles Caching

    Read More