How did you work with testing in Go? Did you work with mocks?
ERP Consultant
What is SELECT FOR UPDATE? What is it used for, have you worked with this construct?
Live coding: Go tasks — concurrent requests, closures in goroutines, duplicate filtering, thread-safe counter, buffered channels, function timeout
What is PgBouncer and what problem does it solve in PostgreSQL?
What happens with asyncio.create_task and how does it differ from await coroutine?
Write a function FindFilesByExtension that recursively searches for files in a directory and returns a slice of absolute file paths ([]string) that meet the following conditions: file extension == targetExtension (case-insensitive) file size > minSizeKB The function should traverse all nested subdirectories. Example directory structure: /projects/ ├── doc.pdf (2048 KB) ├── report.docx (512 KB) ├── src/ │ ├── Main.go (2 KB) │ ├── Utils.go (5 KB) └── images/ └── photo.jpg (3072 KB) Check examples: files1, _ := FindFilesByExtension("/projects", "pdf", 1000) // files1 == []string{"/projects/doc.pdf"} files2, _ := FindFilesByExtension("/projects", "go", 3) // files2 == []string{"/projects/src/Utils.go"} files3, _ := FindFilesByExtension("/projects", "jpg", 2000) // files3 == []string{"/projects/images/photo.jpg"}
What are Virtual Threads? How do they differ from Green Threads? When is it better to use them?
One of the services in the request chain stopped responding. How will you troubleshoot step by step?
How to store enumerable values in a string column of a database using a separator and work conveniently with a collection in code?
What kind of saga have you worked with in practice?
Did you work with Kafka through Spring or directly?
What do you know about Barbara Liskov's principle (LSP)?
What do tactical patterns of DDD contain?
What is the most basic interface for all collections?
Is there a technical solution you implemented that you now consider incorrect?
How to set a timeout for executing a single coroutine?
What is a futures contract as a financial instrument?
What is the difference between the Executor interface and ExecutorService?
If we find a directory during a recursive traversal, which path do we use?
SOLID principles — tell me about each one.