What needs to be done on the consumer for exactly-once?
Golang
/* There are orders that transition through statuses during their lifecycle. It is required to implement a database layer: - Save order status history - Consider partitioning In the future, outside the current task, other methods will be implemented: getting statuses by time, full order history, etc. */
[name] asked: What are your salary expectations?
What have you heard about our company?
[name] asked: Are you still working at your current company? Why did you decide to leave?
Tell about your experience at [company]: product, team, what you did?
What caching strategy would you choose — cache-aside or write-through — considering user behavior patterns when checking order status?
Can the number of partitions in Kafka be decreased?
Architecture of Apache Kafka: main components, how producers and consumers are connected? What is rebalancing? How to ensure sequential message reading?
[name] asked: Tell me about your previous company — what kind of company was it, what did you work on?
What alternative to VACUUM FULL do you know that also frees up space but without a hard lock?
Tell me about your experience at [company]: how did you join, what product did you work on?
How many backends were in the team at [company]?
What were the tasks and architecture at [company]?
Peak load: 25k reads / 5k writes per second Data volume: 10 TB per year Peak parallelism: 120k concurrent requests Annual user growth: 30% Target p99 latency: <150 ms for reads, <400 ms for writes Target availability: 99.95% Your task is to develop an architectural solution that addresses current issues, ensures consistency and fault tolerance, and implements tracing mechanisms for full lifecycle monitoring of orders. Describe the failure handling mechanism, migration plan from the current architecture, and explain how the proposed solution will improve system reliability and transparency.
In [company], did you come to ready-made microservices and customize the functionality?
Why did you move from [company] to [company]?
[name] asked: Do you use AI tools at work? If yes, which ones and for what purpose?
How is data stored in old Go maps after defining a bucket?
How to share memory between goroutines? When is it better to use Atomic, and when Mutex/RWMutex/SyncMap?