Skip to content

Instantly share code, notes, and snippets.

Session
path: /v2/venues/explore
query: Wade Strauss
venuePhotos: 1
reasonsDetail: 1
locale: en
v: 20131011
oauth_token: QEJ4AQPTMMNB413HGNZ5YDMJSHTOHZHMLZCAQCCLXIX41OMP
returnCode: 500
near: 8682-3 Villa La Jolla, Julian, CA
@benlee
benlee / gist:6673884
Created September 23, 2013 17:16
ezap5 threadz
{
threads: {
2: {
priority: 10,
state: "WAITING",
daemon: true,
thread: "Reference Handler",
stack: [
"java.lang.Object.$$YJP$$wait(Native Method)",
"java.lang.Object.wait(Object.java)",
@benlee
benlee / gist:6673877
Created September 23, 2013 17:15
ezap5 querz
Request has taken 216ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 226ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 299ms so far
{ "lang" : "tr", "ll" : { "lat" : 40.859444, "lng" : 39.99913 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 92ms so far
{ "ll" : { "lat" : 37.9279383, "lng" : 13.7853926 }, "responseIncludes" : [ 1 ] }
Request has taken 346ms so far
{ "ll" : { "lat" : -23.664717004602835, "lng" : -46.706711133283285 }, "woeRestrict" : [ 22, 7 ], "responseIncludes" : [ 1 ] }
@benlee
benlee / gist:6671929
Created September 23, 2013 15:12
ezep5 threadz monday
{
threads: {
2: {
priority: 10,
state: "WAITING",
daemon: true,
thread: "Reference Handler",
stack: [
"java.lang.Object.$$YJP$$wait(Native Method)",
"java.lang.Object.wait(Object.java)",
@benlee
benlee / gist:6671922
Created September 23, 2013 15:12
ezep5 queryz monday
Request has taken 94ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 212ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 368ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 504ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 242ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
@benlee
benlee / gist:6664298
Created September 22, 2013 22:01
ezep5 queryz
Request has taken 155ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 205ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 265ms so far
{ "ll" : { "lat" : 55.726617, "lng" : 37.252765 }, "woeRestrict" : [ 7, 12 ] }
Request has taken 182ms so far
{ "lang" : "en", "ll" : { "lat" : 40.72438048356713, "lng" : -73.9974045753479 }, "woeRestrict" : [ 7, 22 ], "radius" : 10, "responseIncludes" : [ 1, 6 ] }
Request has taken 452ms so far
{ "ll" : { "lat" : 40.958141, "lng" : 29.085659 }, "woeRestrict" : [ 7, 12 ] }
@benlee
benlee / gist:6664295
Created September 22, 2013 22:01
ezep5 threadz
{
threads: {
2: {
priority: 10,
state: "WAITING",
daemon: true,
thread: "Reference Handler",
stack: [
"java.lang.Object.$$YJP$$wait(Native Method)",
"java.lang.Object.wait(Object.java)",
@benlee
benlee / gist:6664281
Created September 22, 2013 21:59
queryz
-----------------------------------------
SLOW QUERIES
Query took 2339 ms -- started at Sat Jan 10 02:42:15 UTC 1970, ended at Sat Jan 10 02:42:18 UTC 1970
{ "lang" : "en", "ll" : { "lat" : 32.892737, "lng" : -96.900449 }, "woeRestrict" : [ 7, 22 ], "radius" : 39439, "responseIncludes" : [ 1, 6 ] }
Query took 1153 ms -- started at Sat Jan 10 02:36:28 UTC 1970, ended at Sat Jan 10 02:36:30 UTC 1970
{ "lang" : "en", "ll" : { "lat" : 33.035857, "lng" : -96.688557 }, "woeRestrict" : [ 7, 22 ], "radius" : 29376, "responseIncludes" : [ 1, 6 ] }
Query took 1159 ms -- started at Sat Jan 10 01:36:32 UTC 1970, ended at Sat Jan 10 01:36:34 UTC 1970
{ "lang" : "en", "ll" : { "lat" : 36.136517, "lng" : -95.911558 }, "woeRestrict" : [ 7, 22 ], "radius" : 22814, "responseIncludes" : [ 1, 6 ] }
Query took 1187 ms -- started at Sat Jan 10 01:28:35 UTC 1970, ended at Sat Jan 10 01:28:37 UTC 1970
@benlee
benlee / gist:6657586
Created September 22, 2013 07:25
sick geocoder thread dump
{
threads: {
2: {
priority: 10,
state: "WAITING",
daemon: true,
thread: "Reference Handler",
stack: [
"java.lang.Object.$$YJP$$wait(Native Method)",
"java.lang.Object.wait(Object.java)",
@benlee
benlee / gist:6552601
Created September 13, 2013 16:03
slow tiplists query
2674166486 [qtp300302154-45675] INFO org.apache.solr.core.SolrCore – [primary_core] webapp=/solr path=/select/ params={bq=follower_user_ids:("1868764"+OR+"989827"+OR+"17647896"+OR+"742542"+OR+"1769287"+OR+"268135"+OR+"95423"+OR+"300441"+OR+"3212130"+OR+"12703379"+OR+"3343327"+OR+"13693626"+OR+"12689743"+OR+"2536922"+OR+"46452980"+OR+"1675213"+OR+"843848"+OR+"45840869"+OR+"753044"+OR+"7495649"+OR+"4584204"+OR+"3382674"+OR+"15233909"+OR+"35279743"+OR+"12140741"+OR+"11215807"+OR+"31959667"+OR+"53130404"+OR+"13499836"+OR+"10815117"+OR+"27079934"+OR+"24193774"+OR+"43955324"+OR+"14924934"+OR+"8842362"+OR+"6674691"+OR+"24786468"+OR+"29143453"+OR+"34817788")^25.0&start=0&q=geo_s2_cell_ids:("14B0A4B000000000"+OR+"14B0BA4000000000"+OR+"14B0BAC000000000"+OR+"14B0BB4000000000"+OR+"14B0BB9000000000"+OR+"14B0BBB000000000"+OR+"14B0BBCC00000000")&bf=sum(recip(follower_count,1,-9900,99),100)&bf=photo_ratio^10.0&wt=json&fq=userid:("1868764"+OR+"989827"+OR+"17647896"+OR+"742542"+OR+"1769287"+OR+"268135"+OR+"95423"+OR+"300441"