Tag Info

New answers tagged

1

PubSub is more related to Messaging Queues (MQs). It has to do with how nodes receive asynchronous messages in a distributed system. Reactor pattern has more to do with asynchronous events. For exemple, non-blocking sockets use the reactor pattern to deliver network events: READ, WRITE, CONNECT, ACCEPT You can check CoralMQ and CoralReactor to have a ...


0

Some IOC containers (for example Spring or Weld) can solve this issue using dynamically-generated proxies. Proxies are injected on both ends and the real object is only instantiated when the proxy is first used. That way, circular dependencies aren't an issue unless the two objects call methods on each other in their constructors (which is easy to avoid).


0

(...) microservices working with their own databases As always with architecture decisions, there is trade-off between various objectives. One of the key objectives of microservices is to have independently deployable components. At one extreme, this means separating not only the code bases, but also the respective data persistence. Although viable in ...


0

If you're designing the services to be truly independent, then they're going to have to serve identity functions...ways to uniquely identify entities, so that they might be externally referred to. After all, the service is the boundary and you're not supposed to see through it to the underlying store. That identity really, really shouldn't change in the ...


1

NO. And I'm surprised how many people voted otherwise! Paradigm It's Data-Oriented a.k.a. Data-Driven because we are talking about the architecture and not the language it's written in. Architectures are realizations of programming styles or paradigms, which can usually be unadvisably worked around in a given language. Functional? Your comparison to ...


1

"Polyglot persistence" is just a fancy name for "heterogenous data stores" (which I suppose is also a fancy name). You can solve the problem in a number of ways: Have "One Table to Rule Them All:" a specific Primary Key in a specific database is the master identifier for a particular entity, Have mapping tables that map the keys of one data store to the ...


1

My suggestion would be to create a separate django base server which will serve as a web service api. This web server will use rpcdjango which, when used with any method as a decorator, converts it to a HTTP callable method. You will have to put little more effort on database design so that it does not become too complex. Then create your individual web ...


2

I've seen dynamically changing DB systems- driven by configuration where the customer adds columns "on the fly" for metadata that they want stored in addition to a few fixed columns. In all cases, you're now driving your application using configuration, and that means your queries have to be calculated at runtime - this rules out all systems that determine ...


0

You are way too much worrying about performance without actually having measured it. Let your Number class just be a facade, and delegate each computational function to a internal helper class on its own, like a SquareRootCalculator, a SinCalculator, and so on. If you are really going to implement that calculations right from the ground, each of it is ...



Top 50 recent answers are included