Fork me on GitHub
#clojure-uk
<
2020-07-13
>
dharrigan06:07:47

Good Morning!

djm06:07:11

👋

dharrigan07:07:48

Why, since the Microsoft purchase of Github, has it been sooooo flakey. It's unavailable again

dharrigan07:07:58

Of course correlation != causation...just saying

Jakob Durstberger07:07:03

Happy Monday 🙂

dharrigan09:07:07

I discovered an application today, in our raft of deployments that wasn’t commiting open sessions to a database. It has 43 million rows to commit….

rickmoynihan11:07:15

well good luck with that 🙂

dharrigan09:07:36

(this is a python application - not picking on a language, simply saying I didn’t write it 🙂 )

dharrigan09:07:49

and that number is growing by 25 a second

dharrigan09:07:28

it's been running for 4 weeks

Ben Hammond10:07:30

it's waiting for the right moment to commit?

dharrigan10:07:37

It is, it's been waiting for a POST to an endpoint to commit

dharrigan10:07:15

That's a POST to an endpoint that has nothing to do with why the 43+ million rows are being created

dharrigan10:07:29

basically, someone put some code in that did an audit of HTTP requests and saved that to a db.

dharrigan10:07:36

and it would only commit when a POST happened

dharrigan10:07:56

unforutnately, there is an endpoint, a GET endpoint that is being hammered at least 25 times a second that is also being audited.

dharrigan10:07:30

so until someone invokes the POST (to do something else, not related to the GET "entity"), the overall session won't commit.

dharrigan10:07:33

ouch indeed!

Ben Hammond10:07:38

is this running in AWS?

dharrigan10:07:46

indirectly. on a swarm on a aws ec2 instance

dharrigan11:07:15

Star Trek: Lower Decks

thomas13:07:20

Windows looks like shit out of the box.... the font rendering is horrible

minimal14:07:49

@thomas did you read that Tonksy blog on text and monitors?

thomas14:07:36

yes, but forgot about that... let me have a look and thank you for reminding me.

Conor15:07:49

His opinion is clearly good because he recommends the same monitor I already have

Conor15:07:12

True, unfortunately

Conor15:07:27

It is a nice monitor, though. I got it for £750 because of Black Friday

alexlynham15:07:18

I have a 32" 4k samsung that was 300 odd about 18 months ago

alexlynham15:07:50

and in my shared office a 160 quid 28" 4k screen which isn't as good but is at least damn cheap like