How do geolocation services determine location based on IP address?
C#
A colleague's task has come up for your Code Review What issues do you see in the code? ```csharp namespace SomeProject.Data { public class UserRepository { public Task SaveUser(User user, Dictionary<int,string> shards) { var shardIdx = user.Id % 3; var shardAddress = shards[shardIdx]; using(var shardService = new ShardService(shardAddress)) { return shardService.SaveUserAsync(user); } } } } ```
What is the complexity of obtaining an array element by index?
Describe how the workflow and interaction were organized in your previous company.
Что произойдет, если отправить сообщение в Exchange в RabbitMQ, который не был создан?
Tell me about one or two tasks from your previous or current job that you are proud of.
Tell about the principles of SOLID. What does the Dependency Inversion Principle mean?
How to implement your own Where without yield? What is yield and how does it work under the hood?
What task does the Swagger tool help solve during API development?
Can we use await inside a lock block?
Working with databases — Entity Framework, Dapper, index building?.
How many requests to the network service will be made when using FilterLast with take(4) from a collection of 10 elements? And FilterLast2?
How does service integration with a running Keycloak look like in C#?
What is the application of lambda expressions in programming?
How is authorization implemented?
Have you had experience configuring and using a logging system in your projects?
OLTP and OLAP — what do the abbreviations mean, what are the differences, including storage architectures?
Redis is unavailable, multiple instances — how to ensure cache consistency?
What are the approaches to passing object state between services: state transfer/state sourcing and event sourcing?
Tell me about thread synchronization mechanisms.