Comments (8)
I like health checks to be very simple, and would prefer the first one. And within that, would prefer to request an object instead of listing the bucket, because that's what the service does. We could just make a file at the root of the bucket like you mentioned, eg /_healthcheck
and have all services that depend on s3 check that.
from tapalcatl.
from tapalcatl.
Yep, I agree that we should check for a tile. I'd say the 0/0/0 tile rather than a file we have to remember to add.
Are there other services that tapalcatl uses that we should also check in tapalcatl's healthcheck?
from tapalcatl.
I'd say the 0/0/0 tile rather than a file we have to remember to add.
I still prefer the synthetic file. We'd only have to add the synthetic file once, and never again for subsequent deployments. Checking 0/0/0 would mean that we would be unable to go live with a new date prefix unless we were sure that 0/0/0 was generated first.
Are there other services that tapalcatl uses that we should also check in tapalcatl's healthcheck?
Don't think so. We send metrics over udp, but that shouldn't be involved with the health check.
from tapalcatl.
Would the synthetic health check file need to be added per deploy into each new date prefixed bucket?
from tapalcatl.
Would the synthetic health check file need to be added per deploy into each new date prefixed bucket?
No. See #23 (comment)
from tapalcatl.
from tapalcatl.
Because the health check would talk directly to S3
Yes, exactly.
from tapalcatl.
Related Issues (19)
- Distinguish storage configuration name/type
- Be stricter when writing HTTP timestamps
- Consider removing expvars HOT 3
- Proxying responsibilities
- Set up CI HOT 1
- Only perform healthcheck for unique storage type configurations
- Format json messages with newlines
- Logging and metrics HOT 6
- Add tilejson handling
- Move server binary
- Use dependency management HOT 8
- Config is missing? HOT 1
- Legacy urls HOT 1
- Move configuration around
- Set MIME content-type to application/vnd.mapbox-vector-tile
- Update no such key error code
- Use a buffer pool
- Build process and pegging versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tapalcatl.