Search found 11 matches

by JAMITIN
Fri Dec 23, 2011 11:52 pm
Forum: Completed Requests
Topic: Check Content directory for new files while running
Replies: 10
Views: 17798

Re: Check Content directory for new files while running

!autodj-reload now only takes 4 minutes! This is definitely more than acceptable for my odd case. (And enables me to allow new files without bringing it down) Also of note: mysqld has 20-40% cpu load (on a 2core 2GHz VPS xeon) during this time.
by JAMITIN
Fri Dec 23, 2011 3:43 pm
Forum: Completed Requests
Topic: Check Content directory for new files while running
Replies: 10
Views: 17798

Re: Check Content directory for new files while running

Alright, here are the benchmarks. With queue_mysql and nfs, after wiping ircbot.db and the IRCBot mysql table, file checking for 31827 files (with metadata) takes 3 hours 16 minutes. It's about the same as if it checked locally with queue_mysql, while it's faster (locally and nfs) with queue_memory....
by JAMITIN
Fri Dec 16, 2011 9:46 am
Forum: Completed Requests
Topic: Check Content directory for new files while running
Replies: 10
Views: 17798

Re: Check Content directory for new files while running

It depends, on ircbot5, on a first load, it's 5 minutes every 1k files. Then I can do !autodj-reload and it'll be less than a minute total. Over the summer, it was more like 45 minutes every startup (for 40k files) on ircbot4 thanks to mysql queue. I'll be able to post a more coherent benchmark in a...
by JAMITIN
Fri Dec 16, 2011 8:38 am
Forum: Completed Requests
Topic: Check Content directory for new files while running
Replies: 10
Views: 17798

Re: Check Content directory for new files while running

Ah, good to know about the scheduler trick. I just tried running !autodj-reload a few times, I didn't realize it was a coincidence that it was disconnecting before. D'oh. I'm running a few thousand files on a with Content pointing to a 20mbit nfs share, so yeah. The reload in ircbot5 is fast nonethe...
by JAMITIN
Fri Dec 16, 2011 8:30 am
Forum: Completed Requests
Topic: AutoDJ Voice message "Current song requested by" before playing a request
Replies: 4
Views: 17627

Re: AutoDJ Voice message

Ah... it does work, even with a ranged value. Nevermind then, my mistake. :roll: Awesome feature!
by JAMITIN
Fri Dec 16, 2011 6:15 am
Forum: Completed Requests
Topic: Check Content directory for new files while running
Replies: 10
Views: 17798

Check Content directory for new files while running

<t>Having a way to check just new files (periodically or by command), as opposed to reloading the entire directory would be useful if somebody wants to include a file uploader on their site for users to upload (straight to the content directory).<br/> <br/> autodj-reload causes the stream to disconn...
by JAMITIN
Fri Dec 16, 2011 2:13 am
Forum: Completed Requests
Topic: AutoDJ Voice message "Current song requested by" before playing a request
Replies: 4
Views: 17627

AutoDJ Voice message "Current song requested by" before playing a request

<r>Technically already possible with EnableVoice 1 and<br/> ADJVoice_0=Current song requested by %request<br/> , however it would play when even when a song isn't requested from IRC and it wouldn't allow the use of voice messages in a rotation.<br/> <br/> Not really a huge thing, I thought it'd be a...
by JAMITIN
Thu Dec 15, 2011 11:24 pm
Forum: Completed Requests
Topic: Additions to WebRequest v2
Replies: 2
Views: 8398

Re: Additions to WebRequest v2

If you modify the php, you can have it display any number of most requested songs (ascending), thus mitigating the need to search by most popular. As for the second one, I second this. I would like a page that lists the highest rated songs, instead of just coming across high rated songs by chance. (...