- DKI Jakarta
- https://tahirhashmi.com
- @code_martial
Pinned Loading
-
3 Principles of Error Handling
3 Principles of Error Handling 1# Error Handling 1-2-3
23As we build infrastructure components that support a large user base, it becomes critical to be able to provide quick support to end users. A large chunk of support issues simply arise due to end users encountering an error that they are clueless about. E.g. an HTTP 500 error with a generic "failed to do <user intent here>" message leads the user to a dead end and causes frustration.
45Apart from clear messaging to the end user, it's also important to provide maximum visibility into error logs, so that someone who is looking at the logs should be able to determine – even without being familiar with the system – whether the cause of the error is internal or external. This is extremely critical in high utilisation network applications because usually the source of error is an external failure rather than a code bug.
-
Co-ordinated Cache Filling using Red...
Co-ordinated Cache Filling using Redis Distributed Locks 1package main
23import (
4"fmt"
5"github.com/gomodule/redigo/redis"
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.