# \#microservices

**URL:** https://forum.elixirforum.com/tag/microservices/287.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Absinthe + Dataloader with clustered microservices](https://forum.elixirforum.com/t/absinthe-dataloader-with-clustered-microservices/62241)

<div class="topic-metadata">

**Author:** [@a\_smooth\_avocado](https://forum.elixirforum.com/u/a_smooth_avocado)\
**Replies:** 1\
**Last updated:** [March 29, 2024, 8:12pm UTC](https://forum.elixirforum.com/t/absinthe-dataloader-with-clustered-microservices/62241 "2024-03-29T20:12:17Z")

</div>

Hi everyone! I’m planning to develop a microservices-oriented architecture where my Kubernetes (k8s) cluster will support different nodes: an API gateway, authentication (auth), and application (app) services. These wil…

---

## [Plug Cowboy - Search dynamically for a free port to run the server](https://forum.elixirforum.com/t/plug-cowboy-search-dynamically-for-a-free-port-to-run-the-server/46378)

<div class="topic-metadata">

**Author:** [@quda](https://forum.elixirforum.com/u/quda)\
**Replies:** 22\
**Last updated:** [October 20, 2023, 5:37am UTC](https://forum.elixirforum.com/t/plug-cowboy-search-dynamically-for-a-free-port-to-run-the-server/46378 "2023-10-20T05:37:59Z")

</div>

I am building a simple http server using Plug.Cowboy (no Phoenix pls!) to serve a json API for a customer. A microservice. The problem is the customer has a complex environment with multiple services of many sorts, con…

---

## [Best Approach for Building a Sideapp in Elixir: Generating Images and PDFs](https://forum.elixirforum.com/t/best-approach-for-building-a-sideapp-in-elixir-generating-images-and-pdfs/55779)

<div class="topic-metadata">

**Author:** [@Morzaram](https://forum.elixirforum.com/u/Morzaram)\
**Replies:** 14\
**Last updated:** [May 18, 2023, 11:32am UTC](https://forum.elixirforum.com/t/best-approach-for-building-a-sideapp-in-elixir-generating-images-and-pdfs/55779 "2023-05-18T11:32:03Z")

</div>

Hey everyone, I’ve been tasked with creating a sideapp from our main Rails monolith at my company. I’m considering using Elixir for this project, but I’m unsure about the best approach to take. The sideapp’s main purpos…

---

## [Is Elixir good for microservices?](https://forum.elixirforum.com/t/is-elixir-good-for-microservices/46539)

<div class="topic-metadata">

**Author:** [@Skysoft13](https://forum.elixirforum.com/u/Skysoft13)\
**Replies:** 32\
**Last updated:** [March 15, 2023, 3:16pm UTC](https://forum.elixirforum.com/t/is-elixir-good-for-microservices/46539 "2023-03-15T15:16:28Z")

</div>

I am fun of elixir and I want to move with elixir, but someone recommend go and python for microservices, I am not sure, I have to use all them for microservices, or which one is best for me?

---

## [What’s a good resource to learn Microservices in Elixir/Phoenix?](https://forum.elixirforum.com/t/what-s-a-good-resource-to-learn-microservices-in-elixir-phoenix/53532)

<div class="topic-metadata">

**Author:** [@meraj\_enigma](https://forum.elixirforum.com/u/meraj_enigma)\
**Replies:** 9\
**Last updated:** [January 31, 2023, 10:03pm UTC](https://forum.elixirforum.com/t/what-s-a-good-resource-to-learn-microservices-in-elixir-phoenix/53532 "2023-01-31T22:03:04Z")

</div>

Hey, What’s a good resource to learn Microservices in Elixir/Phoenix? Is there any book/docs/Github repos that I can refer to? Thanks, -M

---

## [Message Queue or an Event Bus system?](https://forum.elixirforum.com/t/message-queue-or-an-event-bus-system/44776)

<div class="topic-metadata">

**Author:** [@Sanjibukai](https://forum.elixirforum.com/u/Sanjibukai)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 10:31pm UTC](https://forum.elixirforum.com/t/message-queue-or-an-event-bus-system/44776 "2022-01-15T22:31:19Z")

</div>

Hello everybody, I tend to see Message Queues (like RabbitMQ) being relevant when we want to make communicate different apps through events (the apps might be running on different servers or as microservices or even on …

---

## [Using gRPC and Phoenix together](https://forum.elixirforum.com/t/using-grpc-and-phoenix-together/45017)

<div class="topic-metadata">

**Author:** [@carzidco](https://forum.elixirforum.com/u/carzidco)\
**Replies:** 4\
**Last updated:** [January 4, 2022, 6:32pm UTC](https://forum.elixirforum.com/t/using-grpc-and-phoenix-together/45017 "2022-01-04T18:32:14Z")

</div>

Hi guys, hope you are great. I’m barely new using Elixir + Phoenix, but looking forward to learning as much as possible. These days we’ve been building up a new microservice using Elixir + Phoenix. So, we are looking f…

---

## [Microservices intercommunication using a cluster instead of gRPC or REST](https://forum.elixirforum.com/t/microservices-intercommunication-using-a-cluster-instead-of-grpc-or-rest/40439)

<div class="topic-metadata">

**Author:** [@RooSoft](https://forum.elixirforum.com/u/RooSoft)\
**Replies:** 5\
**Last updated:** [June 15, 2021, 3:22pm UTC](https://forum.elixirforum.com/t/microservices-intercommunication-using-a-cluster-instead-of-grpc-or-rest/40439 "2021-06-15T15:22:38Z")

</div>

Let’s assume we have a set of microservices running in containers, communicating in gRPC or REST. Am I right to think that, as long as they’re all coded in Elixir, making a cluster out of these services could potentiall…

---

## [Distributed Systems and Microservice Architecture course (in Russian)](https://forum.elixirforum.com/t/distributed-systems-and-microservice-architecture-course-in-russian/27950)

<div class="topic-metadata">

**Author:** [@DmytroNasyrov](https://forum.elixirforum.com/u/DmytroNasyrov)\
**Replies:** 5\
**Last updated:** [April 29, 2021, 4:05am UTC](https://forum.elixirforum.com/t/distributed-systems-and-microservice-architecture-course-in-russian/27950 "2021-04-29T04:05:16Z")

</div>

Hey folks! A brand new course about distributed systems and microservices. The course is recorded based on my offline lectures for students of the Institute for Applied Systems Analysis and the National Technical Univer…

---

## [Migrate from microservices to Elixir/Phoenix: is it possible?](https://forum.elixirforum.com/t/migrate-from-microservices-to-elixir-phoenix-is-it-possible/38179)

<div class="topic-metadata">

**Author:** [@francesco.pessina](https://forum.elixirforum.com/u/francesco.pessina)\
**Replies:** 1\
**Last updated:** [March 14, 2021, 2:47pm UTC](https://forum.elixirforum.com/t/migrate-from-microservices-to-elixir-phoenix-is-it-possible/38179 "2021-03-14T14:47:59Z")

</div>

Hello everyone, I beginned recently to study and work in elixir, and I’m very curious about OTP, scalability and performances. I’m writing this message to ask you if what I’m thinking makes sense or I am missing someth…

---

## [Microservice node communication with Phoenix](https://forum.elixirforum.com/t/microservice-node-communication-with-phoenix/37449)

<div class="topic-metadata">

**Author:** [@TomGrozev](https://forum.elixirforum.com/u/TomGrozev)\
**Replies:** 8\
**Last updated:** [February 12, 2021, 6:15am UTC](https://forum.elixirforum.com/t/microservice-node-communication-with-phoenix/37449 "2021-02-12T06:15:43Z")

</div>

I am trying to setup elixir in a microservice architecture and have each of them (i.e. nodes) communicating efficiently. For context, there is a product microservice and a phoenix frontend microservice (there are more bu…

---

## [Microservices architecture using distributed processes in a cluster](https://forum.elixirforum.com/t/microservices-architecture-using-distributed-processes-in-a-cluster/34745)

<div class="topic-metadata">

**Author:** [@und0ck3d](https://forum.elixirforum.com/u/und0ck3d)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 9:50am UTC](https://forum.elixirforum.com/t/microservices-architecture-using-distributed-processes-in-a-cluster/34745 "2020-10-05T09:50:22Z")

</div>

Hey! Hope everyone is doing fine during these times! I know lots have been discussed here regarding doing microservices architecture in Elixir/Erlang but I still have some questions regarding a particular way of doing i…

---

## [Feedback on my article about how to safely consume RabbitMQ messages with Broadway](https://forum.elixirforum.com/t/feedback-on-my-article-about-how-to-safely-consume-rabbitmq-messages-with-broadway/34310)

<div class="topic-metadata">

**Author:** [@silviurosu](https://forum.elixirforum.com/u/silviurosu)\
**Replies:** 2\
**Last updated:** [September 13, 2020, 6:16pm UTC](https://forum.elixirforum.com/t/feedback-on-my-article-about-how-to-safely-consume-rabbitmq-messages-with-broadway/34310 "2020-09-13T18:16:33Z")

</div>

I have recently wrote a blog post about my solution to a problem that we face internally consuming RabbitMQ messages with Broadway where if a crash occurred in the code the code would enter in an infinite loop: http://ww…

---

## [Elixir in an environment of polyglot microservices; feasible or not?](https://forum.elixirforum.com/t/elixir-in-an-environment-of-polyglot-microservices-feasible-or-not/19087)

<div class="topic-metadata">

**Author:** [@Decisional](https://forum.elixirforum.com/u/Decisional)\
**Replies:** 3\
**Last updated:** [March 4, 2020, 10:40am UTC](https://forum.elixirforum.com/t/elixir-in-an-environment-of-polyglot-microservices-feasible-or-not/19087 "2020-03-04T10:40:24Z")

</div>

My question: considering an application consisting of a set of polyglot \[micro ~ substitute your definition\]-services, would Elixir, and in extension Erlang, fit into such an environment? Disclaimer: I am new to Elixir.…

---

## [Fast Ruby/Rails interop?](https://forum.elixirforum.com/t/fast-ruby-rails-interop/27878)

<div class="topic-metadata">

**Author:** [@dogweather](https://forum.elixirforum.com/u/dogweather)\
**Replies:** 12\
**Last updated:** [January 19, 2020, 9:51am UTC](https://forum.elixirforum.com/t/fast-ruby-rails-interop/27878 "2020-01-19T09:51:47Z")

</div>

The answer is probably no but I thought I’d try: Is there a way to write Elixir functions that can be invoked by a Rails app as efficiently as a Ruby library? Most of my new Rails development is in the form of Ruby libs…

---

## [Discussion: Don't add a database layer to your Phoenix application](https://forum.elixirforum.com/t/discussion-dont-add-a-database-layer-to-your-phoenix-application/8623)

<div class="topic-metadata">

**Author:** [@AstonJ](https://forum.elixirforum.com/u/AstonJ)\
**Replies:** 82\
**Last updated:** [October 19, 2019, 7:43pm UTC](https://forum.elixirforum.com/t/discussion-dont-add-a-database-layer-to-your-phoenix-application/8623 "2019-10-19T19:43:52Z")

</div>

I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ecto flag and explains why: I don’t think anybody needs to add a database layer int…

---

## [ElixirConf2019: GraphQL Based Microservices in Elixir - Donald Ford](https://forum.elixirforum.com/t/elixirconf2019-graphql-based-microservices-in-elixir-donald-ford/25156)

<div class="topic-metadata">

**Author:** [@axelson](https://forum.elixirforum.com/u/axelson)\
**Replies:** 0\
**Last updated:** [September 4, 2019, 6:54pm UTC](https://forum.elixirforum.com/t/elixirconf2019-graphql-based-microservices-in-elixir-donald-ford/25156 "2019-09-04T18:54:33Z")

</div>

Architecting communication between microservices is a vital decision to be made when building scalable, sustainable software. In this talk, you will learn how Podium has leveraged GraphQL and…

---

## [Microsoft: DEVOPS200.9x Architecting Distributed Cloud Applications](https://forum.elixirforum.com/t/microsoft-devops200-9x-architecting-distributed-cloud-applications/19550)

<div class="topic-metadata">

**Author:** [@mkunikow](https://forum.elixirforum.com/u/mkunikow)\
**Replies:** 0\
**Last updated:** [January 20, 2019, 10:54am UTC](https://forum.elixirforum.com/t/microsoft-devops200-9x-architecting-distributed-cloud-applications/19550 "2019-01-20T10:54:47Z")

</div>

Microsoft: DEVOPS200.9x Architecting Distributed Cloud Applications Note: This course is not related to Elixir at all, but I found it very useful and nice presented introduction to distributed cloud application. https:/…

---

## [Phoenix - to go with Umbrella or not? ( new project )](https://forum.elixirforum.com/t/phoenix-to-go-with-umbrella-or-not-new-project/16414)

<div class="topic-metadata">

**Author:** [@itssasanka](https://forum.elixirforum.com/u/itssasanka)\
**Replies:** 12\
**Last updated:** [September 9, 2018, 9:47pm UTC](https://forum.elixirforum.com/t/phoenix-to-go-with-umbrella-or-not-new-project/16414 "2018-09-09T21:47:38Z")

</div>

Hi I have been looking into building a full fledged app with Phoenix. My idea is to keep things decoupled and simple from the start (helps maintainability in the long term). My backend will be a JSON api, which will b…

---

## [OTP and the microservices advent](https://forum.elixirforum.com/t/otp-and-the-microservices-advent/16275)

<div class="topic-metadata">

**Author:** [@samacs](https://forum.elixirforum.com/u/samacs)\
**Replies:** 5\
**Last updated:** [September 4, 2018, 3:09am UTC](https://forum.elixirforum.com/t/otp-and-the-microservices-advent/16275 "2018-09-04T03:09:32Z")

</div>

About a month or so we embarked on redesigning/rearchitecting most of the operation processes of the business for the company I work for, one of the biggest online clothing retailers in Mexico. In order to support more …

---

## [Should we adopt Dave's way of building applications as a series of components? (Dave's talk has now been added!)](https://forum.elixirforum.com/t/should-we-adopt-daves-way-of-building-applications-as-a-series-of-components-daves-talk-has-now-been-added/14428)

<div class="topic-metadata">

**Author:** [@cdegroot](https://forum.elixirforum.com/u/cdegroot)\
**Replies:** 107\
**Last updated:** [July 28, 2018, 2:23am UTC](https://forum.elixirforum.com/t/should-we-adopt-daves-way-of-building-applications-as-a-series-of-components-daves-talk-has-now-been-added/14428 "2018-07-28T02:23:39Z")

</div>

Another point that Dave drives home in his course is that applications really are components, and you should treat them as such. Not as “full fledged applications”. We’ve been doing that umbrella-style before, but umbrel…

---

## [Moving from microservices to a monolith](https://forum.elixirforum.com/t/moving-from-microservices-to-a-monolith/15110)

<div class="topic-metadata">

**Author:** [@StefanHoutzager](https://forum.elixirforum.com/u/StefanHoutzager)\
**Replies:** 6\
**Last updated:** [July 13, 2018, 9:25pm UTC](https://forum.elixirforum.com/t/moving-from-microservices-to-a-monolith/15110 "2018-07-13T21:25:48Z")

</div>

Working for a new customer where microservices are used. So I’m reading a bit about service meshes, real time event driven gateways, etc etc. How complex all this is! There should be a compelling need to use it.

---

## [Rocky Mountain Ruby 2016 - Kill "Microservices" before its too late by Chad Fowler](https://forum.elixirforum.com/t/rocky-mountain-ruby-2016-kill-microservices-before-its-too-late-by-chad-fowler/2305)

<div class="topic-metadata">

**Author:** [@peerreynders](https://forum.elixirforum.com/u/peerreynders)\
**Replies:** 7\
**Last updated:** [July 11, 2018, 11:58am UTC](https://forum.elixirforum.com/t/rocky-mountain-ruby-2016-kill-microservices-before-its-too-late-by-chad-fowler/2305 "2018-07-11T11:58:41Z")

</div>

The title is of course tongue-in-cheek though he does elaborate on what he perceives as the primary drivers behind the microservices hype: Embrace change Impermanence is the key to a surviving system The …

---

## [Api gateway / service mesh](https://forum.elixirforum.com/t/api-gateway-service-mesh/15047)

<div class="topic-metadata">

**Author:** [@StefanHoutzager](https://forum.elixirforum.com/u/StefanHoutzager)\
**Replies:** 0\
**Last updated:** [July 8, 2018, 12:41pm UTC](https://forum.elixirforum.com/t/api-gateway-service-mesh/15047 "2018-07-08T12:41:29Z")

</div>

A couple of microservice patterns appeared where the needed software could - maybe ideally - be built in elixir. The api gateway Elixir suitable for building a API gateway? (at least one has been built in elixir, see Eli…

---

## [Elixir suitable for building a API gateway?](https://forum.elixirforum.com/t/elixir-suitable-for-building-a-api-gateway/13794)

<div class="topic-metadata">

**Author:** [@pmjoe](https://forum.elixirforum.com/u/pmjoe)\
**Replies:** 5\
**Last updated:** [July 7, 2018, 3:06pm UTC](https://forum.elixirforum.com/t/elixir-suitable-for-building-a-api-gateway/13794 "2018-07-07T15:06:09Z")

</div>

Is Elixir suitable for building a API gateway like Kong? The main driver is the latency, throughput can be archived with more machines, but latency don’t. The server should have a very low latency, be stable and support…

---

## [Umbrella projects vs. stand alone apps as a dependency](https://forum.elixirforum.com/t/umbrella-projects-vs-stand-alone-apps-as-a-dependency/10168)

<div class="topic-metadata">

**Author:** [@Emily](https://forum.elixirforum.com/u/Emily)\
**Replies:** 14\
**Last updated:** [April 24, 2018, 10:08am UTC](https://forum.elixirforum.com/t/umbrella-projects-vs-stand-alone-apps-as-a-dependency/10168 "2018-04-24T10:08:54Z")

</div>

I’m going through Dave Thomas’s video course, “Elixir For Programmers”. In the course he talks about decoupling & maintaining that decoupling. He recommends seperate apps over an umbrella project. What he says makes a…

---

## [Processing incoming message with saving state](https://forum.elixirforum.com/t/processing-incoming-message-with-saving-state/13551)

<div class="topic-metadata">

**Author:** [@Relrin](https://forum.elixirforum.com/u/Relrin)\
**Replies:** 3\
**Last updated:** [April 9, 2018, 3:42pm UTC](https://forum.elixirforum.com/t/processing-incoming-message-with-saving-state/13551 "2018-04-09T15:42:46Z")

</div>

Hi everyone, I’m trying to build a pipeline that works with RabbitMQ and passing the results to the next stage that is also works with queues. However, I’ve stucked with a problem when necessary storing on a state on th…

---

## [DDD/CQRS/ES/NoSQL and functional programming](https://forum.elixirforum.com/t/ddd-cqrs-es-nosql-and-functional-programming/519)

<div class="topic-metadata">

**Author:** [@kraades](https://forum.elixirforum.com/u/kraades)\
**Replies:** 38\
**Last updated:** [March 20, 2018, 9:15am UTC](https://forum.elixirforum.com/t/ddd-cqrs-es-nosql-and-functional-programming/519 "2018-03-20T09:15:22Z")

</div>

I was wondering if anyone is using Domain Driven Design and/or CQRS and/or Event Sourcing and/or NoSQL storage for a business application that is written in a functional language (in particular Elixir and/or Phoenix). H…

---

## [Feeling lost with umbrellas](https://forum.elixirforum.com/t/feeling-lost-with-umbrellas/12944)

<div class="topic-metadata">

**Author:** [@vlad.grb](https://forum.elixirforum.com/u/vlad.grb)\
**Replies:** 2\
**Last updated:** [March 7, 2018, 5:16pm UTC](https://forum.elixirforum.com/t/feeling-lost-with-umbrellas/12944 "2018-03-07T17:16:07Z")

</div>

Just straight to the point. Probably I do some overthinking but just give me a try. The best way to understand something is to take live example. When user makes a post all the subscribers should receive 1 notification…

---

## [Using Elixir or Erlang as reverse proxy in front of other services?](https://forum.elixirforum.com/t/using-elixir-or-erlang-as-reverse-proxy-in-front-of-other-services/12879)

<div class="topic-metadata">

**Author:** [@iainduncan](https://forum.elixirforum.com/u/iainduncan)\
**Replies:** 1\
**Last updated:** [March 3, 2018, 9:01pm UTC](https://forum.elixirforum.com/t/using-elixir-or-erlang-as-reverse-proxy-in-front-of-other-services/12879 "2018-03-03T21:01:55Z")

</div>

I have a legacy over-coupled system (large!) that we are slowly breaking into a polyglot backend of cooperating services and I’m just exploring some options so this might be a dead end or not. Some parts of our app are g…

[Next page](https://forum.elixirforum.com/tag/microservices/287.md?match_all_tags=true&page=1&tags%5B%5D=microservices)
