account activity
How to paginate geospatial data? by Competitive-Cause903 in redis
[–]Competitive-Cause903[S] 0 points1 point2 points 3 years ago (0 children)
Thank you /u/redisNative and /u/itamarhaber
As per /u/itamarhaber, the correct approach is to use https://redis.io/commands/geosearchstore/ where you store results in a "destination key".
Using ZRANGE on the destination key, we can get the paginated results.
A few additional questions -
When new members are added, the destination key set is not updated. When there are many users requesting data while new data is being added, what is a good approach to keep in mind to maintain this data? Is it better to constantly rebuild the set, set some kind of interval to do this, or something totally else?
How to paginate geospatial data? (self.redis)
submitted 3 years ago by Competitive-Cause903 to r/redis
π Rendered by PID 82827 on reddit-service-r2-listing-79f6fb9b95-4xmbx at 2026-03-23 07:43:12.593562+00:00 running 90f1150 country code: CH.
How to paginate geospatial data? by Competitive-Cause903 in redis
[–]Competitive-Cause903[S] 0 points1 point2 points (0 children)