Questions tagged [microservices]
Microservices are small, independent processes that communicate with each other to form complex applications which utilize language-agnostic APIs. These services are small building blocks, highly decoupled and focused on doing a small task, facilitating a modular approach to system-building.
1,040 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
3
answers
338
views
Handling authorization and authentication with an API gateway
Recently, I’ve found myself designing a microservices system, and I’m currently facing some challenges with authentication and authorization.
Context
All my microservices will be placed behind an API ...
0
votes
1
answer
129
views
Microservice Architecture Design
I want to create one service that reads data from two databases and passes it to the customer devices. Is this an overall bad design decision? I think that since it is only read-only, it should be ...
0
votes
2
answers
139
views
Scaling/microservices approach to reading files from same directory
My company receives files via SFTP. We currently have a service running on a timer that:
polls the inbound directory
moves files to an 'In Progress' directory
processes files (queueing messages for ...
0
votes
1
answer
95
views
Designing a Scalable Caching Layer for User and Tenant Metadata in a Messaging System
I'm developing a microservice-based application that processes a high volume of messages. Each message must be handled according to the user’s personal settings and some tenant-specific (customer) ...
2
votes
2
answers
274
views
Microservices blindly trusting anything due to network segmentation?
So I just fell in a project where microservices are inside private subnets and therefore aren't reacheable through the internet.
There is a balancer that can reach this microservices and this balancer ...
1
vote
4
answers
224
views
Can we consider each microservice as a "small monolith" application? [closed]
I'm just getting started with software architectural patterns.
I first analyzed the difference between monolithic architecture and microservice architecture and I had a doubt.
Below I report the ...
5
votes
4
answers
594
views
Is this too much for a modular monolith system? [closed]
A little background before I ask my questions. I've designed a system as an architect based on the requirements given to me by the client. The client has a team or two to three developers which are ...
3
votes
2
answers
295
views
Why do I need an authorisation server if my micro services can validate JWTs directly?
I'm working on a Spring-based micro service project and considering different approaches for handling authentication and authorisation. Instead of setting up a dedicated authorisation server, I’m ...
3
votes
3
answers
472
views
Is it a good idea to wrap node.js package functions in a micro-service architecture?
Our development team works with a micro-service node.js architecture. This means we work with a very large amount of repositories that currently each take care of their own dependencies.
To avoid ...
2
votes
4
answers
849
views
Microservices shared end-to-end testing: Which version(s) of other microservices to use?
Introduction
I am reading Building Microservices (second edition) by Sam Newman.
In chapter 9 the author highlights 2 problems when desiging end-to-end testing for microservices:
Which version of the ...
-1
votes
3
answers
231
views
How to deal with TCP-sockets being dropped instead of closed server-side?
Scenario: An application maintains a pool of connections to another service. The other service drops (not closes) all connections but still accepts new connections.
What are the best way of dealing ...
0
votes
1
answer
94
views
Scoped E2e testing on a microservice
As many, we use microservices in my company and there's some debate in my group whether a microservice has e2e tests on it's own.
I know e2e tests by definition are user flow tests.
Lets take for ...
0
votes
2
answers
276
views
DDD: How to update a domain model with a lot of fields
Let's say there is a domain model:
@Table(name = "room")
@Getter
@FieldNameConstants
@AllArgsConstructor(onConstructor = @__({@PersistenceCreator}))
public class HotelRoom extends ...
0
votes
3
answers
140
views
Bypass the need for a service layer with SQL Server views (for Read Only)
A service interface allows a service layer to support backwards compatibility. As long as the different versions of the API are still supported, then changes can be added to the newer versions of the ...
0
votes
3
answers
283
views
Design and communication between microservies
To learn about things like microservices, messaging brokers and all other new and fancy things, I decided to create microservices that will let me monitor my base within Minecraft (done via ...