Post
Topic
Board Economics
Re: MyBitAlert - Alerts when there is a price change, almost done
by
nightminer
on 21/05/2013, 10:55:40 UTC
Guuuys!! I want to kick myself and wish I could squeeze out 10 extra hours a day to get this finished.

Look at what Feathercoin did today!

http://www.mybitalert.com/img/forum/MyBitAlertFTCGrowth.png

44.66% for one day isn't bad.

The good news is that I'm making progress. When you log in now you can start to set up your alerts

Create Alert Screen

http://www.mybitalert.com/img/forum/MyBitAlert-CreateAlert.png

Alerts Overview Screen

http://www.mybitalert.com/img/forum/MyBitAlert-AlertsPage.png

IMPORTANT NOTE: Actual alerts not going out yet

Guys like I mentioned before, I release features as I finish them. I do realize that the corner stone of this project are the actual alerts going to your email, sms, twitter, etc, etc. I am starting with the immediately, but it is not an easy task. It will take some time.

Sending emails to say 10 users is very simple and easy. You just slap together some code, loop through all the emails that you must send and you are done. It can take up to half a second to send an email or to hand of text to an SMS gateway. So 10 emails/SMSs will take about 5 seconds to complete. No problem.

However, if you have 1000 users who need to get an email/sms NOW, you've got a problem. The last guy in that list will get his email 500 seconds later (or 8 minutes and 20 seconds the be exact). That's no good.

I'll need some sort of mass parallel processing code to make this work. I have already figured out that part and want to run about 500 threads per "notification server". That way, with 1 notification server I can send out 1000 alerts in 1 second, with 2 servers 2000 alerts in a second, etc, etc. I will be able scale with the userbase and add new Notification Servers as needed. I never want to go higher than 3 seconds for all alerts to go out.

I now just have to code all this stuff. My rough estimation is about 3 days. In the meantime you can start to set up your alerts.

Also please let me know if you want to see other exchanges on the system, I'd be happy to add them for you.

Otherwise @ThatDGuy - all great suggestions. I will respond to them shortly.