Status Update
Comments
mi...@upside.com.au <mi...@upside.com.au> #2
ak...@machimachi.com <ak...@machimachi.com> #3
mi...@upside.com.au <mi...@upside.com.au> #4
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
ri...@gmail.com <ri...@gmail.com> #5
fa...@google.com <fa...@google.com> #6
ri...@gmail.com <ri...@gmail.com> #7
am...@google.com <am...@google.com> #8
Branch: androidx-main
commit 02290cddca3d5e4dc94e2c5f77a6728ad970b204
Author: Jeremy Woods <jbwoods@google.com>
Date: Thu Oct 07 13:11:45 2021
Dispatch onHiddenChanged to child fragments
When a parent fragment is hidden all of its children will automatically
be hidden, but we never call onHiddenChanged on any of the children.
We should dispatch onHiddenChanged down parent's entire hierarchy and
ensure that `isHidden()` also considers the parent's state.
RelNote: "Parent fragments will now dispatch `onHiddenChanged()` down
their entire hierarchy before launching their own call back."
Test: added test
Bug: 77504618
Change-Id: Iedc201ab435cb963e81bc02d203d4d37ff827e01
M fragment/fragment/src/androidTest/java/androidx/fragment/app/FragmentViewTest.kt
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentStateManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/FragmentManager.java
M fragment/fragment/src/main/java/androidx/fragment/app/Fragment.java
tg...@infopoint.com.au <tg...@infopoint.com.au> #9
This has been fixed internally and will be available in the Fragment 1.4.0-beta01
release.
ri...@gmail.com <ri...@gmail.com> #10
Anyway, you need to add asia-northeast1 to that list. I don't know what your definition of "noticeable" is but I definitely noticed it.
There should be a big red warning in the console and CLI that says "Setting a custom domain will add x milliseconds of latency for applications in <region>".
le...@gmail.com <le...@gmail.com> #11
im...@gmail.com <im...@gmail.com> #12
Same for Europe even if it's not as huge as for other continents : 1.388 (appspot) vs 5.746 (custom)
ni...@daskalou.com <ni...@daskalou.com> #13
The latency is exactly the same as our App Engine apps hosted in the US.
Australia App Engine costs around 35% more than using US based App Engine.
We chose Australia in order to improve performance for our Australian target audience.
Since we are getting the exact same performance compared with having our app based in the US, what then is the benefit of having an Australian based App Engine service (besides data sovereignty issues)?
di...@gmail.com <di...@gmail.com> #14
For reference, I did some quick tests with some of our (production) apps:
While the "EU" and "US" apps are different, so they can't be directly compared, we can compare "appspot vs. custom domain" separately for the EU and US, and in both cases I see appspot being ~25% quicker. While it's sad that using a custom domain adds a 25% overhead :((, this particular issue does NOT seem to impact the US or EU regions.
pr...@gmail.com <pr...@gmail.com> #15
ri...@gmail.com <ri...@gmail.com> #16
I guess no one read my last comment. asia-northeast1 is not in that list but I noticed latency there. Please either fix the issue or add asia-northeast1 to the list.
mc...@tecnogo.com <mc...@tecnogo.com> #17
pu...@gmail.com <pu...@gmail.com> #18
➜ ~ time curl -s https://[redacted].
0.26 real 0.03 user 0.01 sys
➜ ~ time curl -s https://[redacted].
0.25 real 0.03 user 0.01 sys
➜ ~ time curl -s https://[redacted].
0.21 real 0.04 user 0.01 sys
➜ ~ time curl -s https://[redacted].
0.24 real 0.03 user 0.01 sys
➜ ~ time curl -s https://[redacted] > /dev/null
1.04 real 0.03 user 0.01 sys
➜ ~ time curl -s https://[redacted] > /dev/null
1.07 real 0.04 user 0.01 sys
➜ ~ time curl -s https://[redacted] > /dev/null
1.14 real 0.03 user 0.00 sys
➜ ~ time curl -s https://[redacted] > /dev/null
1.08 real 0.03 user 0.01 sys
[Deleted User] <[Deleted User]> #19
Sorry but you are doing it wrong.
jo...@gmail.com <jo...@gmail.com> #20
k....@gmail.com <k....@gmail.com> #21
ri...@gmail.com <ri...@gmail.com> #22
[Deleted User] <[Deleted User]> #23
mc...@tecnogo.com <mc...@tecnogo.com> #24
ap...@evmanapp.com <ap...@evmanapp.com> #25
For many of us, custom domain mapping would be last thing of development and not so red alerted fyi kind of one liner is easy to miss. - from asia-south1
ri...@gmail.com <ri...@gmail.com> #26
As I and others have previously requested, if you're not going to fix the issue, make it clear to users that it exists before it's too late and they have to start evaluating a switch to other infrastructure.
ni...@daskalou.com <ni...@daskalou.com> #27
ri...@gmail.com <ri...@gmail.com> #28
In my case, since requests using custom domains for AppEngine apps deployed in Tokyo go through Taiwan for some reason, all my users in Tokyo have to make a few-thousand kilometer round trip to do anything. However, if I use a CDN with an edge server in Japan, that distance is cut down significantly.
When (if?) I release another project on AppEngine I will most likely do my custom domain on a CDN instead of just using AppEngine's settings.
th...@gmail.com <th...@gmail.com> #29
Hope this issue got addressed soon.
aa...@alaisteryoung.com <aa...@alaisteryoung.com> #30
[Deleted User] <[Deleted User]> #31
ir...@gmail.com <ir...@gmail.com> #32
ri...@gmail.com <ri...@gmail.com> #33
It also affects Cloud Run:
Custom domain:
Not custom domain:
This problem has a simple solution: Host the servers routing custom domains in the same place as AppEngine and Cloud Run!
so...@google.com <so...@google.com> #34
mi...@upside.com.au <mi...@upside.com.au> #35
ca...@gmail.com <ca...@gmail.com> #36
aw...@gmail.com <aw...@gmail.com> #37
de...@danielcompton.net <de...@danielcompton.net> #38
We have this issue in us-central1, even though that region is not on the list of regions that have a latency impact. The
If your app is located in one of the following regions, using custom domains might add noticeable latency to responses:
- us-west2
- us-east4
- northamerica-northeast1
- southamerica-east1
- europe-west2
- europe-west3
- asia-south1
- asia-northeast1
- australia-southeast1
ri...@gmail.com <ri...@gmail.com> #39
[Deleted User] <[Deleted User]> #40
It incredible to see this issue still open. Since 2017, is it incompetence or what?
ir...@gmail.com <ir...@gmail.com> #41
ja...@port.ac.uk <ja...@port.ac.uk> #42
lu...@gmail.com <lu...@gmail.com> #43
This doesn't make any sense. They need to fix that.
ri...@gmail.com <ri...@gmail.com> #44
ma...@gmail.com <ma...@gmail.com> #45
mi...@nurturecloud.com <mi...@nurturecloud.com> #46
am...@craveretail.com <am...@craveretail.com> #47
[Deleted User] <[Deleted User]> #48
It seems like Cloud Run has the same issue (
It seems promising, but I haven't tried, yet. If someone has, could you please share your experience?
[Deleted User] <[Deleted User]> #49
Here we decided to connect to our back-end service with the appspot domain. The latency is way lower, even with CORS preflight requests - which we found to be typically below 20 ms.
So our users see our custom domain in the browser, even though the back-end is in another domain. It is working great.
It seems like appspot.com uses some experimental HTTP/3 features, which can be spotted by the alt-svc: h3-29=":443"
response headers
am...@google.com <am...@google.com> #50
Hello,
Unfortunately the internal Bug related to this has been marked as Infeasible due to the following reasons described by the engineering team:
First, serverless neg behind Google Cloud Load Balancing now exists, and has neither the latency nor cross-region query flow problems, as well as having other functionality like cache flushes and TLS cipher control. Significant investment has gone into it. We would like to encourage that customers who have these concerns use this system. We're not suggesting that custom domains via the shared VIP be deprecated - indeed we've just staffed a multi-quarter project to roll out zoo3. But we're not going to invest in improvements beyond that at this time.
Second and more importantly, the originally envisaged architecture for improving latency and eliminating cross-region queries on the non-GCLB flow is no longer viable, because the whole concept of a single giant multi-purpose shared L2 fleet goes against the reliability program work.
For that reason I will close this Bug Report as well, I apologize for any inconvinience that this may cause.
ir...@gmail.com <ir...@gmail.com> #51
Anyway, thanks for the update. At least now we know.
ri...@gmail.com <ri...@gmail.com> #52
There's no excuse for dragging this out for three years while we continued to support you by paying for your services, thinking you would eventually fix it. We waited because you said "GCP Networking Engineering team is working on it."
da...@gmail.com <da...@gmail.com> #53
I am having this same problem and I'm not in a 'slow'' region. I have relocated to us-west4 (Las Vegas) to avoid this issue but I'm still getting a much slower response time from the custom domain:
Custom domain: 1.25 seconds
appspot: 200ms
I testing this from Sydney using Go1.15 on App Engine Standard.
Is it still possible I have made some error or are others seeing this difference even in regions that are not know as slow?
al...@symph.co <al...@symph.co> #54
I'm from Philippines, and this is how mine looks like after 3mins (it runs 4 rounds to try to get the minimum). Numbers are in ms.
It's sometimes weird coz the numbers change from time to time across refreshes. It's not the best measuring tool, but maybe it could help.
ma...@parkable.com <ma...@parkable.com> #55
aa...@gmail.com <aa...@gmail.com> #56
ri...@gmail.com <ri...@gmail.com> #57
ir...@gmail.com <ir...@gmail.com> #58
At the risk of violating some TOS here, I recommend Cloudflare Workers to anyone struggling with this issue.
They are truly serverless: there are no instances, scaling, regions or anything like that. Workers run everywhere. That also puts them closer to the users and makes them incredibly resilient. They also come with neat tools like KV storage, CDN cache manipulation, etc. They offer a generous free tier, and it's cheap if you need more.
There are differences between Workers and App Engine so it may not be suitable for everyone and it could require some work to migrate your app, but it's worth checking it out. I already migrated some of my stuff and I will eventually migrate the rest.
Description
The issue affects more severely local users, as in users in Australia accessing apps in australia-southeast1.
We're working on fixing this issue, but at the moment we don't have estimate to have this issue fixed.