Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you use a StatefulSet? I assume every instance has it own volume with its own sqlite and that backs the cache. Why not just Deployment? Failover would be easier in that case.


I scale it vertically. Cache refresh is non optimal and takes a few hours. I could make it better by having the instances talk, but frankly the service may never actually need to scale. It can handle thousands of rps off that single container.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: