This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gu.mobileaggregator.memcached | |
import java.util.concurrent.ConcurrentHashMap | |
import scala.collection.JavaConverters._ | |
import dispatch.Promise | |
import com.gu.common.Logging | |
import com.gu.mobileaggregator.management.MemcachedMetrics | |
class PromisesInProgress extends Logging { | |
val updates = new ConcurrentHashMap[String, Promise[Any]]().asScala |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object DynamicLookups extends JsonEndpoint with Logging { | |
def process(lookupKey: String, req: Req) = { | |
val conf = MobileAggregatorConfiguration.configuration | |
try { | |
boxJson(conf.getStringProperty(lookupKey).getOrElse("not found")) | |
} catch { | |
case e: Exception => boxJson(e.getMessage) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "Thread-195" com.gu.openplatform.contentapi.ApiError: Internal Server Error | |
at com.gu.openplatform.contentapi.Api$$anonfun$fetch$2.apply(Api.scala:184) | |
at com.gu.openplatform.contentapi.Api$$anonfun$fetch$2.apply(Api.scala:181) | |
at dispatch.Promise$$anon$5.dispatch$Promise$$anon$$other(promise.scala:97) | |
at dispatch.Promise$$anon$5$$anonfun$addListener$3.apply(promise.scala:99) | |
at dispatch.Promise$$anon$5$$anonfun$addListener$3.apply(promise.scala:99) | |
at dispatch.Promise$$anonfun$foreach$1.apply$mcV$sp(promise.scala:133) | |
at dispatch.Promise$$anonfun$foreach$1.apply(promise.scala:133) | |
at dispatch.Promise$$anonfun$foreach$1.apply(promise.scala:133) | |
at dispatch.package$$anon$1.run(package.scala:19) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IncompatibleClassChangeError: Class dispatch.Http$ does not implement the requested interface dispatch.Executor | |
at com.gu.mobileaggregator.dataproviders.discussion.AsyncDiscussionApiProvider$.apiCall(AsyncDiscussionApiProvider.scala:44) ~[classes/:na] | |
at com.gu.mobileaggregator.dataproviders.discussion.AsyncDiscussionApiProvider$.fetchLatestComments(AsyncDiscussionApiProvider.scala:57) ~[classes/:na] | |
at com.gu.mobileaggregator.dataproviders.ContentAggregator$$anonfun$asynchronouslyAddComments$1$$anonfun$apply$1.apply(ContentAggregator.scala:31) ~[classes/:na] | |
at com.gu.mobileaggregator.dataproviders.ContentAggregator$$anonfun$asynchronouslyAddComments$1.apply(ContentAggregator.scala:30) ~[classes/:na] | |
at com.gu.mobileaggregator.dataproviders.ContentAggregator$$anonfun$asynchronouslyAddComments$1.apply(ContentAggregator.scala:29) ~[classes/:na] | |
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library.jar:na] | |
at scala.collection.TraversableLike$$anonfu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2514 in 147.2s = 17.1/s Avg: 3837 Min: 43 Max: 33134 Err: 3 (0.12%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2643 in 278.4s = 9.5/s Avg: 9625 Min: 43 Max: 272439 Err: 17 (0.64%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 5157 in 327.3s = 15.8/s Avg: 6804 Min: 43 Max: 272439 Err: 20 (0.39%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2843 in 458.9s = 6.2/s Avg: 9016 Min: 45 Max: 388116 Err: 5 (0.18%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 8000 in 507.4s = 15.8/s Avg: 7590 Min: 43 Max: 388116 Err: 25 (0.31%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2803 in 553.2s = 5.1/s Avg: 9599 Min: 43 Max: 456925 Err: 2 (0.07%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 10803 in 687.2s = 15.7/s Avg: 8111 Min: 43 Max: 456925 Err: 27 (0.25%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2789 in 538.9s = 5.2/s Avg: 9273 Min: 42 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3855 java.lang.Object.wait(Native | |
2249 java.net.SocketInputStream.socketRead0(Native | |
722 net.liftweb.json.Meta$Memo.memoize(Meta.scala:195) | |
279 java.lang.String.valueOf(String.java:2826) | |
267 java.security.Provider.getService(Provider.java:663) | |
204 sun.misc.Unsafe.park(Native | |
183 org.joda.time.tz.ZoneInfoProvider.getZone(ZoneInfoProvider.java:136) | |
124 java.util.Arrays.copyOf(Arrays.java:2882) | |
95 sun.nio.ch.EPollArrayWrapper.epollWait(Native | |
88 scala.io.BufferedSource$$anonfun$iter$1$$anonfun$apply$mcI$sp$1.apply$mcI$sp(BufferedSource.scala:38) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 793 in 88.4s = 9.0/s Avg: 3968 Min: 46 Max: 31544 Err: 1 (0.13%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 1724 in 212.1s = 8.1/s Avg: 12491 Min: 44 Max: 99601 Err: 4 (0.23%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 2517 in 268.4s = 9.4/s Avg: 9806 Min: 44 Max: 99601 Err: 5 (0.20%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 434 in 248.5s = 1.7/s Avg: 23798 Min: 50 Max: 247577 Err: 1 (0.23%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 2951 in 334.6s = 8.8/s Avg: 11864 Min: 44 Max: 247577 Err: 6 (0.20%) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 1103 in 67.8s = 16.3/s Avg: 1919 Min: 45 Max: 9146 Err: 2 (0.18%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2950 in 187.3s = 15.7/s Avg: 7398 Min: 43 Max: 53550 Err: 11 (0.37%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 4053 in 247.5s = 16.4/s Avg: 5907 Min: 43 Max: 53550 Err: 13 (0.32%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 1017 in 274.8s = 3.7/s Avg: 10523 Min: 45 Max: 267393 Err: 6 (0.59%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 5070 in 324.7s = 15.6/s Avg: 6833 Min: 43 Max: 267393 Err: 19 (0.37%) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
937 ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:215) | |
238 ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:142) | |
179 net.liftweb.json.Meta$Memo.memoize(Meta.scala:195) | |
131 java.security.Provider.getService(Provider.java:663) | |
114 java.util.Currency.getInstance(Currency.java:174) | |
64 org.joda.time.tz.ZoneInfoProvider.getZone(ZoneInfoProvider.java:136) | |
23 org.joda.time.format.DateTimeFormat.createFormatterForPattern(DateTimeFormat.java:678) | |
10 sun.nio.ch.EPollSelectorImpl.wakeup(EPollSelectorImpl.java:173) | |
7 java.lang.Object.wait(Native | |
6 sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:74) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 2060 in 106.1s = 19.4/s Avg: 922 Min: 43 Max: 17734 Err: 5 (0.24%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 3807 in 192.1s = 19.8/s Avg: 947 Min: 43 Max: 24472 Err: 15 (0.39%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 5867 in 286.1s = 20.5/s Avg: 938 Min: 43 Max: 24472 Err: 20 (0.34%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com + 281 in 24.0s = 11.7/s Avg: 1114 Min: 43 Max: 19143 Err: 0 (0.00%) | |
ec2-54-228-75-169.eu-west-1.compute.amazonaws.com = 6148 in 306.0s = 20.1/s Avg: 946 Min: 43 Max: 24472 Err: 20 (0.33%) |