Playing around with splitting my project up into separate services, and invoking via URLFetch between them. I'm seeing anywhere from a 20-22ms latency on a very basic remote side side. I'm using Kotlin compiled down to java8..... (the ping servlet is in java8...)...
So.. does ~20ms seem about right? val fetchOptions =FetchOptions.Builder.doNotFollowRedirects() val instanceHostname =getInstanceHostname("default", "1", "$serverNum") val u = URL("http://$instanceHostname/ping") val req = HTTPRequest(u, HTTPMethod.GET, fetchOptions) val timer = Stopwatch.createStarted() val fetch = urlFetchService.fetch(req) val rc = fetch.responseCode timer.stop() and then this in the /ping servlet protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter writer = response.getWriter(); writer.println("Hello there from the backend"); writer.flush(); } -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f4f5bbd0-8f71-4a64-9111-015b7bc6c36d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.