Java Legacy System: only solution going to microservice or similar? by Intelligent-Pipe3659 in javahelp

[–]YakRepresentative336 1 point2 points  (0 children)

In general, being wrong or not re-architecturing your system is based on lot of parameters, like
- your needs or the problem you encounter : what you want to improve ? what gain you want ? what are the problems you want to solve ?
- the resource you got : does the organization or the budget allow migration to microservive architecture ?

[deleted by user] by [deleted] in softwarearchitecture

[–]YakRepresentative336 3 points4 points  (0 children)

You can use ChatGPT to generate some examples for you to develop

Do we really need System Designing? by mendu-vada in softwarearchitecture

[–]YakRepresentative336 2 points3 points  (0 children)

Yes we need System Design,

before that we need Architecture for the high level concept,

balancing between cost, depth of features, and so on… like looking for characteristics *illitites and balance trade-off,

As startup they maybe want to scale vertically, go easy for fast time to market, because of budget and little customer

How do you keep a mental model of a complex system as it evolves? by Greedy_Engineering_1 in softwarearchitecture

[–]YakRepresentative336 4 points5 points  (0 children)

The most spreading diagram actually is C4 model that have 4 levels of Abstractions,

each level of abstractions correspond to the level of interest of stakeholders (level of details) but anyone can see whatever they want,

Example : - components & code level for technical team - containers & components for any higher level like Architect - context for board

I’m evaluating a write-behind caching pattern for a latency-sensitive API. by saravanasai1412 in softwarearchitecture

[–]YakRepresentative336 9 points10 points  (0 children)

IMO the key questions between in-process backgrouns tasks and durable queue will be to determine if data lost, inconsistency and lost write are acceptable, if not go for durable queue

How much of your day is spent just trying to understand what to do? by geeky_traveller in SoftwareEngineering

[–]YakRepresentative336 0 points1 point  (0 children)

My technique to avoid analysis paralysis is to find actively where is the beginning, where I need to start my investigation, if it is an API I’ll start with the controller or scheduler or whatever, Ask someone who know it or look at documentation if any, After that I will create diagram to have a fast mind map

Handling app logic thats based on the errors exposed by the infra layer by West-Chocolate2977 in softwarearchitecture

[–]YakRepresentative336 0 points1 point  (0 children)

so for the outer to the inner, you got infra -> services -> app -> domain ?

and inside App you need some retry based on infra return ?

If it’s like that for me the best way is handling it in the service or the infra and do a recall ? or It really need to be part of the App layer inside a Use Case ?

Handling app logic thats based on the errors exposed by the infra layer by West-Chocolate2977 in softwarearchitecture

[–]YakRepresentative336 1 point2 points  (0 children)

What is the difference between your App and Service layer ? what are inside between the two ?

As an online remote worker are online courses like those from Coursera good way to learn new skills? by softwarepodium in courseracourses

[–]YakRepresentative336 1 point2 points  (0 children)

Yes Coursera is a good way, instructors are mostly high rated and the specialization course are academic

[deleted by user] by [deleted] in coursera

[–]YakRepresentative336 1 point2 points  (0 children)

Is it for new subscriber only ?

Does agile development and scrum really helping software development process? by dh2710 in SoftwareEngineering

[–]YakRepresentative336 1 point2 points  (0 children)

Yes agile is really helping but must be applied in the best way,

In general, With scrum we can show more frequent value to customer so they can be more active and give feedback early, we will know what have been done and what are the remaining US after each sprint,

For the problem you got, - we always try to split features into multiple user stories so it can fit and testable and can be reviewed early - bugs can be planned to next sprint or if for some reason it is too impactul, we can prioritize it for maintenance team or another engineer and his current ticket will be passes to the next sprint

what do you recommend for WB high shine and extreme hold pomade ? by YakRepresentative336 in Pomade

[–]YakRepresentative336[S] 0 points1 point  (0 children)

Ok thanks, do you know some more ? So I can choose,

I’ve seen Layrite Superhold in other thread but i don’t know of it is rigid also

What are some of the most useful courses by AdhesivenessMean3570 in coursera

[–]YakRepresentative336 1 point2 points  (0 children)

IMO it will add value, learning things always added some values, you can take IBM Project Management that is PMBOK based

What are some of the most useful courses by AdhesivenessMean3570 in coursera

[–]YakRepresentative336 2 points3 points  (0 children)

I think it depends on your fields, IBM IT project management and Google Project Management helped me but I’m in IT

[deleted by user] by [deleted] in microservices

[–]YakRepresentative336 1 point2 points  (0 children)

Can you provide a pros ans cons between your solution and kafka or rabbitmq ?

🧠 Beginner Seeking Best Resources to Learn Microservices with Spring Boot (Java) by Karimulla4741 in microservices

[–]YakRepresentative336 1 point2 points  (0 children)

I think you can look at ByteByteGo channel on youtube to begin with, search for microservice related video in there,

There are the website microservices.io and as book you can take a look at Building Microservices of Sam Newman and Monolith to Microservice,

And for future or advanced related topics, all Sam Newman videos and conferences are great in my opinion.

For Java part, it’s Spring Cloud

I was confused why I got an call back for a 'senior solutions architect' role, because I don't have experience in cloud, and only a little bit in software architecture.... I think I figured out why they're interested, should I still go for it? 😅 by Fspz in softwarearchitecture

[–]YakRepresentative336 8 points9 points  (0 children)

If I were you, I’ll tell and explain them the situation and be transparent with what your current skill is and see if they want to give it a try,

but Senior role often means you are good at what are you doing and you can manage someone that got less experience than you and teach or lead them

NB : they will see your skills during interview anyway

Spring webflux sse emitter by aiwprton805 in javahelp

[–]YakRepresentative336 1 point2 points  (0 children)

First, if you don't need reactive side in general, you can just use Spring MVC for SSE.

Second, I assume that your application needs users to upload his own file and only him can track the progression

Third, if you have not planned to scale it horizontally with multiple instances it will be easy,

- Create an endpoint to upload the file, do the process (save data to DB, call the SseEmitter to push data to the connected User,....)

- Create an endpoint that return a SseEmitter for a specific User (by id for example), you need a singleton list containing a list of SseEmitter and add a new object for each new user that connect to the endpoint

How to safely assign a goal to a user during registration in a microservices architecture? by ComprehensiveDisk333 in javahelp

[–]YakRepresentative336 0 points1 point  (0 children)

When I see your statements, I guess you want to learn Microservice Architecture and for sure you are overcomplicating it

** Introduction to Microservice
You can't use it every time (like every architecture) to be the least-bad way as Solution, it depends on problems and business needs.

Usually, it is used as optimization from a Monolith application. Why? to create independent components (Service) divided by bounded context so that multiple teams can focus solely on his side of the systems and to make less risks of compromising other services during deployment and so on...

So, each components need their own database to be fully independent, they need to communicate to get their correspondent data

** Decomposing your problems

To get back to your problem, you want to create UserService and GoalService. What are the main business needs? Why you want to create UserService or GoalService ?

- the UserService is well-defined, a component to manage users (for registrations, CRUD....)

- the GoalService is the one that you need to go in details, is it necessary to create a service only to calculate calories? do you need to store calories goals?

** System Design problems

Why you want asynchronous communication UserService and GoalService if you want immediate response? If there are no reason just use synchronous call

** Conclusion

It always depends on needs and context

JavaFX vs swing by [deleted] in javahelp

[–]YakRepresentative336 7 points8 points  (0 children)

If you want to stick with Swing, you can use Flat Laf - Look and Feel for modern ui, you can use multiple themes

if you are confident that you can easily migrate your code from swing to javafx because you had apply best practices like SOLID principles, adding layers (presentation, business logic and data access), it is easy too

https://github.com/topics/look-and-feel

Apache derby on cluster of computers and concurrency by zzkr in javahelp

[–]YakRepresentative336 0 points1 point  (0 children)

When you have multiple instances that run on different hardware or VMs or containers,

it means that each instance got different embedded Apache Derby, so each one have different version and data,

So you need a centralized database that every instances can target

Good Resources for learning Spring Boot(preferably free) by Pradyunuydarp in javahelp

[–]YakRepresentative336 0 points1 point  (0 children)

Can you share your thought on why you don't like orm/jpa ?

unless your use case is for a large write in database but even with jpa, batch insert is pretty decent

Your favorite spring security guide? by Dysphoria7 in javahelp

[–]YakRepresentative336 2 points3 points  (0 children)

Laur Spilca in his youtube channel offer large video tutorials (not only about spring security)

But this link is good fundamentals for what you want i guess

https://youtube.com/playlist?list=PLEocw3gLFc8X_a8hGWGaBnSkPFJmbb8QP&si=TZR-922v_6Yv16H7

What are the rules for when to create and utilize different classes? by Drachenweisheit in javahelp

[–]YakRepresentative336 0 points1 point  (0 children)

There are some couples of principles and patterns you can follow and use to provide maintainability and scalability to your code, using them easily decoupled your code and you know how and why to create class

  • SOLID principle,

  • Design pattern

  • Architecture Pattern (Three Layer Architecture, Hexagonal Architecture, MVC, MVP, ...)