Re: [akka-user] Akka Streams for synchronous request processing

2017-12-20 Thread Konrad “ktoso” Malawski
In short I want to execute Akka graph from my API with out materializing every time. What’s your reason for this? Just so we’re on the same page and not imagining reasons for doing this :) Problem that I am facing: How to pass request object to source node of graph. That’s as simple as using a S

Re: [akka-user] Akka Streams for synchronous request processing

2017-12-20 Thread Harit Chandra
In my use case: I have multiple Akka graph with source,sink and flow. In my API on basis of some request parameter I have to execute one of the graph. In source node of graph I have to pass request which is received in API. I do not want to materialize my graph on each request. I have to send the r

Re: [akka-user] Akka Streams for synchronous request processing

2017-12-20 Thread Konrad “ktoso” Malawski
Sure it’d just work… What specifically do you have in mind? What do you mean by “We should be able to plug-in out partial graphs to the flow.” (specifically, what’s the use case). -- Cheers, Konrad 'ktoso ' Malawski Akka @ Lightbend On Dec

[akka-user] Akka Streams for synchronous request processing

2017-12-20 Thread Harit Chandra
Hi All, We are evaluating Akka as simple graph executor. For our use case we need to create REST API's and we wish to use Akka streams at core to process the requests. We cannot use Akka HTTP due to some constraints. The requirement is to materialize the graph once and synchronously process RES

Re: [akka-user] cachingProhibited causes 404 not found to be returned by the server

2017-12-20 Thread Konrad “ktoso” Malawski
Could you provide a small reproducer showcasing the issue as repo? -- Cheers, Konrad 'ktoso ' Malawski Akka @ Lightbend On December 20, 2017 at 9:14:41, Nicolae Marasoiu ( nicolae.maras...@gmail.com) wrote: Hi, I have js files and a getFr

[akka-user] cachingProhibited causes 404 not found to be returned by the server

2017-12-20 Thread Nicolae Marasoiu
Hi, I have js files and a getFromResourceDirectory. Since Chrome is caching them and takes from cache without checking with the server (say via a request with If-Modified-Since, or etag checking), I am trying with cachingProhibited directive to check if when Expires, no-cache and/or max-age hea