Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you are using carto "named maps", you need to persist your redist database. #82

Open
aarontract opened this issue Jan 13, 2020 · 0 comments

Comments

@aarontract
Copy link

PSA - If you are using named maps to create layers, you need to persist your redist database. I dont think many people use them.

We are playing around with cartodb on a legacy project that using carto.js V3, and it uses named maps heavily. For some reason named maps are stored on the redis database, not PostgreSQL.

If you go to the redis section:
https://cartodb.readthedocs.io/en/latest/install.html

_"By default redis server is configured to only have periodic snapshotting to disk. If stopped or restarted some data stored in redis since the last snahpshot can be lost. In CARTO redis is not just a simple cache storage. It stores information that need to be persisted.

For data safety, make sure to have proper values of save, appendonly and appendfsync config attributes. For more information check http://redis.io/topics/persistence"_

There are 3 redist dbs, 0 (name maps, created layers), 5(sessions), 8(limits)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant