Did [name] encounter problems when reducing the load on the system?
Golang
How do transactions work in PostgreSQL and MySQL?
How many rows were in the database?
How does append work? What happens if you pass a slice to a function and modify it?
What are the main differences between TCP and UDP, and when should each protocol be chosen?
package main import "fmt" type Person struct { Name string } func changeName(person *Person) { person = &Person{ Name: "Alice", } } func main() { person := &Person{ Name: "Bob", } fmt.Println(person.Name) // changeName(person) fmt.Println(person.Name) // }
How to view resource consumption of processes using Linux terminal? How to kill a process? What commands did you use overall?
**Condition** Requests to multiple URLs should be executed in parallel. HTTP statuses should be displayed, and errors handled.
What is the difference between a hash index and a B-tree?
What are the settings of the HTTP client in Go?
What is the difference between a slice and an array in Go?
What is the difference between slice and array in Go, and how does append work?
How does map work under the hood in the new versions of Go, what has changed?
What is a nil pointer dereference?
What is ACID?
Called EXPLAIN ANALYZE — where to look to understand why the query is running slowly?
How to find a slow query? Have you had experience optimizing such queries?
// Description: // Implement the backend part of a scheduler application, which will have 3 methods: // 1) Create a command with an ID and a start time. // 2) Get a list of active commands. // 3) Cancel a command by ID. // The command should execute exactly at the time passed in the first method. // The methods will be called via an HTTP server, the number of concurrent requests // to these methods is not defined. // The execution of the command can be simulated by Print(ID) to stdout, to emulate execution.
How to find out why the handle responds slowly? How to use pprof?
How do goroutines work and how to synchronize their work?