Skip to main content
David Dew Mallick

David Dew Mallick

ProjectsExperienceSkillsBlog

End of record

Back to top↑

David Dew Mallick

Dhaka, Bangladesh

Contact

  • david.dew.mallick@g.bracu.ac.bd
  • GitHub
  • LinkedIn

2026 David Dew Mallick

  • Privacy
  • Terms
  • Cookies

Blog

Notes on building web applications: Next.js, Laravel, databases, and the automation around them.

Oct 28, 2026

8 min read

Database Sharding: When One Postgres Stops Working

A decision guide for when database sharding pays off, the failure modes that push you to it, and how to shard without breaking SQL joins and transactions.

database shardingdatabase best practicessql joins

Oct 28, 2026

7 min read

Database Best Practices: Primary Keys That Scale

Pick integer, UUID, or UUIDv7 primary keys using index size and write-rate thresholds, plus a reproducible test that shows how random UUIDs bloat B-trees.

primary keysuuidv7database design

Oct 26, 2026

5 min read

API pagination: offset vs keyset at scale

Choose API pagination by data size and write pattern. Use keyset past 10k rows or high write rate; offset is fine for small, static datasets.

rest api versioningapi authenticationapi rate limiting

Oct 20, 2026

9 min read

Fix Table Bloat for Better Query Optimization

Dead tuples silently slow your queries. Learn when VACUUM FULL, pg_repack, or PostgreSQL 19's REPACK CONCURRENTLY is the right fix for your workload.

database best practicesacid transactionsdatabase migrations

Oct 20, 2026

9 min read

Laravel Best Practices: Design Patterns That Scale

Controller fat, service thin is backwards. A threshold-based rule for choosing Laravel design patterns, plus a five-command audit of any pattern.

design patternslaravel architectureservice container

Oct 20, 2026

7 min read

JavaScript Array Methods: The Hidden Cost

Chained array methods allocate intermediate arrays on every call. See where the cost flips, how to measure it, and when a plain loop wins.

javascriptperformanceevent loop
Previous page1234567