2 ms·
Cat is an interesting example because it's not as trivial as it seems, especially when it comes to performance and resilience: https://endler.dev/2018/fastcat/
by charles_f 4y ago
Cat is an interesting example because it's not as trivial as it seems, especially when it comes to performance and resilience:
https://endler.dev/2018/fastcat/ https://endler.dev/2018/fastcat/
https://ariadne.space/2022/07/17/how-efficient-can-cat1-be/ https://ariadne.space/2022/07/17/how-efficient-can-cat1-be/
I think this is one of these "not built here" discussions. It's very easy to underestimate the number of edge-cases to support especially in the case of network transfer. You start implementing your own, then you've got to handle non standard certificates, 300 redirects, temporary failures, backoff strategies, optimizing chunk size, handling proxy calls, etc. Using a standard library makes sense.