If the same event arrives twice (a duplicate), what do you do?
Golang
What interests you about your new employer? What does an ideal work experience look like?
Is the volume deleted when the container is stopped?
What exactly was cached and what invalidation rules were used?
Tell us about the Transactional Outbox pattern: what is it and how does it work?
Tell about working with Kafka: what happens when lag accumulates, what are the risks, and how have you solved them?
Why was there a need to reduce allocations — was it a request from the business or an initiative of the team itself?
Did I understand correctly that you always received the event stream via Kafka, or were there some gRPC/HTTP endpoints?
Tell us about idempotency: why did you introduce idempotency keys and how did it work?
Where will the array and map be located — on the heap or on the stack?
How many partitions should a Kafka topic have?
If we talk about Kafka, what delivery guarantee do you support?
How to handle context cancel so that all workers immediately stop when the context is canceled? How to use select to read from a channel considering the context?
There is a large table, and queries from it are slow. What will you do?
What did you use during local development? Did you containerize services?
What happens to data during a DELETE in PostgreSQL?
Tell about database migrations: how they were performed, how errors were handled during migration?
You are a writer, running your own mini blog where you publish articles. Users (readers) of your blog, after logging in, can view/read them. It is necessary to implement a functionality to count unique views per day for each article. Functional requirements: - Today's statistics: The author can see how many unique users viewed their article today (data is accumulated in real-time). - Past days' statistics: The author can see statistics for any past day (for example, yesterday). Technical constraints and conditions: - The application runs on 1 server (1 pod) - Storage in memory - Time in UTC0
Tell about database sharding strategies: when to start sharding and what criteria to choose for the sharding key?
What is idempotency? Provide a case where an idempotent key is needed.