These are chat archives for spring-cloud/spring-cloud

13th
Mar 2019
Archimedes Trajano
@trajano
Mar 13 14:57
Hi,
I have
  cloud:
    gateway:
      globalcors:
        corsConfigurations:
          '[/**]':
            allowedOrigins: "*"
            allowedMethods:
              - GET
              - POST
              - PUT
              - DELETE
but when I do OPTIONS I don't get the CORS headers that I expect.
image.png
Archimedes Trajano
@trajano
Mar 13 15:06
image.png
mohanrao
@mohanrao
Mar 13 16:02
Hi. I got a question about creating a EdgeServer using Zuul and spring boot . What is a best practice to maintain/deploy the edgeservers ?
1)Pool of Edgeservers to process a microservice A and another pool of EdgeServers to process a microservice B
2)One pool for both microservices A and microservice B
Above question is based on the concern can one downstream microservice can effect another microservice SLA's
@spencergibb
mohanrao
@mohanrao
Mar 13 16:09
Like is there a way in we need to separate each of them may be thread pool
if we think to use pool for all services
Also Cpu/memory consumptions
Archimedes Trajano
@trajano
Mar 13 17:39
What I had to do was the custom filter approach, but I'd rather avoid having more code that I have to maintain if the configuration should be able to do it.
Spencer Gibb
@spencergibb
Mar 13 20:02
@mohanrao usually one set of edge servers
Dave
@dave-fl
Mar 13 23:20
@spencergibb Are you planning on doing some perf testing - I think I saw an issue open for this.
If so, might be worth considering a bare bones vert.x setup.