35 karma · joined Jun 18, 2021 (5y ago) · 22 submissions
comment 4y ago · link · parent
Some queries that requires a large amount of memory to process started to use disk.
Once the autoscaling kicked in, even if we would have realized about it, wouldn't have helped as you are locked out of the system.
The auto-scaling event was triggered earlier than our alerts for low disk available.
What I don't know yet, is that we have been moving services for multiple days, and the service that required the work_mem parameter was in production in that AWS for 48 hours before started to use disk rather than memory to process the SQL Queries.
comment 4y ago · link · parent
I agree with you. This actually makes a lot of sense. Probably the title reflected the anger and frustration that I was feeling after the poor support.
Actually the company that is being migrated to AWS is quite large, but not large enough to get in spending $1+mio annually. This migration was one system from many others that needs to be moved.
But, still, 10+ years ago the support in AWS was available for free to everybody, you would get in contact with a big nerd that knew the ins and outs of the system and would help you massively on pretty much anything.
Slowly, they allow just paid support, and now not even paying listen to your problems.
At the very beginning, it was the small(-ish) companies (which a few exceptions) which gave name to AWS, and an army of geeks talking all positive about the services.
If now they just work with large corporations, it is a big (and risky) change, which goes against the Amazon Leadership Principle "Customer Obsession".
comment 4y ago · link · parent
Thanks for your feedback. Aurora is something that we would definitely look in the future, but with the levels of workload that we are currently experiencing postgres RDS should work for quite a long time.
> CockroachDB or Cassandra or something similar.
I can't wait for a business use case where I need something like this :) but unfortunately right now this is not the case.
comment 4y ago · link · parent
This is a very good point. Will check.
> If you have RDS Enhanced Monitoring turned on do look at these metrics.
We don't have it enabled yet, but point taken.
> This is where having an AWS TAM is helpful - you can get them to re-esculate the support issue for a second opinion.
We currently have "Business". I requested support to escalate internally and he said that he could not.
The difference with the next level would be "Enterprise On-Ramp" ( https://aws.amazon.com/premiumsupport/plans/?nc=sn&loc=1 )
By checking the differences, looks like if we move to the next support we gain the following stuff:
- Business-critical system down: < 30 minutes - A pool of Technical Account Managers to provide proactive guidance, and coordinate access to programs and AWS experts - I think that we have already this service via our account manager. - Concierge Support Team - no idea what is this. I will check, but if anybody has any option whether this is worth it from experience, I would like to know.
comment 4y ago · link · parent
Actually you pointed out to a clue that I missed. I should have checked cloud watch!
The free space graphs shows that at some point something got the 200 GB of space that we originally assigned.
This is a good clue that I am going to dig in.
Thanks for your feedback!
EDIT: Cloudwatch metrics in RDS has been the key to find the source of the issue.
comment 4y ago · link · parent
I will see if there is anything visible in Cloud Watch.
> - Other than the (presumably) one change made to that RDS instance at ~4.30AM, were there any other changes made to it, specifically to its storage, prior to the autoscaling event?
At 4.30 the following has been logged: "Storage size 999 GB is approaching the maximum storage threshold 1000 GB. Increase the maximum storage threshold."
However the auto scaling event started at 10.17.
> - Had this service been tested on RDS prior to the migration being performed?
We have performed a dozen migration simulations in our Sandbox Account in multiple weeks. We developed scripts and automation to make the actual migration. The only difference in the Sandbox Account is that the RDS database was smaller in CPU and RAM.
> - Were any other changes made, that may potentially effect your DB? For example a query being changed or something of that nature.
I will double check with the team, but all the migration was fully automated with scripts. I have not been reported any action required outside executing the automation scripts and performing the plan.
8.
AWS RDS Postmortem: Is AWS Collapsing Under its Own Weight ?
27 points · by ruben81adelaide · 4y ago · 18 comments
comment 5y ago · link · parent
Python- it has a very simple syntax and it’s easy to learn. It can be used for modular programming and object oriented and it is forgiving if you don’t strictly follow the best practices. Therefore it can help to make thing working while you’re learning
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
The same applies for virtual machines. The difference is that it is usually easier to accomplish this with containers.
comment 5y ago · link · parent
comment 5y ago · link · parent
Some of them got sold; some others went nowhere. Overall, those projects have not made me much direct income - I can develop technology but I am terrible at selling stuff (actually, I am not so sure if I am bad at selling because I have zero interest, and the effort that I made to sell is quite proportional to the interest that I have).
However, all those projects allowed me to have a better understanding of many different facets of software development, and my actual area of expertise is quite deeper and broader compared with other professionals of similar background and years of experience.
It has also allowed me to get to know a lot of people, become a technology speaker, and perform many risky experiments - which I wouldn't dare to do when I am hired in another businesses - which provides me a unique insight on how to actually develop technology (for example, all those experiments confirms that if you are not using data driven approach to make decisions you are being massively inefficient).
Eventually, I decided to go full on with one project related to infrastructure automation (this topic is really cool!!!!). This project evolved to consulting services. The interesting part is that this project is quite interesting and well put together (although sometimes a bit hard to get started) but once you have set it up it is amazing, as I have confirmed with many consulting clients. But when I think about actually selling it, the excitement collapses quickly. I just tell people about this solution when I am requested to solve the problem by the client. (if anybody is interested the project is manageacloud.com, although there is a price structure I am actually not charging anyone).
Did I waste time with this project ? Well, it provided me with a direct income. Allowed me to show expertise to speak in several big technology conferences, and I got around 15 (yes, unfortunately not kidding) interviews with Google where somebody internally got the position(s) Google suggested to me until those interviews were becoming routine. I have managed to work from home for 6 years with consulting services, in very interesting projects, in huge business and well funded start-ups.
Working from home has allowed me to do some crazy stuff such as become black belt and fight in full contact international competitions. This would have been much harder with a 9 to 5 job, without the freedom to work whenever I can.
Are you thinking of making a project ? Throw it all away and go full on for it? Just do it. Why not ?
What will you think of yourself 10 years from now, knowing you had the opportunity and didn’t do it ? Asking yourself what would have happen? I cannot live with this thought.
What is the worst that can happen? Well, I am going to rephrase: How hard would it be for you to find a position similar to the one that you have right now?
Go for it. Well, actually, if you don’t have debt go for it. If you have debt … then it depends.
comment 5y ago · link · parent
Every month I transfer a bit, without looking if the stock goes up or down. The best goal is to invest intelligently for the long-term. Broad-based index have proven to be a good choice for long-term.
comment 5y ago · link · parent
Good PM if they know the product inside out and they have a good insight on how development works provides a lot of value.
However there are some companies that believes that software engineers are “second class citizens” and roles such as Project Managers and Product Owners just gets paid more without any clear justified contribution.
For me this is a red flag that the company has not realised yet the real value of the software engineers.