There is a service for blocking sellers: one handler takes the seller's ID and records it in the blocked table. How would you implement this logic?
Golang
You said you have 4 years of experience, but you graduated from university in 2024. Did you study in your last year and work at the same time?
How would you organize this solution in code (using goroutines and channels)?
Was there a proxy before Redis, or did you shard it yourself?
Did the handler listening to Kafka events read messages in all three data centers, or only in one? How was it configured?
Do you mainly work remotely?
How was the interaction distributed among services, and how did you limit each service's scope of responsibility?
Why would you choose a channel over WaitGroup/errgroup? How is errgroup worse?
Have you reconsidered Elasticsearch as an alternative? Why, if you considered it, did you refuse it in favor of Redis?.
So, each data center updated its own Redis if the consumer groups were different?
How many microservices are usually inside one container?
How can a buffered channel help with the goroutine leak problem?
Was this a single service? What was its logic, how was it encapsulated, and why did it have such load?
If you were to describe a project you would like to increase awareness of, with what approaches, processes, and tasks?