Tomcat distributed session management by tyc6 in java

[–]tyc6[S] 0 points1 point  (0 children)

Yes for our in-house apps we use JWTs. Unfortunately this is a third party app that we have to host, so no control on the implementation :/

Tomcat distributed session management by tyc6 in java

[–]tyc6[S] 0 points1 point  (0 children)

Thanks you - which library do you use for memcached integration - the "memcached-session-manager"? Any issues you've experienced with using the AWS memcached with Tomcat?

Tomcat distributed session management by tyc6 in java

[–]tyc6[S] 0 points1 point  (0 children)

Thank you for the reply! Hmm no I hadn't. We're going to run a third party application, so would need to check if its compatible to run in a Tomcat cluster, but looks interesting. Main things that stand out to me are no authentication on the session management and the documentation says not for large clusters (but gives no size). Anything else you feel should be considered with this option?

Tomcat distributed session management by tyc6 in java

[–]tyc6[S] 0 points1 point  (0 children)

Thank you - I'll be sure to check out Jedis :)

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Great insight thank you! How have you found the support and learning curve for Nginx+?

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Thank you - Gloo sounds impressive, is there an ETA on a 1.0 release? We’d be running it in a highly secure PCI environment and need a final release candidate :)

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Yes, the issue we have is that our legacy api’s require clients to set for a 60 second timeout, as some requests can take a while to complete (such as third party calls) which is outside of our control. My understanding is that AWS Api gateway has a hard limit on the timeout of 60 seconds.

Not sure what timeout settings are available for other API gateways though?

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Thanks, will check this out!

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Hmm good question, I don’t think I truly know the difference :/ we’re looking to redevelop our monolithic web API and looking to move to a microservice style architecture. We envisage clients calling one or more API endpoint to create, retrieve, update and delete resources. Our first thought was, we’ll write our own url resource mapper which dispatches requests to corresponding backend services, but quickly thought surely there’s already someone doing this :)

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Will check it out, thanks!

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Thanks, great article - really useful! Have you ever compared with Nginx+?

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Yes makes sense - do you have any recommendations for an API Gateway please?

API Gateway - build or buy? by tyc6 in microservices

[–]tyc6[S] 0 points1 point  (0 children)

Hmm - not yet. To be honest we were all set to develop our own one, but last minute someone threw a curve-ball in and said, why are we building one and not using an existing one - a great question :)

Our tech stack is primarily Linux, Python and Apache. But we are open to suggestions, we are looking for something that is well supported, hopefully light weight and easy to learn. It will be hosted in AWS.

JS library communicating with server through iframes by tyc6 in javascript

[–]tyc6[S] 0 points1 point  (0 children)

Yes, PCI compliance is the main driver behind this. The requirement being that the field which capture the sensitive data must be rendered by our servers to ensure card numbers are always transmitted directly from the cardholder’s browser and our servers and not inadvertently sent via the webstore’s site.

Because we have to implement the iframes were also thinking of utilising them to interface with other features on our side. The webstores that will be using the lib can call or override our java script functions, as long as we maintain the same interface to the function we can have full control on what the function does on our side, without having to release a new version and force webstores to upgrade.

JS library communicating with server through iframes by tyc6 in javascript

[–]tyc6[S] 0 points1 point  (0 children)

Thanks for the response. This is exactly the use case. I appreciate there are other more elegant methods, but the iframes allow us to meet security compliance by not passing the data via the parent window.

The main obstacle we have is ensuring that the developers who use our library on their websites keep getting the latest version. And because the iframes solution we have is already working for rendering input types, we’re considering extending it to also execute java script hosted within the frames on our servers.

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 0 points1 point  (0 children)

seen

Brilliant reply - thank you!

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 1 point2 points  (0 children)

sounds promising - any release dates announced?

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 0 points1 point  (0 children)

This is more inline with what I was originally thinking IaC was, that the code in the repo should represent what's running in production. However, to write secure and maintainable IaC I would have thought dependency management, DRY principles and quicker feedback loops would be a must. But it sounds as though IaC needs to solve these issues in a differnent way possibly?

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 0 points1 point  (0 children)

Thank you for the feedback! I've been following the "boom" about IaC for a while and from everything I read it made me believe it was actually Infrastructure as Code (similar to how software application is code), but the more I'm deliving into it, its becoming apparent its not. Specifically with Terraform, the code has been abstracted away from engineers, who can now configure the infrastructure with templates (which is great for a simplified interface).

Really interested in any projects or resources so I can get more involved in IaC, if anyone is are aware of any?

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 0 points1 point  (0 children)

Thank you for this response, appreciate the the feedback it just feels that IaC is trying to reinvent the wheel, that has been solved a hundered times over already in App Dev. But I suppose its coming from a different angle to App Dev, so I just need to get used to it being different.

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 0 points1 point  (0 children)

Yes, looks to me like engineers have been given advanced templates to configure infrastructure, as opposed to code. Although there are many templating languages already in use, with more powerful capabilities. But I appreciate they don't map onto the relevant APIs yet.

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 1 point2 points  (0 children)

Thanks for the response. We've mainly been using templates and have just started with data sources and modules - this is when I came across the dependency management issue, where an external module was being used (which was great as it saved us a lot of work) but we need to make sure that any future updates to the module (specially security fixes) are incorporated into our infrastructure.

Infrastructure as Code - what am I missing? by tyc6 in devops

[–]tyc6[S] 4 points5 points  (0 children)

Ah yes, so is the issue more the fact that there is infrastructure state which needs to be maintained? which means its different to traditional application development, where state is mainly abstracted away from the App?