Skip to main content

Posts

Showing posts from September, 2023

ForceVsChoice

  In today's rapidly evolving tech landscape, adaptability and flexibility are paramount. Advocating for a specific tech stack should always be problem-centric, taking into account: Problem at Hand : The choice of tech stack should align with the specific problem you're trying to solve. Consider the technical requirements and constraints of the project. Solution Fit : Evaluate how well a tech stack aligns with your project's objectives. Does it offer the right tools and libraries to efficiently address your needs? User Base : Consider the user base and their preferences. Choose technologies that enhance the user experience and accessibility for your target audience. Ecosystem : Assess the broader tech ecosystem. Is there strong community support, documentation, and a healthy ecosystem around the chosen stack? Scalability : Account for scalability requirements. Will the chosen tech stack allow your project to grow and adapt to changing demands? Development Team : Leverage yo

Micro/Macro/Monolith

       

Java or Node.js

It depends. But seriously though. To decide which one to choose you need to answer to the following question: What kind of application are you planning to create? Performance Node.js and Java memory models differ and this has the most impact for the performance. Let me explain both models in simplification. Java model Java application runs in its own JVM and thus its own process. A process consists of multiple threads. Threads are like processes with significant differences:         threads are more lightweight and relatively easy to create         processes have private set of resources but threads share the memory from its process         thread can communicate with other threads with ease but processes can communicate with each other by using inter-process communication, which is slower than communication between threads It means that in Java program job can be divided into multiple threads, which can be executed simultaneously by multiple processors. This way we can use the full po