Unanswered Questions
86 questions with no upvoted or accepted answers
6
votes
0
answers
1k
views
Efficiently sharing a large node_modules directory between TeamCity build agents
The CI flow for our Node.js app looks roughly like this:
Currently, this all takes place in a single TeamCity 'job' with three 'steps' (the Test step runs 4 concurrent child processes).
Problems ...
3
votes
0
answers
210
views
data transfer objects between abstraction layers
I want to create an Express REST API and want to try following the clean architecture ideas. I was reading about it but didn't get the idea of the communication between the abstraction layers.
Let's ...
3
votes
0
answers
459
views
Dynamic API Data Validation
I am in the process of building an heavily data-driven web application written in Node.js / Typescript with Mariadb for the database engine. I am trying to put an emphasis on extensibility and DRY ...
3
votes
0
answers
862
views
How do I implement Socket.io Leaderboard using AWS Dynamo DB cost-effectively?
Every time a user submits a score, Socket.IO causes all the users get their leaderboard updated. This causes every single user connected through Socket.IO to read from the Dynamo DB database (every ...
3
votes
0
answers
245
views
How to scale a slackbot app
I'm building an app for slack. While I've completed the POC, and everything works well for a single instance of the app, I'm having an issue of wrapping my mind around the scaling of it.
The specific ...
3
votes
0
answers
342
views
Best way to traverse data and update nodes in Mongo DB
I am using Angular Tree View in my web app. Data coming from the server is build with
https://www.npmjs.com/package/mongoose-materialized
getArrayTree() function.
What I need is, syncing the ...
3
votes
0
answers
2k
views
Separation of web server and stateless REST API
Currently, I have a single Node server that provides both (a) stateless API routes returning JSON, and (b) session-based web routes. My API routes and web routes have started sharing a lot of code, ...
2
votes
1
answer
239
views
How to design a plugin architecture in Node.js?
I have a Node.js application and I want users to be able to develop custom plugins. I have multiple ideas and I am unsure how good they are. I need some tips from more experienced developers.
My first ...
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 ...
2
votes
0
answers
137
views
Minimizing infrastructure code surface for NodeJS microservices and libraries
My company has about 200 repos for microservices and libraries that we share. It's largely been great, but it's hard to keep DRY at the organizational level. We'll often have a large amount of package....
2
votes
0
answers
66
views
What is the recommended way to start a long-running containerized analysis in R from NodeJS?
I have a frontend through which users can submit analysis requests, which are inserted into a database. These analysis requests are received in a NodeJS server using Postgres notify/listen. Using ...
2
votes
0
answers
52
views
AWS codepipeline deployment
I currently have an AWS Codepipeline that is setup to automatically pull an Express, NodeJS API and deploy it with Lambda and API Gateway. It pulls the code from my GitHub repo production branch and ...
2
votes
0
answers
216
views
Viable ways to handle an access token on the resource/web application server
Use case:
We have a product which ties a set of resources to a concrete user.
Now we would like to provide the customers with an API so that an automated client application can have access to a ...
2
votes
0
answers
230
views
How to decouple a message broker and its message handlers?
Project description:
I have a nodejs project where I try to build a bluetooth mesh like network,
each node consists roughly of 4 parts the frontend part, the message broker, a bluetooth client and a ...
2
votes
0
answers
572
views
Designing large nanoservice architecture with AWS Lambdas
I'm moving from a coupled architecture to a decoupled architecture using microservices with AWS Lambda.
Here is my current architecture:
Each API Gateway route is linked to a specific Lambda, each ...