All Questions
Tagged with microservices python
16 questions
3
votes
2
answers
394
views
Best approach to microservice shared databse architecture
I have two microservices, one Flask (python) and one Spring (java), they currently share a database. The Flask microservice handles processing json files (~40mb) for each user (could be 100's or 1000'...
0
votes
0
answers
118
views
Data producers and consumers: How to connect MySQL with microservices?
Consider a web-app with 5 micro-services deployed with Docker, and a MySQL container dedicated to storing data produced from other services (shared-database pattern). How should I make the connection ...
1
vote
3
answers
2k
views
How to handle dependencies between microservices all called within one large service
We are working on a suite of Python 'services' each of which is basically an application that does some calculations based on a domain (data) model and returns the results. These services are designed ...
1
vote
1
answer
755
views
How to handle i18n on a microservice architecture project?
I'm currently developing a bot for Discord that sends news over webhooks to multiple servers and I've decided to separate that news onto it's own microservice because the bot runs multiple instances ...
3
votes
3
answers
940
views
Is this a good use of monkey patching?
I have a set of data-struct like classes that correspond to the JSON messages being exchanged between services in an overall architecture. By struct like, I mean these classes just have fields -- no ...
1
vote
1
answer
512
views
Is microservice approach always best fit for ETL processes?
In our project we are using Django and Django Rest Framework as main application to get/query the data from database and send it to the frontend. Those endpoints are very fast as they should be. ...
-1
votes
2
answers
135
views
Are there any advantages to using dockerfile dependencies over virtual environment for Python apps?
I am currently working solo on a very small simple python microservice. I started building this app, mostly by habit, in a virtual environment. As I started to get closer to the point where deployment ...
2
votes
1
answer
1k
views
Best approach for developing a stateful computation-heavy application with a rest-api interface using python?
I want to develop an end-to-end machine learning application where data will be in GPU-memory and computations will run on the GPU. A stateless RESTfull service with a database is not desirable since ...
0
votes
1
answer
69
views
Using rest services or python modules directly?
Imagine you're in a Python setup, with all of the projects you're working on. Now, as a base line, you have a Python module that is the backbone (backbone.py) to everything when it comes to getting ...
1
vote
1
answer
1k
views
Flask restful file upload asynchronously?
I am working on converting an existing python based monolith solution to a microservice. The current flow is pretty straight forward:
Accept XLSX as input -> Run some complex algorithms based on ...
0
votes
1
answer
108
views
Design decision of reading XLSX file at once or intermittently
I am working on converting an existing python based monolith solution to a microservice. The current flow is pretty straight forward:
Accept XLSX as input -> Run some complex algorithms based on ...
31
votes
1
answer
5k
views
When developing a system by myself, should I use microservices?
I'm beginning a new project at work, and will likely be nearly the sole developer on the project, though one or two other developers will need to integrate existing applications or simple scripts into ...
0
votes
2
answers
2k
views
How can I create a Python microservice on AWS that both accepts REST connections and processes SQS messages?
Background: I'm working on a new project at work that will run in AWS. We're trying to use a modern microservice architecture and take advantage of cloud technology, but we don't have much experience ...
4
votes
2
answers
1k
views
Two processes in a single docker container or two services connecting to the same db?
I recently started moving a monolithic application to microservices architecture using docker containers.
The general idea of the app is:
scraping data -> format the data -> save the data to MySQL -...
1
vote
0
answers
187
views
Choosing Between Ruby and Python for a FS Microservice Backend in Node App [closed]
I have been working on a application that up until now has been pure Node. However I am concerned about performance and overhead since the application performs a lot of file system operations (Copy ...