Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/microservices/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ services:
```
### 🚀 Solution
Enforce the "Database per Service" pattern. Services must never share a single database or directly query another service's tables. Ensure independent scaling, deployment, and technology choices per domain.
## 🚀 3. Reliability Optimization
## 🛡️ 3. Reliability Optimization

### Resilience Patterns
### ❌ Bad Practice
Expand Down
2 changes: 1 addition & 1 deletion backend/nodejs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const user = await db.query('SELECT * FROM users WHERE email = $1', [value.email
### 🚀 Solution
Never trust external data. Validate input strictly using schema definitions and always utilize parameterized queries or an ORM to prevent SQL/NoSQL Injection attacks.

## 9. 🚀 Utilizing Worker Threads for Heavy Tasks
## 9. Utilizing Worker Threads for Heavy Tasks

### ❌ Bad Practice
```javascript
Expand Down
2 changes: 1 addition & 1 deletion backend/postgresql/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ REVOKE DROP ON ALL TABLES IN SCHEMA public FROM app_user;
```
### 🚀 Solution
Enforce the Principle of Least Privilege (PoLP). Create specific, restricted database roles for application services. Implement Row-Level Security (RLS) for multi-tenant applications to isolate data strictly at the database layer.
## 🚀 3. Performance Optimization
## 3. Performance Optimization

### Indexing Strategies
### ❌ Bad Practice
Expand Down
2 changes: 1 addition & 1 deletion backend/redis/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const redisClient = redis.createClient({
```
### 🚀 Solution
Mandate TLS (Transport Layer Security) for encrypting all data in transit, ensuring that even if the internal network is compromised, the Redis traffic remains secure.
## 🚀 3. Performance Optimization
## 3. Performance Optimization

### Command Usage
### ❌ Bad Practice
Expand Down
Loading