22 points · by zaidf · 17y ago · 43 comments
The site can be seen at http://www.classhunt.com
Full story:
I launched ClassHunt about a month ago. The campus newspaper covered and ~500 people are using it so far. Many are totally in love with it("ClassHunt is AWESOME! I give you serious props for creating this site. I've already told a couple of friends about it and one of them has had the same luck that I have. You're going to prevent a lot of headaches with this system! :)").
The technology behind is in python. It queries the uni's server for every department on campus and parses the course data. At first, I was querying every minute, so ~130 requests/minute. Now I am querying every 15minutes.
Few days ago I received an email that my server IP had been blocked. The lady from IT dept was very nice and willing to work with me to find a resolution. For now, we agreed to increase the interval to 15 minutes. Still they could not unblock because they were still having issues with the load and people higher up won't approve.
Having been a student here for a few years, what happens is towards the end and beginning of each semester, our course registration system starts crawling. This is because too many folks are checking grades and signing up for classes. It lasts 3-4 days. This is what seems to have happened this week as our school year came to an end. It seems like they are blaming my app for their years of issue with system overload.
I am confident it was not my app causing the problems. Nothing is bigger proof than the Chancellor's staff writing to me that they are still having problems even after blocking me.
Still, I don't want to get in a verbal war with them and rather just find a solution that works.
How should I respond to this letter from the school's CIO/Chancellor for IT?
So, what do they want? 1. Reduced load and a more stable class registration system
What do you want? 1. For ClassHunt to be used across campus (and not get banned!)
What can you do to satisfy both these goals? One idea would be to pitch ClassHunt as a load-reducing service. By acting as a proxy to the class registration system you can smooth out the load. Have them actively promote ClassHunt on the class registration page and explain to them how more people using ClassHunt will result is less load for them, not more.
It will also make the situation more flexible because they only have to deal with one person (you) rather than relying on the collective behavior of the whole of campus.
Anyhow, just a thought.
Maybe I'm just a pessimist, but when I hear about something like this I assume they just don't like the service for one reason or another, and try to use a [usually poor] technical excuse for shutting it down.
However, I have found that it is quite easy to convince a university administration to listen to your concerns when you engage them positively. I would ask to schedule a meeting with the Chancellor (or someone who would have the power to overturn the decision) and give a positive, optimistic presentation on how the service could reduce the load on the registration system and how you would be willing to work with them to ensure that it will have minimal impact on the service. You might be surprised how seriously they will take your proposal.
That's the thing: I don't believe that my app is slowing their system down.
(1) For the first three weeks, my app caused no problem (2) This week when everyone was rushing to check grades, the entire system was slow...only this time, they have someone(my site) to blame. Of course, like I said, even after they blocked me they admitted they were having issues--like they have every year.
Well, as long the number of requests he makes to their system (130 per 15 minutes) is fewer than the number of requests he saves them.
I'm not saying this is a bad idea. Just that zaidf should tread carefully and not get into an agreement like this unless he's willing to put the work in to go all the way.
Better to dive in now and have a solution for them rather than jump in with the hope that every school will be willing to put up with you.
At the same time, the contacts I spoke with at the IT dept. few days ago could not stop praising the website.
But reading the letter, their only concrete objection is the fact that you're using "excessive resources." That's their pain point, so make them see that your service helps that problem, not makes it worse.
Speaking from direct experience, I wouldn't underestimate the amount of bureaucracy internally that would come down on this like a ton of bricks. Like others have mentioned, his best bet is to get someone to champion his cause internally. It doesn't even necessarily have to be someone in their ITS department - it could be a faculty member, or even someone in administration.
Hell, you might be able to get a job out of this.
I'd imagine a similar system could work for you. It's a public database so you could write something that ran on a client machine (so it doesn't compromise their security) and since it's internal it wouldn't eat into their bandwidth (which is the only realistic problem I could see your program causing, one query every 15 minutes is not going to take that much processor power). Have it send you short text messages when there's a change and you're set.
The reality is, they can't really make you take it down, but they can take steps to make your life miserable. Without any reliable API it will be difficult to scale such an app.
Good work though.
Wow, that's not nice.
It obviously creates a visible imprint, but it shouldn't be a show-stopper for the school.
From what I've experienced and from friends who went here five years ago, their system goes down/has issues every year during end of semester. This year they seem to have a scapegoat to blame it all on...except it doesn't help to admit that they are still having issues even after blocking me.
Or, put another way, "queries per second" is a terrible metric for "how much load I'm subjecting their system to". :)
I can give you one bound you might want to instrument up to check their contention about load: How quickly they answer. If they answer in 1ms (minus ping time), then there's a sharp bound on how much of their resources you can be taking up. (I'm going to assume bandwidth isn't much of a concern here, based on the numbers.) If you see some queries taking longer, perhaps even into the seconds, then they may have a point. It could just be general load, or it could be your thing specifically.
Your best bet is to stay under the radar and let your app build momentum with your users. Don't fight IT, and don't beg permission.
From your posts, it seems that the University's IT people like your app, and there's really no technical problem anymore. So randomize your IP number, and if anyone wants an explanation you can tell them that you have optimized your system so that instead of directly requesting all their data, your application now behaves exactly like a real student accessing their site in a conventional way.
I think you have a useful idea here, and you should try to find a way to make it work. It sounds like your university's IT department thinks so too, but they have real limitations and good reason to ask you to cease operation because, unlike your service, theirs is required to be available.
It sounds like without the cooperation of that IT department, your app (at least at UNC) is going to be a big nothingburger. Do whatever you can to make them your partners in implementing this service rather than your adversaries. This could mean collecting data that explains how your service improves their service; helping them measure and upgrade their current system so the load is a non issue; integrating your code at a lower level (direct to DB); beta testing a parallel registration system that will eventually save them lots of money on licensing.
You have a difficult task with any solution. University policy may prohibit certain things, such as allowing a student or a student's software to directly access the real course registration data; or the timeline to have your app approved to run inside the security perimeter may be too long for you to bother trying. You may also want to check your school's invention rights policy before pursuing any tighter integration with their systems.
If this hiccup is not a showstopper for you, just keep building your product. You can work on displacing whatever is causing the problems at this IT department, but if that is too far afield from your core (proposed) business, maybe just move on and try deploying the app against other universities' registration systems.
When you are locked out, a vague message appears about "attempts exceeded." Not knowing what to do next, I went to the registration office. They quickly realized what had happened and threatened me with disciplinary action because automatically accessing the registration system violated their vague interpretation of the school conduct guidelines (I also received a free lecture about how 'spiders' are border line illegal).
After being further threatened with a "last day, last hour" registration timeslot until the sun burns out, I put on my best "I'm sorry" face and handed over a letter of apology and the 30 lines of code as they requested. They even had the courtesy to make snarky remarks about spending more time doing homework and less time trying to break their systems.
WWW::Mechanize -- so easy it's dangerous.
I can get all the classes by department, there are ~130 depts so ~130 page requests.