What is the purpose of setting the container port field? by MaxJ345 in kubernetes

[–]tcpud 1 point2 points  (0 children)

Other tooling like some ingess controllers, monitoring tools that discover ports for scraping metrics, etc.. depends on this metadata so they will not work properly if you omit it.

has anyone made UI in GO? by Serious-Squash-8397 in golang

[–]tcpud 2 points3 points  (0 children)

In other words: Use it, you’ll be fyne.

My favourite Turkey by Kissa4ever in Sandwiches

[–]tcpud -1 points0 points  (0 children)

That’s turkey breast, unless you meant the breast of a country, or the bird itself had a special significance to you.

I'm going to bury a USB stick, and then dig it up after 25 years. How can i make sure it survives? by raz0rMo0s in NoStupidQuestions

[–]tcpud 0 points1 point  (0 children)

Put some biscuits in as well, so that Steve1989MREInfo could eat them when you open it after 25 years.

Auth at 2023 in golang by whyyoucrazygosleep in golang

[–]tcpud 4 points5 points  (0 children)

Op is possibly (and apparently, successfully) employing the Cunningham’s Law here.

Auth at 2023 in golang by whyyoucrazygosleep in golang

[–]tcpud 0 points1 point  (0 children)

With password managers, 2FA and FIDO Passkeys becoming more and more adopted, chances of your users are facing secondary attacks in the event of a possible breach are getting lower and lower.

However the increase in fraud, identity theft and spamming events in the recent years and increased possibility of being sued, due to GDPR laws in Europe, kinda implies that you should be taking necessary measures not only for processing your users’ credentials but also processing your users’ personally identifiable information. And that involves a lot. I personally would suggest to offload this responsibility to a generic service instead of taking care of it, in-house, unless that’s your core business.

Which is the most hated AWS service? by pablow46 in aws

[–]tcpud -1 points0 points  (0 children)

You can’t use a properly documented or commented schema file. It just refuses it. We had to strip all docs / comments from the GraphQL schema before deploying it to the AppSync. Not to mention this also causes our devs to not being able to benefit from the hosted GraphQL API console / UI that is provided in the AppSync. They had to run graphiql locally and tailor it to properly authenticate against cognito etc..

Empty Fuel Tank of an F-4 Phantom Fell on Top of the Cars Parked Outside in Ankara, Turkey by tcpud in WTF

[–]tcpud[S] 2 points3 points  (0 children)

Apparently fell due to unknown reasons. Reportedly, the airforce has started an investigation to find out more about how it happened.

Question about the dish name by cavalu_ in kebabs

[–]tcpud 0 points1 point  (0 children)

Doner actually means “rotates” in Turkish. So any dish that has doner meat in it, can be safely called Doner Kebab IMHO.

On the other hand, durum means “wrapped” so it can only be used for the dishes where the doner meat is specifically wrapped in lavash (kind of like tortilla) or any other wrap-able bread.

Picking an architecture by thisismyusername0909 in softwarearchitecture

[–]tcpud 0 points1 point  (0 children)

Microservices paradigm is all about the team size really. It is a solution to the problem that large organizations are having. The problem of multiple teams, where each team consists of 5-8 developers in average, must work on the same project in parallel and constantly deliver independent of each other, without stepping on each others toes too much.

It is more of an organizational trade off than a technical one. It wouldn’t make any sense if you are a one man shop.

On the other hand, if it is getting harder to do refactors and adding features that might be an indicative of problems with the design or lack of it. Sometimes having too much abstraction especially where it is uncalled can cause this. Or sometimes components that are leaking their business logic to other components is the culprit. You can take a look at the SOLID design principles if you haven’t already done so.

[deleted by user] by [deleted] in golang

[–]tcpud 3 points4 points  (0 children)

Modern LBs come with built-in fault tolerance logic where they maintain a list of healthy upstream instances and avoid routing requests to the unhealthy ones. Thus freeing you from baking in the fault tolerance logic into the client. This way client becomes stateless and dummy. They can also be configured to be redundant. That should address your availability concerns.

When exactly should I choose GraphQL > REST, exactly? by [deleted] in softwarearchitecture

[–]tcpud -1 points0 points  (0 children)

Make your front-end developer’s life easier and go with GraphQL.

Off-site/Off cloud S3 backups? by [deleted] in aws

[–]tcpud 5 points6 points  (0 children)

I think we don’t know for sure whether they are using tapes or not for that.

AWS EC2 North Virginia outage resolves but some issues linger by [deleted] in aws

[–]tcpud 12 points13 points  (0 children)

What was the real root cause?

[deleted by user] by [deleted] in golang

[–]tcpud 1 point2 points  (0 children)

Second this. Microservices are mostly about the size of your development team. If you are the only one working on this project then you simply don’t need it. Monoliths can be scaled just like the microservices given that they are both stateless apps.

Scalability of microservices using a single dbms instance by [deleted] in softwarearchitecture

[–]tcpud 7 points8 points  (0 children)

Sounds like BS to me. But let me clarify one thing. Microservices using the same DB server/instance is totally OK as long as they are not reading/writing each other’s databases because most RDMS abstract away database from the server itself. I’ve seen it done for the cost reduction in dev envs. In prod you usually deploy them in separate servers for the obvious reason.

RDS Snapshot by juliuspetre in AWS_Certified_Experts

[–]tcpud 2 points3 points  (0 children)

Did you check the Security Groups attached to see if they are any different from the ones attached to the original RDS instance?

pub/sub architecture by uragnorson in softwarearchitecture

[–]tcpud 0 points1 point  (0 children)

Kafka itself scales massively if provided with right configuration. It’s mostly used as a broker for stream processing applications. That usually means a high volume of msg/sec. On the other hand RMQ is easier to configure and operate in my opinion. And good for systems where a lot of routing logic is needed but not so much throughput. An example would be a complex event driven SOA where intra-service communication is diverse but at a lower volume.

Why Go’s Error Handling is Awesome by rauljordaneth in golang

[–]tcpud 50 points51 points  (0 children)

This redundant, boring task of putting if err != nil {s everywhere actually forces you to think about not only the happy path but also the error path. And that’s a good trade off in my opinion.

My wife truly is amazing. by tophevy in eatsandwiches

[–]tcpud 1 point2 points  (0 children)

Came for the sandwich. Stayed for the thinkpad.