The --deployment flag makes sure that carton will only install modules and versions available in your snapshot, and won't fallback to query for CPAN Meta DB for missing modules.
so it looks like you need to add things to cpanfile; use carton install; copy the generated cpanfile.snapshot; do the install with carton install --deployment
ferbncode
alastairp: makes sense, thanks :D
samj1912 has quit
m0n0g0n joined the channel
to81 has quit
to81 joined the channel
hibiscuskazeneko has quit
agentsim joined the channel
agentsim has quit
alastairp: works the way you suggested. thanks :)
ferbncode goes add more modules to cpanfile :P
alastairp
excellent!
Gore|woerk joined the channel
to81 has quit
to81 joined the channel
to81 has quit
agentsim joined the channel
arbenina_ has quit
d4rkie has quit
D4RK-PH0ENiX joined the channel
github joined the channel
github
[listenbrainz-server] paramsingh opened pull request #186: Remove .kitchen.yml (master...kitchen) https://git.io/vH0bi
[listenbrainz-server] paramsingh opened pull request #187: LB-93: Migrate to Python 3 (master...2to3) https://git.io/vHEej
github has left the channel
padraic joined the channel
padraic
I'm new to the xml service and REST queries. Can anyone reccommend me something useful on linux, or even browser based, to test queries for the xml service on?
@alastairp I can construct a query string and download the file from the browser alright, it's more that I don't know how to do it with a script properly. Thanks, @Gentlecat, I'll take a look at that
github joined the channel
github
[metabrainz.org] gentlecat opened pull request #282: MEB-93: Add an API endpoint for serving MB JSON dumps (master...json-api) https://git.io/vHEJZ
Hi there, I was referred to here from #musicbrainz. Suffering from 503s in Picard when it does lookups. I understand that there has been some discussion on this - would it be possible to get an update?
I came by a few weeks ago with the same issue, and I was told that throttling had been eased. But I would expect throttling not to return 503 ;)
antgel: still suffering from spammers sucking up capacity and host of other inefficiencies in our setup.
Zas: fuck it. Order two more servers?
Mineo joined the channel
Zas: back to caching. Is this something​ we can do without engineering effort?
zas
ruaok: i don't know enough about current caching in mbs
bitmap: ?
ruaok
Would an http level cache help at all? We have gobs of ram spare...
zas
This is exactly what i think
ruaok
That might be so.ethi g you can do without a lot of help from bitmap and yvanzo , right?
Lo. So.ethi g. #covfefe for life!
zas
I'm about to leave for diner, but tomorrow morning (or later this evening if i'm motivated enough) i could evaluate number of unique queries to have an estimation of cacheability.
also it would require api changes (somehow) since we would support usual cache management feature, and there still the problem of cache invalidation
ruaok
There are plenty of requests to pages that are not really dynamic... E.g account creation.
arbenina_ joined the channel
Not having to render those might help.
zas
But since i don't know what exactly is cached or not... it would be great to have bitmap and yvanzo in this discussion, to see where we can improve things
ruaok
Not sure if catching the ws would be a good goal.
Since our web pages are so slow.... Cache those?
zas
I vote to use caches everywhere we can ;) plenty of ram / lack of cpu
ruaok
Still, we should cache for maximum impact first.
zas
Of course
But according to my first analysis, i get 200s on pages that didn't change at all between my queries
Where i would have expect a not modified (and therefore a client side caching)
we never really investigate this, but imho we don't rely enough on various cache possibilities, which lead to excessive traffic, and excessive cpu usage
on the website, and on the web service
lazka has quit
our entities are that much changing (in fact, our db is quite static if you look at number of changes vs number of entries)
But proper implementation will need to be done with a proper cache invalidation when entities are modified, i think that's the main issue
Is anyone around with a good experience of Varnish (or similar tools) ?
bbl
flamingspinach joined the channel
kepstin notes that for mbjs.kepstin.ca, he just runs a server side caching reverse proxy which unconditionally stores stuff for 12h :/
kepstin
(well, not unconditionally, it doesn't store 503 errors)
to81 has quit
to81 joined the channel
ruaok
kepstin: it can handle a few million requests per day, yes? We'd be happy to use it.
Lol
kepstin
heh, I honestly have no idea. it's just a single DO droplet, but it is behind cloudflare...
I'd probably run out of disk space for the cache, at least :)
ruaok
Tease.
kepstin
I guess what I'm saying is that not all applications actually need data that's guaranteed to be fresh, I wonder if there's a market for an api that might serve a bit older data, but has the rate limits eased
of course, our current ws design doesn't really suit that, since there's so many parameters available that tweak the results :/
CatQuest
a "stable.musicbrainz.org" ? wich is less rate limits but also older data?
hibiscuskazeneko has quit
to81 has quit
Sophist_UK
I have some experience with caching. Firstly there are several different types of cache other than web-cache. You can cache: SQL statements (to avoid the SQL server having to recalculate the access plan every time.) You can cache SQL search results. (I am assuming that moving .js / .css etc. onto content management platform is already done.
The trick is to cache the frequently accessed stuff - because that is where you will make savings - and not cache the vast majority which is accessed once a week or less frequently.
to81 joined the channel
arbenina_ has quit
And to know how to invalidate the cache when the underlying data changes.
Like kepstin I wonder how suitable MBS is for caching. I suspect it has an ultra-long tail.
ruaok
ultra long tail is my thought. which is why we need daily updated top-URL reports.
how are those coming, zas?
drsaunders has quit
github joined the channel
github
[picard-plugins] rdswift closed pull request #105: Standardized Album Artist Name(s) (1.0...1.0) https://git.io/vHRxW
github has left the channel
yvanzo
ruaok, zas: Only compiled templates are currently cached, not pages. Varnish would be a good fit, but it requires to purge cache from within MBS editing system, just like zas wrote.
ruaok
now the big question: what is better: 1) Add caching 2) move templates to react ?
yvanzo
both
drsaunders joined the channel
zas
Yes, i need to generate a daily page, but parser is working