DEV Community

zaman shovon
zaman shovon

Posted on

DSA vs Generic System Dev

I am a new one here(Dev.to) and in my 2+ year of dev career I have faced a lot of challenges over many micro and robust project.

Mostly the challenge I have faced that maintaining system architecture and handling more data in less time and in a convenient way(bugless/non-conflict).

Some points we usually use Generic coding over DSA are mentioned below:

  • Because of limited deadline, Most of us use template which may be open-source or already in our git storage(Previous project reference). To meet the tight deadline and make sure less buggy product, We often follow this trend and almost all of them are written in generic method calling and packed by sometimes oop's(Object Oriented Programming System) or redundant method calling! So, we have less scope to implement or even fix where to use DSA.😐

  • If we develop the project from the scratch, Most of us always love to use some built-in methods, open source packages or as usual array-looping execution over DSA. This is because we feel comfort to use those or we are very used to use those. We think of using recursive loop over binary search because we feel ok with that but we barely think about memory-optimization/time-complexity/space-complexity!!

Those mentioned points can be different for others but the motive is almost same for everyone.

I have been a team member of a robust project since 2021 and I have faced a lot of issues while handling huge amount of data at a time. We have used Django and we thought that as Django is faster and can handle more requests per second. But we were wrong. This million dollar project is becoming slower while database is becoming heavier day by day. While digging the main reason, We have found that if we used DSA at some modules, System won't be slow so earlier! πŸ˜“

Top comments (0)