0:18 AM
outsidecontext has quit
0:20 AM
outsidecontext joined the channel
0:29 AM
Lotheric has quit
0:38 AM
Lotheric joined the channel
2:44 AM
yef has quit
2:46 AM
yef joined the channel
2:46 AM
yef has quit
2:46 AM
yef joined the channel
2:49 AM
yef has quit
2:50 AM
yef joined the channel
2:50 AM
yef has quit
2:50 AM
yef joined the channel
3:15 AM
yef has quit
3:16 AM
yef joined the channel
3:16 AM
yef has quit
3:16 AM
yef joined the channel
3:17 AM
adhi001 joined the channel
3:20 AM
radioman
3:21 AM
yef has quit
3:22 AM
yef joined the channel
3:22 AM
yef has quit
3:22 AM
yef joined the channel
3:37 AM
davic joined the channel
3:52 AM
astroanax joined the channel
3:58 AM
Bharatkalluri joined the channel
4:03 AM
Bharatkalluri has quit
4:07 AM
yef has quit
4:08 AM
yef joined the channel
4:08 AM
yef has quit
4:08 AM
yef joined the channel
4:09 AM
Bharatkalluri joined the channel
4:49 AM
Bharatkalluri has quit
4:55 AM
Bharatkalluri joined the channel
4:56 AM
Bharatkalluri has quit
4:57 AM
MRiddickW joined the channel
5:13 AM
rdswift has quit
5:21 AM
Bharatkalluri joined the channel
5:23 AM
Bharatkalluri has quit
5:26 AM
rdswift joined the channel
5:28 AM
Bharatkalluri joined the channel
5:28 AM
Bharatkalluri has quit
5:39 AM
Bharatkalluri joined the channel
5:43 AM
sumedh joined the channel
5:43 AM
Bharatkalluri has quit
5:58 AM
yef has quit
6:00 AM
yef joined the channel
6:00 AM
yef has quit
6:00 AM
yef joined the channel
6:04 AM
BrainzGit
6:35 AM
6:48 AM
6:55 AM
7:40 AM
alekhya joined the channel
7:47 AM
yef has quit
7:51 AM
yef joined the channel
7:51 AM
yef has quit
7:51 AM
yef joined the channel
7:51 AM
alekhya has quit
8:00 AM
ruaok
radioman: yep, we're in the process of fixing it. thanks for pointing it out.
8:03 AM
BharatKalluri joined the channel
8:10 AM
bharatkalluri_ joined the channel
8:10 AM
BharatKalluri has quit
8:10 AM
bharatkalluri_ is now known as bharatkalluri
8:21 AM
_lucifer
alastairp, now that we have updated sentry, i wanted to see sentry performance monitoring in action
https://docs.sentry.io/product/performance/ . I was thinking to put it in CB and if we find it useful we could add it to other services as well.
8:27 AM
ruaok, Mr_Monkey, iliekcomputers: with yesterday's upgrade, both LB prod and beta now share the same sentry project. The `listenbrainz` one. The errors will record whether they occured on prod or beta. There is also an environments label at the top right of the project issues page to filter errors based on environments.
8:29 AM
This configuration is also in place for lb test. next time, lb test is updated with changes from master, it will also start using the `listenbrainz` project in sentry.
8:30 AM
sumedh has quit
8:31 AM
ruaok
_lucifer: thx
8:33 AM
_lucifer
it was alastairp's idea :)
8:34 AM
!m alastairp
8:34 AM
BrainzBot
You're doing good work, alastairp!
8:34 AM
sumedh joined the channel
8:37 AM
alastairp
who me?
8:38 AM
_lucifer: yeah, I 'm familiar with the tracing stuff. will it report correctly to sentry 9? or do we have to upgrade?
8:39 AM
we should trace only a small portion of requests for now - 1-10%, just to ensure that it doesn't overload us with data
8:39 AM
_lucifer
alastairp: i think it should will need to test it. yes i agree.
8:40 AM
i was too thinking 5-10%.
8:44 AM
8:45 AM
alastairp
_lucifer: sentry_dsn is private (current value, unchanged). sentry/dsn is public (new value)
8:52 AM
_lucifer
alastairp: yes thats what i mean. sentry/dsn for consul/MeB/config.prod.json is using private dsn
8:53 AM
ruaok
alastairp: Mr_Monkey Freso yvanzo zas: invoices please!
8:58 AM
d4rkie joined the channel
9:00 AM
BrainzGit has quit
9:01 AM
BrainzGit joined the channel
9:02 AM
alastairp
ruaok: end of month, end of quarter, so much paperwork...
9:05 AM
ruaok
yep. let me know when you're ready for that accounting cross training!
9:05 AM
alastairp
_lucifer: what's on the table today? improvements to cache api, LB rate limiting api switchover, startup scripts?
9:05 AM
_lucifer
yes!
9:05 AM
alastairp
I just pay a guy to do my accounts, it's amazing
9:05 AM
_lucifer
and another LB Pr if we can slip it in
9:06 AM
ruaok
if we did that with MeB, we'd be paying a lot more than if I do it. lol.
9:06 AM
alastairp
yeah, I bet
9:06 AM
ruaok
#replaceaccountantswithscripts
9:06 AM
alastairp
9:06 AM
_lucifer
we also need to update MeB.
9:06 AM
ruaok
alastairp: you do not own your own company with them.
9:06 AM
alastairp
a friend of mine has xolo to help him run an estonia e-business, but they have this "we do all of your autonomo stuff" for spain too
9:06 AM
ruaok
you are legally entering into a joint venture with xolo when you sign up with them.
9:07 AM
alastairp
yeah, I think he knew that
9:07 AM
the spanish one is expensive though - 5% of all of your incomings!
9:07 AM
ruaok
and this is a corporation. so, if they want to fuck you, its REALLY going to hurt.
9:07 AM
> the spanish one is expensive though - 5% of all of your incomings!
9:07 AM
just dont do business in spain. period.
9:07 AM
alastairp
well, that's a xolo fee
9:07 AM
but in general, agreed :)
9:14 AM
_lucifer
alastairp, i am updating MeB PR to set a release. in the meantime, do you want to review CB cache PR?
9:14 AM
alastairp
yes, will do
9:15 AM
_lucifer
9:34 AM
alekhya joined the channel
9:37 AM
MeB PR updated.
9:55 AM
alastairp
_lucifer: great, I'm still looking at CB
9:55 AM
how many changes are needed to add the expiry time to all downstream apps?
9:56 AM
_lucifer
none i think.
9:56 AM
alastairp
ah, great
9:56 AM
_lucifer
all downstream apps set expiry time and there's a BU pr to set the default to a non-zero value
9:57 AM
alastairp
ok
9:57 AM
while we're working on this, I saw the function method:
9:57 AM
def set_many(mapping, time=None, namespace=None, encode=True):
9:57 AM
do we like `time` as a name? I wonder if it'd be better to call it `expirein`
9:58 AM
_lucifer
expirein would be more clear for sure.
9:59 AM
alekhya has quit
9:59 AM
9:59 AM
alastairp
cool
9:59 AM
also, while we're there, there are bunch of comments that don't make sense
9:59 AM
_lucifer
we'll need to update downstream apps as well
9:59 AM
alastairp
# Note that both key and value are encoded before insertion.
9:59 AM
not true, key is no longer encoded
10:00 AM
# TODO: Fix return value
10:00 AM
_lucifer
i might have removed that in the relevant PR
10:00 AM
alastairp
this one looks like it's fine too
10:00 AM
oh? maybe I'm out of date. ok, let's not worry about that and look at them once we get everything merged
10:00 AM
_lucifer
let me take a look at the open ones, otherwise i'll update this
10:00 AM
yeah let's do that
10:03 AM
Darkloke joined the channel
10:04 AM
v6lur joined the channel
10:10 AM
alastairp, which should we use `expire_in` or `expirein`? i prefer the first but elsewhere in the file we omit `_`
10:11 AM
alastairp
I don't mind too much either way. are you referring to the example of expireat? We also have db_number and ns_versions_loc in init
10:11 AM
I don't mind either way. If you want to make everything have a _ then that's fine
10:12 AM
_lucifer
👍
10:12 AM
alastairp
from a selfish point of view, I feel that expirein is slightly easier to type
10:13 AM
alekhya joined the channel
10:14 AM
_lucifer
fair point. redis methods also seem to be named without `_`. `expirein` it is then.
10:16 AM
So today we'll be tackling the 2 hardest problems in software: naming things, cache invalidation and off by one errors?
10:18 AM
alastairp
🤣
10:20 AM
MRiddickW has quit
10:21 AM
_lucifer
10:23 AM
v6lur has quit
10:24 AM
reosarevok
!recall oh no.
10:24 AM
BrainzBot
10:24 AM
v6lur joined the channel