Questions tagged [services]
The services tag has no summary.
118 questions
5
votes
2
answers
1k
views
Repository and Service Interfaces in an Accounting Software in Go with Uncle Bob's Clean Architecture
I'm trying to get hands-on experience with Uncle Bob's Clean Architecture in Go, but I'm running into some issues. Also, I'm not yet familiar with all of Go's idioms.
For testing purposes, I'm ...
0
votes
0
answers
54
views
Choosing a Pattern for Handling Different View Models in a Service Method
I'm working on a fairly large but standard dotnet core API. Here's a simplified sample:
// Simplified example of a controller
public class VehiclesController : ControllerBase
{
private readonly ...
2
votes
1
answer
204
views
Does it make sense to create a new service to house multiple features that are related business-wise but tech-wise independent?
We are beginning to add third-party integrations that all have to do with a certain business concept. (If it helps to make things concrete, in our case it's "measurements," i.e. third-party ...
-1
votes
5
answers
184
views
How not to share information across service boundaries in SOA?
We are often told to avoid sharing business data across service boundaries. However, I tend to see the need for a service to access data from a different service.
An example of this would be IT ...
1
vote
1
answer
76
views
How to deal with mixing models between services?
I am working on an API that has a User resource to represent the current user and a User service that handles business logic for representations of this user.
I need to introduce an Organization ...
7
votes
2
answers
5k
views
What are the best practices in public API vs internal only API being on the same service
I wanted to understand what are the best industry practices and the pros-cons in the following 2 choices:
A single service that serves internal only API and public API, vs
2 separate services - one ...
0
votes
2
answers
184
views
What is the definition of a `service` in microservice/Service-oriented architecture?
I looking for the scientific agreed upon definition of 'service' in Microservice/Service-oriented architecture.
I found a the definition
It logically represents a repeatable business activity with a ...
-1
votes
1
answer
87
views
Service-specific releases vs Releasing all services on every change
The following applies to a platform/company at an early stage in its life, moving quickly and cheaply with a small engineering team.
Imagine a platform with the following components:
Cloud ...
7
votes
1
answer
492
views
Service Design Pattern
I'm working with services and I found out there are at least 3 ways to use them inside controllers...
Statically: Like helper, Text::uppercase('foo')
Instancing it: $text = new Text(); $text->...
2
votes
0
answers
59
views
Communicate with multiclient applications
I have a 3rd party application. Basically I need to run one instance of that application for a one user. For 10 users I have to run 10 instances. From my API
I want to communicate with a specific ...
1
vote
1
answer
1k
views
Do I need a service layer if my current service layer looks like this? Also asking about other basic controller service-repository patterns questions
I currently have a service class RoutineService.cs that contains methods that each perform one thing, call the repository and return that exact same object.
With how simple it is, is my service ...
1
vote
1
answer
218
views
Multi threading a database driven service
First some background on the problem, we have a windows service (C Sharp) that receives new messages and processes them.It is database driven so it checks a table for unprocessed records, processes ...
2
votes
3
answers
750
views
Should services in a service layer be thread safe?
This is for an Android app, but I think the question applies to any software designed with a service layer.
Our app is structured with a presentation layer that handles the UI and a service layer ...
-1
votes
1
answer
737
views
Services calling services
The application I'm developing has:
controllers (they are responsible for processing RESTful API calls),
services (their methods are being called by controllers, they are responsible for operations ...
-4
votes
1
answer
660
views
What difference and relation are between fault tolerance and (high) availability?
From Coulouris' Distributed Systems 5ed
Chapter 18 Replication
18.1 Introduction
Increased availability: Users require services to be highly available. That is, the proportion ...