UnrealSPh
UnrealSPh
CC#
Created by UnrealSPh on 6/20/2024 in #help
Do we really need microservices in order to scale out an application horizontally?
that is exactly what I want to ask. theoretically, actors can allow you to archive the same. So why actors are not so popular?
18 replies
CC#
Created by UnrealSPh on 6/20/2024 in #help
Do we really need microservices in order to scale out an application horizontally?
yes, current days become more "artificial" and less "intelligence" 🙂
18 replies
CC#
Created by UnrealSPh on 6/20/2024 in #help
Do we really need microservices in order to scale out an application horizontally?
yes, sometimes (maybe most of the time) people just copy solutions from big tech companies. but we can't blaim big tech companies for everything. I'm trying to understand maybe Actors also has some limitations and I don't just see it
18 replies
CC#
Created by UnrealSPh on 6/20/2024 in #help
Do we really need microservices in order to scale out an application horizontally?
in general yes, you are right. we can scale a monolith as well, but usually we say monolith and mean that all things happen in "memory" and in this case in order to scale a monolith you need to deploy a whole new instance of you monolith and additional environment. it is not really flexible as microservices. but in another hard we have actors which can be designed (from project / source code point of view) as a monolith, but behavior as microservices. and you can easily scale just a peace of your app, not entire one
18 replies
CC#
Created by JellyRekt on 6/12/2024 in #help
TDD: Mocking services
well... I'd defenetly suggest you to go with mocking framework. Most of them are simple to understand and learn how to use it. Additionally I think they force you to design your tests properly with good sections: setup action assert One really cool scenario I can see that if you have a logic when class A with method A has should call class B with method B, but calling method B will depend on some input params. And method B returns nothing (let's say it is a logger or something like this). And you need to write a test witch will check that that method B was called. With mocking you can setup your test even for this scenario without creating a lot of new abstractions.
2 replies
CC#
Created by bdcp on 10/7/2023 in #help
❔ Substitute interface property?
5 replies
CC#
Created by hapless.dev on 10/6/2023 in #help
✅ controller endpoint gets 404 when hit
could you provide the whole model of RegistrationRequestDTO
23 replies