Dev0ps
40 subscribers
211 photos
3 videos
50 files
3.33K links
Download Telegram
Forwarded from 🇺🇦 Go for two :)
Note #20 import proverbs 🧠

Советы Роба Пайка всегда должны быть под рукой:

go run github.com/andriisoldatenko/proverbs

Go Proverbs, by Rob Pike

Don't communicate by sharing memory, share memory by communicating.
Concurrency is not parallelism.
Channels orchestrate; mutexes serialize.
The bigger the interface, the weaker the abstraction.
Make the zero value useful.
interface{} says nothing.
Gofmt's style is no one's favorite, yet gofmt is everyone's favorite.
A little copying is better than a little dependency.
Syscall must always be guarded with build tags.
Cgo must always be guarded with build tags.
Cgo is not Go.
With the unsafe package there are no guarantees.
Clear is better than clever.
Reflection is never clear.
Errors are values.
Don't just check errors, handle them gracefully.
Design the architecture, name the components, document the details.
Documentation is for users.
Don't panic.


or

package main

import (
_ "github.com/andriisoldatenko/proverbs/pkg"
)

func main() {}


P.S. в исходниках есть пасхалочка 🥚

Links:
- https://go-proverbs.github.io/
- https://github.com/andriisoldatenko/proverbs/blob/master/pkg/proverbs.go
Forwarded from DevOps&SRE Library
Introduction to Event-driven Architectures With RabbitMQ

High level описание работы RabbitMQ и архитектуры на основе событий.

https://blog.theodo.com/2019/08/event-driven-architectures-rabbitmq
Forwarded from PythonDigest
Бенчмарк RPC систем (и Inverted Json)
https://habr.com/ru/post/466263/?utm_campaign=466263&utm_source=habrahabr&utm_medium=rss

Сравниение различных инструментов (RabbitMQ, Crossbar.io, Nats.io, Nginx и др.) для организации RPC между микросервисами.
Forwarded from PythonDigest
Schemathesis - генерируем тесты по Swagger / Open API схеме
https://github.com/kiwicom/schemathesis
🤖 И да, тут начались некоторые споры по поводу того, какой бинарник для let's encrypt/certbot брать и где. Есть хороший сайт, на котором сразу же можно получить нужные рекомендации под конкретный софт конкретной ОС: https://certbot.eff.org/instructions Возьмите на заметку, если ещё не знали о нём раньше.

#letsencrypt #certbot
Forwarded from Типа про IT
Так вот Postgres. EXPLAIN ANALYZE используете? Ну, вам же надо как-то анализировать план запроса, искать узкие места, профилировать, индексы туда-сюда, да? Да. Есть у меня для вас 2 небольшие статьи, там же и ссылки на всю подноготную.

👉 Reading a Postgres EXPLAIN ANALYZE
👉 Advanced Postgres Performance Tips

А заодно и простой визуализатор этих попугаев, если непонятно на что смотреть. 👇

PostgreSQL’s explain analyze made readable
Forwarded from Sysadmin Tools 🇺🇦
https://jepsen.io/analyses/yugabyte-db-1.3.1

YugaByte DB is a distributed, multi-model transactional database based on hybrid logical clocks. In our previous analysis, we found three safety issues...
Forwarded from 𝚔𝚟𝚊𝚙𝚜
Тут кстати по Piraeus дока обновилась:
https://piraeus.io/
Forwarded from DevOps Deflope News
В эти выходные в Киеве прошла отличная конференция OSDN Conf 2019 и уже доступны видео 🎉
Программа: http://amp.gs/NL5H
Плейлист: http://amp.gs/NL5F

И также стали доступны видео с недавних DevOpsDays Chicago 2019
Плейлист: http://amp.gs/NL5L
Программа: http://amp.gs/NL5o
#videos
This media is not supported in your browser
VIEW IN TELEGRAM
💻 Интересный менеджер SSH подключений и сессий. Когда серверов много, они разные, и хочется всё это как-то упорядочить.

https://github.com/taypo/redial

#ssh #github