Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
0 answers
356 views

Drawing the boundary between high level API and low level API

Assume that were developing a cross platform graphics engine. Now we have quite a lot of low level APIs to choose from (OpenGL, Vulkan, DirectX 11, DirectX 12, ...). Now because of this, we are gonna ...
D-RAJ's user avatar
  • 129
0 votes
0 answers
75 views

Is it a good idea to have separate instances for the public API Server and API Server used by the Web App?

I've built a React Web application with an Express REST API server and Firebase Auth. Also, Nginx is set up as a reverse proxy, so API calls from React to https://mydomain.com/api are routed to ...
Elnur's user avatar
  • 9
0 votes
1 answer
260 views

What should we consider when designing a load balancer with minimum cost

Given a set of processes running on a cluster of hosts, I'm designing a system that load balances the hosts through live migrations (carried out by an external service) of the processes. The goal of ...
MLEE's user avatar
  • 121
2 votes
1 answer
181 views

Building a Microservices App -- Can you give feedback on architecture?

I did some googling, and I was directed to Software Engineering to ask architecture questions. If you know of a different forum that could help me, please direct me to it I recently started learning ...
Asool's user avatar
  • 129
0 votes
2 answers
234 views

Structuring optional REST resource hierarchy

I am designing a REST service with multiple end points which will be servicing the following hierarchy: Department has many Category Groups Category Group has many Category(-ies) Category has many Sub-...
linuxNoob's user avatar
  • 183
1 vote
1 answer
385 views

Architecting multiple codebases calling our public API + private API for first-party applications

Currently, we have the issue where we have two codebases (API & Website) calling the same database (along with some duplicate business logic) and we want to streamline this so all requests are ...
Countach's user avatar
  • 113
1 vote
2 answers
131 views

Photo Library Service: What should be right way of photo library using AWS S3 and Java

I want to make a service that is supposed to upload Photos in S3 and make them available using a link. I have few design plans for my service. PLAN 1: Upload photo to my REST API which will update ...
Kuldeep Yadav's user avatar
0 votes
2 answers
579 views

User-friendly parameter parsing from yaml

Problem I have designed an evaluation tool (in python) and need some help to make it more user friendly. The tool requires ~100 (nested) parameters, which it gets from a yaml file and stores ...
gebbissimo's user avatar
0 votes
2 answers
236 views

API versioning at BackEnd - Declare the versioning(v1) at global level or at each controller/method level?

If I keep versioning at the global level then it would save the clutter at each controller level, // main.js main() { registerGlobalRoutesPrefix("/api/v1"); } // controller1.js @Route("controller1-...
Vishal's user avatar
  • 9
2 votes
0 answers
108 views

How to design job-handling for API

I am not sure if this is the correct place to ask, please direct me to the correct place if this is not it. Context I have written a do-all, keep-all, serve-all API (it started small, then grew out ...
Miniols's user avatar
  • 21
3 votes
1 answer
873 views

Does it make sense to apply interface segregation to a facade?

In my project, we have a couple different back-end APIs/endpoints that are called by the same front-end page at different times. All of these endpoints are sort of related to the overall "theme" or "...
Ryan Palmer's user avatar
9 votes
2 answers
957 views

How to design microservices with large number of joint entities outside of the domain border?

I'm working on breaking down a monolith application in smaller applications or microservices. Like always, sometimes it's easy and sometimes it's harder to identify domains and split those into ...
annemartijn's user avatar
0 votes
0 answers
155 views

Creating a webhook server / sender

I'm now working with an API project, where I'm developing new API endpoints and the final result at the end of the life cycle is as follows: a client should receive updated data out of what it sent to ...
simkusr's user avatar
  • 101
2 votes
1 answer
110 views

Atomicty with two points of failure

Lets say we have an API that receives requests to commit a money transaction. The API receives the requests from a certain client and calls for a certain 3rd party service (lets say provided by the ...
Max's user avatar
  • 129
-2 votes
1 answer
48 views

Endpoint returning only new and updated records

let me state some items. I have this endpoint that returns a list of objects, and I would like to return only the changed ones. I have an App calling this endpoint that caches this list, and today it ...
guisantogui's user avatar

15 30 50 per page