---
title: "Rostislav Dugin (@rostislav-dugin) | Hashnode"
description: "Golang Developer. Read the latest articles by Rostislav Dugin on Hashnode."
url: "https://hashnode.com/@rostislav-dugin"
---

@rostislav-dugin

# Rostislav Dugin

@rostislav-dugin · Joined October 2025

Golang Developer

### [MongoDB vs PostgreSQL — 6 factors to consider when choosing your database](https://rostislav-dugin.hashnode.dev/mongodb-vs-postgresql-6-factors-to-consider-when-choosing-your-database?utm_source=hashnode&utm_medium=feed)

Choosing between MongoDB and PostgreSQL is one of the most important decisions you'll make for your project. Both databases are mature, reliable and widely used. But they're fundamentally different in how they store, query and scale data. This choice...

8 min read · [rostislav-dugin.hashnode.dev](https://rostislav-dugin.hashnode.dev/mongodb-vs-postgresql-6-factors-to-consider-when-choosing-your-database?utm_source=hashnode&utm_medium=feed)

[Feb 13](https://hashnode.com/posts/mongodb-vs-postgresql-6-factors-to-consider-when-choosing-your-database/698f61de79b6c642ff7d1a95)

### [8 MySQL security mistakes that expose your database to attackers](https://rostislav-dugin.hashnode.dev/8-mysql-security-mistakes-that-expose-your-database-to-attackers?utm_source=hashnode&utm_medium=feed)

MySQL is one of the most deployed databases in the world, which also makes it one of the most targeted. A lot of MySQL installations in the wild are running with default settings, overly permissive user accounts and no encryption. Some of these are d...

10 min read · [rostislav-dugin.hashnode.dev](https://rostislav-dugin.hashnode.dev/8-mysql-security-mistakes-that-expose-your-database-to-attackers?utm_source=hashnode&utm_medium=feed)

[Feb 11](https://hashnode.com/posts/8-mysql-security-mistakes-that-expose-your-database-to-attackers/698cded9cb9c6cd4ea813bf6)

### [PostgreSQL slow queries — 7 ways to find and fix performance bottlenecks](https://rostislav-dugin.hashnode.dev/postgresql-slow-queries-7-ways-to-find-and-fix-performance-bottlenecks?utm_source=hashnode&utm_medium=feed)

Every PostgreSQL database eventually develops slow queries. It might start small: a dashboard that takes a bit longer to load, an API endpoint that times out during peak traffic, a report that used to run in seconds and now takes minutes. The tricky ...

11 min read · [rostislav-dugin.hashnode.dev](https://rostislav-dugin.hashnode.dev/postgresql-slow-queries-7-ways-to-find-and-fix-performance-bottlenecks?utm_source=hashnode&utm_medium=feed)

[Feb 10](https://hashnode.com/posts/postgresql-slow-queries-7-ways-to-find-and-fix-performance-bottlenecks/698b8cc915c9001a7d150fae)

### [PostgreSQL indexing explained — 5 index types and when to use each](https://rostislav-dugin.hashnode.dev/postgresql-indexing-explained-5-index-types-and-when-to-use-each?utm_source=hashnode&utm_medium=feed)

Indexes are one of those things that everybody knows they should use, but few people actually understand beyond the basics. You create an index, the query gets faster, done. Except when it doesn't. Or when the wrong index makes things slower. Or when...

11 min read · [rostislav-dugin.hashnode.dev](https://rostislav-dugin.hashnode.dev/postgresql-indexing-explained-5-index-types-and-when-to-use-each?utm_source=hashnode&utm_medium=feed)

[Feb 9](https://hashnode.com/posts/postgresql-indexing-explained-5-index-types-and-when-to-use-each/6989e7d2e796c711d272690f)

### [MongoDB schema design — 6 patterns every developer should master](https://rostislav-dugin.hashnode.dev/mongodb-schema-design-6-patterns-every-developer-should-master?utm_source=hashnode&utm_medium=feed)

MongoDB gives you flexibility that relational databases don't. No rigid tables, no mandatory schemas, no upfront column definitions. You just throw documents into a collection and go. That freedom is exactly what makes schema design in MongoDB so imp...

10 min read · [rostislav-dugin.hashnode.dev](https://rostislav-dugin.hashnode.dev/mongodb-schema-design-6-patterns-every-developer-should-master?utm_source=hashnode&utm_medium=feed)

[Feb 8](https://hashnode.com/posts/mongodb-schema-design-6-patterns-every-developer-should-master/6988e614e1744e9197ea8073)
