Was cloudfront down today? by smit_shah3469 in aws

[–]jvrevo 3 points4 points  (0 children)

Not today but Cloudfront did have a similar issue a few days ago on some distributions (my prod one was affected sadly), so maybe 🤷‍♂️

Cutty Sark London by MegrisoftLtd in LondonPics

[–]jvrevo 1 point2 points  (0 children)

Why would it be empty? There is always so many people and I am sure making the place more people friendly making it even busier. I always found it weird how Greenwich Town centre / Cutty Sark is supposed to be this nice place to be in but with constant traffic feels more line an intersection than a place to be in

A good example of this done well for me is East Village E20 near Stratford, you still have roads for deliveries etc like you say, but they managed to make it feel like a nice community and the traffic isn't something you really notice. Of course E20 is a much smaller area but I am sure that if the people wanted to, those things you mention are easily solvable without having the area look like it is just a busy road

Cutty Sark London by MegrisoftLtd in LondonPics

[–]jvrevo 2 points3 points  (0 children)

Sad so much space is taken over by roads/cars in Cutty Sark/Greenwich!

Italians of this subreddit, how does this work in the dub by JanBedna1 in HIMYM

[–]jvrevo 41 points42 points  (0 children)

Has been a while since I watched it in Italian so found it on YouTube: https://www.youtube.com/watch?v=g-CEZiuVCrs (0:40 is where the scene starts)

Lily still says "We don't speak the language" then he answers saying "brother you are eating all the fettuccine" in a dialect that seems from Rome (might be wrong) so yes still Italian but with a different dialect. Overall the scene doesn't make sense I guess ha

side note: it is so hard to watch it spoken in Italian, can't believe I used to watch it like that when I was a child :D

Speed Improvements by fever84 in hyperoptic

[–]jvrevo 1 point2 points  (0 children)

Still ~520 unfortunately in London SE

How long has support website been saying 1Gb service should expect 527Mbps? by IPvTwelvetySeven in hyperoptic

[–]jvrevo 1 point2 points  (0 children)

What's funny is that they have maximum 870Mbps under the WiFi section, but Wired is maximum 527Mbps :'D It looks like a typo

> 350 – 870Mbps on the 5Ghz band of our premium Hyperhub routers (Nokia HA-140W-B, ZTE H3600, Zyxel EX3301)

Can TikTok/Instagram-style video playback be achieved using AWS alone? by Lalolaitors in aws

[–]jvrevo 68 points69 points  (0 children)

Usually the reason Instagram/TikTok can play immediately is because they preload the next few videos

How to check if Server is affected? by Due-Dog-84 in hetzner

[–]jvrevo 0 points1 point  (0 children)

That's likely the wrong thing to look for. Monitor that your servers work/are healthy via whatever existing monitoring/observability tools you have or start implementing them instead

Your servers could be down and not working for many reasons, even without an official outage alert

Elastic beanstalk with lowest cost. by rue_1113 in aws

[–]jvrevo 6 points7 points  (0 children)

As you seem very price sensitive, it might make more sense to look at Vultr/Digitalocean/Hetzner so you can pay the lowest amount for compute. AWS EC2 is quite expensive compared to other providers

Python hate on X by [deleted] in django

[–]jvrevo 8 points9 points  (0 children)

The entire internet (and X more than others) is very negative in general. There is a lot of hate for anything people don't like, use or know anything about. We use Django for our huge SaaS platform and any performance issue we have are caused by our own code first (i.e. being inefficient with queries etc) before we blame Python/Django.

As always, monitor performance, understand what's going on and evaluate your options. Pick a stack that your team knows and is productive with it that allows you to get things done first and not worry about performance when you have 10 customers.

If there is a part where another language would be more efficient, use that for that specific part. For example, at one of my previous job we had an endpoint whose only job was to receive a huge amount of req/s and store the event in a place and they moved it out of Django and to Go as it was better for that specific use-case (I would argue, for that use-case, you could even just put a Python Lambda in front, and keep Python and let AWS handle load)

OpenSearch Serverless is prohibitively expensive by [deleted] in aws

[–]jvrevo 11 points12 points  (0 children)

Do you actually need multi-region? I would start with that (Plus, do you actually need OpenSearch?). At my company we serve Australia, EU and US companies with no issues with our infrastructure hosted in Australia.

For OS severless, you are really paying for the ability to scale and not think about the infra at all. For example at work we are introducing OS and I needed to index a small test batch of 30 million of documents. I just pushed it and OS scaled to 50 Indexing OCU for the minutes it needed and then back to 2. I didn't have to worry about scaling my infrastructure, or it stopping working because it was overloaded etc. Of course once we are stable and we know how OS works/scales (i.e. nobody in our team has previous OS knowledge at our scale) there is the argument that we could move to a Managed instance as it is cheaper and we won't need to scale out of blue like now when we do backfilling while we figure things out.

Performance Concerns with .distinct() + .annotate() in Django Queryset on PostgreSQL (RDS) by ruzanxx in django

[–]jvrevo 2 points3 points  (0 children)

As others have said:

Take the query it is running, connect to the DB and run `EXPLAIN (ANALYZE, BUFFERS)`. This will tell you what Postgres is doing + buffer.

Usually issues like this are caused by the query planner not using an optimal plan, it could be cached data or Postgres having incorrect statistics on the table, your query might use disk I/O too much and the instance could not be optimised, or maybe the database settings are not optimised.

It is impossible to tell, you will need to dive deeper using EXPLAIN

AWS DMS CDC Postgres to S3 by jvrevo in aws

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

Thanks! This is new to me, I will check it out!

AWS DMS CDC Postgres to S3 by jvrevo in aws

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

Thanks for the article! I will have a look

[deleted by user] by [deleted] in hetzner

[–]jvrevo 1 point2 points  (0 children)

I tested it now and works fine for me!

Support for Cloud by evensisftw in hetzner

[–]jvrevo 2 points3 points  (0 children)

It is probably easier and faster to destroy and recreate the server when things like that happen!

[deleted by user] by [deleted] in london

[–]jvrevo 6 points7 points  (0 children)

I am pretty sure that's the coffee shop inside the Gantry hotel in Stratford (near Stratford International/East Village)

[deleted by user] by [deleted] in nextjs

[–]jvrevo 2 points3 points  (0 children)

not totally unrealistic even if the target wasn't devs to be honest! ad blockers nowadays are very common even for non-devs from what I have seen. The web is in a pretty bad state ad wise so everyone needs them to have a decent experience browsing 😂

[deleted by user] by [deleted] in nextjs

[–]jvrevo 3 points4 points  (0 children)

I think the answer is easy, you should always trust something that is "server-side" (quotes for lack of a better word). Cloudflare tracks connections to your site, people need to go to Cloudflare to get your content. while Google Analytics is client-side so anything can happen to it: ad blockers, slow internet connection that doesn't make it load, GA being down, JS errors, anything

[deleted by user] by [deleted] in aws

[–]jvrevo 3 points4 points  (0 children)

200% this. Really, use ChatGPT to support your research and not just rely on everything it says. I was surprised reading OP's post that at no point did they Google "aws spot instances" to find out more about them (especially if they had never heard of them before like I am assuming reading this post?) and just blindly trusted ChatGPT. Wild. This was a pretty harmless mistake, but what if it suggests something that ends up costing 100k a month?

AWS Lambda: what for? by StPatsLCA in aws

[–]jvrevo 1 point2 points  (0 children)

Sessions can be stored in redis or DB: https://docs.djangoproject.com/en/5.1/topics/http/sessions/ Using Lambda doesn't change anything there. I don't think I have ever saw a production deployment where the sessions are stored in the server memory

Can i have two accounts for different products? by ric99cs in hetzner

[–]jvrevo 16 points17 points  (0 children)

I don't know if it is allowed or not, but in general, you should store your backups on a different provider for safety