DEV Community

Discussion on: What language for a corporate transition?

Collapse
 
sirhaswell profile image
Rayan Desfossez

The problems come from the fact that the application does image calculations, generates pdf's, actually does quite heavy tasks and has latency problems, moreover the backend was managed by student apprentices and so he would prefer to redo the api starting from something more reliable.

The api is not very big and the demand comes from the management, I'm also the only developer so no one else to form

I'm going to redesign the architecture in modules rather than micro services...

Collapse
 
tadman profile image
Scott Tadman • Edited

A good option to pivot to might be Node.js if you're concerned about speed and have a lot of PDF workflow tasks. The async model can take some getting used to, and the code can be tricky to write, but the performance is exceptional and if you're careful to use tools like Mocha and Chai to write lots of tests, you can keep regressions in check.

Consider: Microservices are often just modules that have their own process and resources.

Hope you can get a messaging layer in there like RabbitMQ which makes it easier to monitor how your application performs.

It's also worth looking at examples of observability to see how you might architect with that goal in mind regardless of how you're approaching this.