New answers tagged

1 vote

Source Control Design for Proprietary Logic which includes Obfuscation

With regard to Flater's comment, if the algorithms are so secret that you don't regard your ordinary staff NDAs and security practices as sufficient (an extremely high bar!), then one advantage of the ...
pjc50's user avatar
  • 13.2k
1 vote

Best practice in synchronized form data validations (Web apps - Client-Server)

Interesting topic, pretty much every web application copies those rules, so such a library would be very much welcome ;) Here's an example implementation using ASP.NET Core and Angular: https://...
mariusz96's user avatar
4 votes
Accepted

Source Control Design for Proprietary Logic which includes Obfuscation

Simply treat your "proprietary algorithms package" as if it was developed as a closed source software by a 3rd party vendor, decoupled from your main project. You may have already such other ...
Doc Brown's user avatar
  • 206k
36 votes

How to easily avoid circular dependencies

The premise of this question is wrong - the example does not show a circular dependency. The dependencies are CustomerController | | V | ...
Doc Brown's user avatar
  • 206k
-7 votes

How to easily avoid circular dependencies

One of the easiest ways is to make sure that you have a single direction to your references between layers. ie Presentation -> Controllers -> Services -> Data In your example you have one ...
Ewan's user avatar
  • 74.6k
0 votes

Access Token Or Alternative for Microservices For Resource Level Granular Checks

If resource 1 and 2 are general classifications, then it's advisable to implement access control in the token. For example, you can assign roles to users, or ownership to resources - these are known ...
DannyNiu's user avatar
  • 209
-2 votes

Who to manage AAA , gateway or business service

that would be sth like this based on apache apisix
Akbar Azad H.B.'s user avatar
2 votes

Synchronize data between old on premise application and new cloud system

Especially considering that they will likely have different database structures and database systems Do not do this. They have (almost?) identical functionality, so they should have identical ...
pjc50's user avatar
  • 13.2k
2 votes

Synchronize data between old on premise application and new cloud system

Frankly the proposal sounds like a recipe for disaster. If you have a perfectly working application for the time being, and you have several years to complete a transition "to the cloud", ...
Steve's user avatar
  • 8,426
3 votes

How should I architect a cricket scoring app?

With rules based games I always find it best to AVOID any objects relating to human concepts in the game, ie match, player, wicket etc. At least as a first pass. Rules for games are not written in an ...
Ewan's user avatar
  • 74.6k
3 votes

Deterministic behavior using RTOS with preemption

What kind of software architecture or mechanisms can be used to ensure that, using a real time os with preemption, everything that has to be run in a cycle is indeed run during that cycle ? How to ...
Steve's user avatar
  • 8,426
1 vote

How-to concept: Recognize features of an image and draw against

Identifying components of arbitrary vehicles, under diverse pose and lighting conditions, could be a good fit for ResNet50 types of models. But for the highly constrained problem space you outline, ...
J_H's user avatar
  • 6,520
1 vote
Accepted

How-to concept: Recognize features of an image and draw against

If you need to recognise arbitrary features I would suggest training an AI model or running various filters like edge detection etc before doing complicated maths. But with the restrictions you ...
Ewan's user avatar
  • 74.6k
4 votes
Accepted

What will the best way to manage access to the app projects Git repositories with shared service classes within one solution?

First off, You need to be able to trust your employee. Decompilation is a thing. Secondly, you should have individual git repositories for each app/library. Each repo should have a CI pipeline which ...
Ewan's user avatar
  • 74.6k
2 votes

Independent micro services or merging micro services together

The key thing here is: No one calls account service directly but only the wrapper service. If nothing calls the account/wallet service, then it doesn't need to be exposed as its own microservice. ...
Ewan's user avatar
  • 74.6k
3 votes

Is this architecture overkill? What is a good way to architect this software?

If you just call your functions "Algorithm" and "Calculate" then it's hard to make a judgement about the structure of your code. Should Calculate1 through 5 be separate functions? ...
Ewan's user avatar
  • 74.6k
5 votes
Accepted

Is this architecture overkill? What is a good way to architect this software?

Your new approach isn't inherently wrong. However, there are a few things I would like to question here: Currently, the Algorithm.calculate function in your example contains almost no generic, astro-...
Doc Brown's user avatar
  • 206k
1 vote
Accepted

Best Approach for Implementing User Watch Time Tracking

As @amon helpfully explains, the Beacon API was designed for this use case: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon#sending_analytics_at_the_end_of_a_session It allows ...
3 votes
Accepted

architecture design: In Pub Sub, how are publishing and subscription servers connected?

I think your confusion is that you're thinking of Pub/Sub only as a routing system, connecting publishers directly to subscribers; but it is actually a storage system, persisting the messages until ...
IMSoP's user avatar
  • 5,817
2 votes

Using Fargate (serverless compute) to replace leadership election

I think you should assume that, at some point, there will be more than one instance running and potentially processing data at the same time. For example there might be a situation in which your ...
RibaldEddie's user avatar
  • 3,273
1 vote

App that can be deployed both as monolith and microservices?

This kind of flexibility comes at a cost. Cost to design, development, testing, and deployment. Be sure the flexibility gains outweigh these costs. You may think this is taking baby steps towards your ...
candied_orange's user avatar

Top 50 recent answers are included