Sobes.tech

What is a JWT token? What is its structure and advantages over regular tokens?

217

Regarding brokers — how did you use Kafka and RabbitMQ? Why two?

214

What is sharding and what is it used for? How to choose a sharding key for taxi service tables (drivers, customers, orders)?

211

Why do you even need a manager at work? For what purpose?

210

If you have a choice between two companies or two teams, what will you pay attention to and how will you choose?

210

Do you have an understanding of what kind of team you'd like to work in? What should it be like?

206

What tables and fields are needed in a PostgreSQL database for this messenger?

206

Have you ever experienced doing something for a long time that was ultimately not implemented or postponed?

205

How many years of commercial Go development experience do you have?

201

SELECT * c.id, -- select all chats (c.id, c.name) for all users by name ($1) where text > 'abc'

200

It is necessary to design a backend architecture for a messenger (Slack, Teams, Mattermost). Requirements and constraints: only 1x1 chats, no group chats only text messages, no attachments service accessible via the internet up to 10,000 users in the system messages should be delivered quickly, within a few seconds message order should be preserved, messages should not be duplicated ability to scroll back in chat history, i.e., messages need to be stored clients – mobile devices, no need to design them authorization does not need to be designed

200

How is a slice in Go structured internally? How does the append function work?

200

How will the process of sending and receiving messages between two clients occur? Describe the full flow.

199

How does the client learn about messages received while offline?

199

We have a database with user passwords, passwords are hashed (hashPassword function), and a set of characters that can be used in passwords (variable alphabet). Our task is to implement the RecoverPassword function so that it recovers the password by the known hash and TestRecoverPassword completes successfully. Basic requirements: Solve as you wish package main import ( "crypto/md5" "fmt" ) var alphabet = []rune{'a', 'b', 'c', 'd', '1', '2', '3'} func RecoverPassword(h []byte) string { return "" } func hashPassword(in string) []byte { h := md5.Sum([]byte(in)) return h[:] } func main() {

197

What was the most difficult and most interesting part of migrating from monolith to microservices?

196

What do you want more right now — product or platform development?

194

What is HTTPS? How does it differ from HTTP? How does it protect against 'man-in-the-middle' attacks?

194
/4