Questions tagged [middleware]

49 questions
40
votes
1 answer

Why database as queue so bad?

I've just read this article, and I'm confused. Let's imagine 1 webapp and 1 distinct application acting as "worker", both sharing the same database. Oh, I said "sharing"..but what does the article warns about? : Fourthly, sharing a database between…
Mik378
  • 3,838
  • 7
  • 33
  • 60
21
votes
1 answer

Differences between API Gateways and ESBs?

The company I work for is evaluating some middleware solutions for governace, metering and security of web services. Currently, we're using an Enterprise Service Bus (ESB) for this purpose, but some cool guys in management decided they are going to…
dliber
  • 335
  • 1
  • 2
  • 5
15
votes
2 answers

Is CORBA outdated?

I'm just learning about midleware in class, and our teacher has told us about CORBA. Doing a bit of research, I've found that the last version (CORBA 3) was released in 2002, which seems quite old in the computers science (well, in fact I know there…
Btc Sources
  • 277
  • 2
  • 8
11
votes
4 answers

What is the middleware pattern?

Here's a Ruby poject that implements the middleware pattern. From the description, I have no idea what the pattern is, what it's useful for, and why other solutions wouldn't work as well. What is the middleware pattern, and what are its advantages…
user39685
9
votes
3 answers

have we come full circle with microservices, back to very old school approaches?

In terms of software architecture and design, how do microservices "stack up" (pun intended) against middleware? I'm coming from Java, and it seems like as you move away from straight REST as an API, and abstract away different layers and…
5
votes
2 answers

Does "middleware" have two different meanings?

Does "middleware" have two different meanings and therefor is unnecessarily overloaded? Horizontal: I saw some use middleware to mean something like proxy or gateway sitting between two entities at the same level. For example,…
Tim
  • 5,405
  • 7
  • 48
  • 84
5
votes
1 answer

How to Recover from Inconsistent Job State without Database Polling

I'm working on scaling an application which is currently polling a mySQL database to send async jobs to a background processing system. A state machine is being used to keep track of the entities progress throughout a workflow. For example, we…
5
votes
2 answers

What are frameworks, stacks, and middleware?

I often see several terms (such as software stack, framework, and middleware) thrown around a lot, and it would be very helpful for someone to explain the differences between them I was prompted by my research that I did when reading this question.…
0xOffset
  • 169
  • 1
  • 2
  • 6
4
votes
3 answers

What scenarios are implementations of Object Management Group (OMG) Data Distribution Service best suited for?

I've always been a big fan of asynchronous messaging and pub/sub implementations, but coming from a Java background, I'm most familiar with using JMS based messaging systems, such as JBoss MQ, HornetQ, ActiveMQ, OpenMQ, etc. I've also loosely…
mindcrime
  • 520
  • 4
  • 6
3
votes
1 answer

Is the word "Dependency" used correctly in DI?

The word "Dependency" is used a lot in programming. But I think we might be using it wrong in many ways. I will use "Dependency Injection" in this post as an example. According to the Dictionary.com, the "Dependency" means: the state of being…
Tarik
  • 777
  • 5
  • 12
2
votes
1 answer

Message Broker vs. iPaaS

Does anyone have suggestions/recommendations/guidance they can offer on when to use a message broker like RabbitMQ/Kafka vs. an iPaaS solution like Mulesoft/Jitterbit/Dell Boomi/Workato? Can they coexist peacefully? Or should one of the two…
Andy
  • 397
  • 3
  • 11
2
votes
1 answer

How does the concept of http middleware differ from events?

I've been thinking about the most optimal way to implement middleware in my web application and it got me thinking, how is middleware any different from events? Let's say that before a controller gets executed I want to verify that the IP from which…
2
votes
1 answer

How to convey object hierarchy when object is converted to json for updates?

I have some classes being serialized via frugal (this is an open source extension of Thrift). The primary reason this is relevant is that the serialization process is out of my control and needs to support multiple languages, so I cannot easily…
enderland
  • 12,091
  • 4
  • 51
  • 63
2
votes
4 answers

What is a "streaming app", exactly?

I'm trying to get past all the hipster, pie-in-the-sky buzzwording and address a very simple, fundamental question: What is a streaming application? According to the Kafka site "Kafka is used for building real-time data pipelines and streaming…
smeeb
  • 4,820
  • 10
  • 30
  • 49
2
votes
0 answers

How to persist a session cookie in a PSR7 request/response middleware?

I am building a package that implements native-like sessions in a PSR7 middleware architecture. I created a middleware which is responsible to create and persist a session cookie. The session is also propagated in the request using withAttribute. I…
1
2 3 4