These are chat archives for arenanet/api-cdi

21st
Feb 2018
Archomeda
@Archomeda
Feb 21 2018 00:00
heh
(the true/false is whether the results are localized)
Archomeda
@Archomeda
Feb 21 2018 00:00
oh
1,740    js sts one game gw2 exchange getrate failure
6,676    js sts one game gw2 exchange getrate success
...looks like there might be a bug in the error logic
and maybe on error it's re-caching the old value or something
Archomeda
@Archomeda
Feb 21 2018 00:01
i don't even remotely know what is going wrong with exchange; normally i have at least a vague idea of what can possibly go wrong, but... at this point i'm just guessing and hoping to bring you on ideas or something
honestly we're roughly in the same boat
Silveress
@Silveress
Feb 21 2018 00:02
actually out of curiousity what is the api running on?
like hardware or software?
Silveress
@Silveress
Feb 21 2018 00:02
software
our own version of nodejs that was written before nodejs was a thing
Silveress
@Silveress
Feb 21 2018 00:03
I am not sure If I am impressed or stupidified
Archomeda
@Archomeda
Feb 21 2018 00:03
regarding the error rate, are you still certain that the exchange gets the correct values from the game every time it's requested?
outside of caching
i mean, if it gets the wrong value from the game, and it caches that... well
there's a backend service that handles the exchange -- both the game and the API send requests to that backend service
it's possible that the backend service is what's busted, but I doubt that code's changed in a long while
(welcome to the happy fun times of microservices)
Silveress
@Silveress
Feb 21 2018 00:05
heh
Archomeda
@Archomeda
Feb 21 2018 00:05
hmm, sharing the same backend... well there goes that idea; unless someone tripped on a cable or something
that's unique to the api service
if the requests of both the game and the api are the same, it would be really weird if only the api gets the wrong values
agreed
I think the API is getting an error code back and then re-caching the old value
I feel like I might have made it try to not cascade failures or something
hmm doesn't look like it extends the cache lifetime on error refetching
Silveress
@Silveress
Feb 21 2018 00:09
(apoligies for the cross convo) but the hardware the api runs on how powerful is it?
used to run on a pile of kind-of-old HP blades
it's running on AWS now; not sure what instance size
looks like 12 instances for the javascript frontend
Silveress
@Silveress
Feb 21 2018 00:11
nice
probably 10ish for the C++ backend
and then it uses a whole bunch of shared services
Archomeda
@Archomeda
Feb 21 2018 00:11

a pile of kind-of-old HP blades

:joy:

yeah our support contract ran out
and it was apparently getting hard to get replacement parts
it was a lot of fun
Archomeda
@Archomeda
Feb 21 2018 00:12
how many of gw2's services are on AWS nowadays?
everything
Archomeda
@Archomeda
Feb 21 2018 00:13
impressive, must have been a fun time for whoever was in charge of that
Silveress
@Silveress
Feb 21 2018 00:14
so you dont really have to worry (too much) about surges of requests?
I presume those would occur on expansion and LS releases
i'm actually totally out of touch with ops
i don't know what magic they do, but I presume we've got a pretty hefty baseline for handling surges
Archomeda
@Archomeda
Feb 21 2018 00:18
one thing i've wondered though, we have assetcdns, but where is the origincdn located?
oh... apparently that's also migrated to aws
yeah
I don't even think it's publicly accessible anymore
Silveress
@Silveress
Feb 21 2018 00:20
oh wait, you are an anet dev too arch?
Archomeda
@Archomeda
Feb 21 2018 00:20
no lol
i just did a whois on the domain :P
Silveress
@Silveress
Feb 21 2018 00:21
curse you for tricking me! turns arch into a "horse"
Archomeda
@Archomeda
Feb 21 2018 00:22
i've just been digging around a lot in how gw2 works ;) still don't know everything though, heh
Silveress
@Silveress
Feb 21 2018 00:23
oh, wait ,y script shouldnt have run through everything yet, something is wrong, brb
ah phew it didnt, just me being decaffinated
Archomeda
@Archomeda
Feb 21 2018 00:24
like right now i'm looking into how gw2 renders stuff on the screen for a gw2 related project of mine, but... i poked chris and i'm still waiting on a response to see if it's alright to continue this project
but omg low level directx9 is annoying
and lol, get some coffee then :P
Silveress
@Silveress
Feb 21 2018 00:27
00:27
Archomeda
@Archomeda
Feb 21 2018 00:33
so? :D
Silveress
@Silveress
Feb 21 2018 00:34
heh
who get coffee when you have a caffiene IV
anyways nearly done for the eve, script is working, cron jobs are working well service has a small cache working well
smiley
@codemasher
Feb 21 2018 00:36
@lye i heard you like vintage hardware
image.png
Silveress
@Silveress
Feb 21 2018 00:37
what did intergraph do? name riungs a bell
smiley
@codemasher
Feb 21 2018 00:37
uhh, like badass workstations
Silveress
@Silveress
Feb 21 2018 00:37
ah
hmmmm may need to rework my cache a bit
smiley
@codemasher
Feb 21 2018 00:39
image.png
that's quite a rarity
a dual pentium pro 200 :D
Silveress
@Silveress
Feb 21 2018 00:40
never liked paralell cables
smiley
@codemasher
Feb 21 2018 00:41
i despised them until SATA cables were invented
what a mess
Silveress
@Silveress
Feb 21 2018 00:41
I grew up on castoff computers
even now in my room I have the remains of about7 computers from the last 20 years
old habits die hardd
smiley
@codemasher
Feb 21 2018 00:42
indeed. currently sorting through my hardware collection
so that two intergraphs run fine (a ZX10 aand the pictured TD-310), an intel OR840 decided it's not yet dead...
Silveress
@Silveress
Feb 21 2018 00:44
my pride and joy is an old dell c521, amd athlon 64x2, old gpu, but can actually run gw2
up until 3 years ago it was my daily driver
smiley
@codemasher
Feb 21 2018 00:46
haha, kinda the same here. i had an old FSC p4 workstation with 2GB RAMBUS unil not so long ago
Silveress
@Silveress
Feb 21 2018 00:46
and actually runs better on win 10 than xp
smiley
@codemasher
Feb 21 2018 00:47
i found my love for win2000 again, which i installed on the ppro - simpler, better times
Silveress
@Silveress
Feb 21 2018 00:47
heh
smiley
@codemasher
Feb 21 2018 00:47
no really, now looking back, the era from 2k to 7 was peak windows
Silveress
@Silveress
Feb 21 2018 00:48
7 was just so versitile
win 95 is my snd fav
smiley
@codemasher
Feb 21 2018 00:48
i disliked the explorer over the vista one, along with some other UI things, but yes, it was close to perfect
oh god no, not 95 :D
Silveress
@Silveress
Feb 21 2018 00:48
heh
I really liked it
now we have OSaaS
smiley
@codemasher
Feb 21 2018 00:49
i cringed when i got a new milling center at my workplace, which ran on 95 embedded
Silveress
@Silveress
Feb 21 2018 00:49
production?
smiley
@codemasher
Feb 21 2018 00:49
i used to work in production
(tooling)
Silveress
@Silveress
Feb 21 2018 00:50
heh
sometimes its best to just use em and purely isolate em from teh network
smiley
@codemasher
Feb 21 2018 00:51
b-but it relied on the network to get the NC programs from the CAD/CAM workplace <.<
Silveress
@Silveress
Feb 21 2018 00:51
uncle was sysadmin/original_devops in a factory near enough to where I am now, his first project was to computerise the cam
........
smiley
@codemasher
Feb 21 2018 00:51
hahaha
hahahhaaa
i guess he had fun
Silveress
@Silveress
Feb 21 2018 00:52
this was near 40 years ago now
smiley
@codemasher
Feb 21 2018 00:52
oh lord
Silveress
@Silveress
Feb 21 2018 00:52
it was using a physical template as a key
granted it works but it isnt opiomal, dosent easially allow changes
another machine in the factory used punch cards
not sure how that worked
smiley
@codemasher
Feb 21 2018 00:53
oh i remember one of these
not punch cards but paper strips
i'm so glad i started my apprenticeship in the 90's when we already had "usable" CNC machines :D
Silveress
@Silveress
Feb 21 2018 00:55
what ye working in now?
smiley
@codemasher
Feb 21 2018 00:56
in a totally different trade
transportation
Silveress
@Silveress
Feb 21 2018 00:57
what segment of transport?
smiley
@codemasher
Feb 21 2018 00:57
automotive
Silveress
@Silveress
Feb 21 2018 00:57
.....
smiley
@codemasher
Feb 21 2018 00:58
well, we germans live from selling cars, so...
Silveress
@Silveress
Feb 21 2018 00:58
design, production, automation, driving, scrappage.....
tis a long list
smiley
@codemasher
Feb 21 2018 01:00
anyway, i gotta go to bed. @lye if you're interested, i have a spare one of these pentium pro ones ;)
Silveress
@Silveress
Feb 21 2018 01:01
heh night
smiley
@codemasher
Feb 21 2018 01:01
(may run freebsd!)
n8
:wave:
Silveress
@Silveress
Feb 21 2018 02:20
danm dealing with caches is a pita
that's how i picture every engineer on bug hunt :smile:
smiley
@codemasher
Feb 21 2018 11:19
who of them is the engineer tho?
Silveress
@Silveress
Feb 21 2018 17:16
it kinda looks liuke they are chasing a chicken
Silveress
@Silveress
Feb 21 2018 18:18
what is the request limit again?
darthmaim
@darthmaim
Feb 21 2018 18:18
600/minute
Silveress
@Silveress
Feb 21 2018 18:19
heh me trying to do the lazy way
just sent ~27,000 requyests
came up against issues
TLDR: I am an idiot at times
check the X-Rate-Limit-Something headers, it's in there
windwarrior
@windwarrior
Feb 21 2018 19:12
someone a clue how to debug layout issues on iOS? My dev tracker renders badly on iOS, but when I press the builtin tab switcher the layout magically fixes itself
Broken prior to tabswitching: Imgur, after switching tabs and back: Imgur
windwarrior
@windwarrior
Feb 21 2018 19:18
it feels like a browser bug
Silveress
@Silveress
Feb 21 2018 19:57
love teh -Something
ChieftainAlex
@ChieftainAlex
Feb 21 2018 22:14
anyone else find metabattle loads the armory data very slowly?
image.png
(46s)