On Fri, Mar 1, 2013 at 9:16 AM, Petr Bena <benapetr(a)gmail.com> wrote:
I have not yet found a good and stable library for
JSON parsing in c#,
should you know some let me know :)
Take a look at
http://www.json.org/. They have a list of implementations
for different languages.
However, I disagree with "I feel like such a project would take an
insane amount of resources to develop." If we
wouldn't make it
insanely complicated, it won't take insane amount of time ;). The
cache daemon could be memcached which is already written and stable.
Listener is a simple daemon that just listen in UDP, parse the data
from mediawiki and store them in memcached in some universal format,
and dispatcher is just process that takes the data from cache, convert
them to specified format and send them to client.
Here's a quick list of things that are basic requirements we'd have to
implement:
- Multi-threading, which is in and of itself a pain in the a**.
- Some sort of queue for messages, rather than hoping the daemon can
send out every message in realtime.
- Ability for clients to register with the daemon (and a place to store
a client list)
- Multiple methods of notification (IRC would be one, XMPP might be a
candidate, and a simple HTTP endpoint would be a must).
Just those basics isn't an easy task, especially considering unless WMF
allocates resources to it the project would be run solely by those who have
enough free time. Also, I wouldn't use memcached as a caching daemon,
primarily because I'm not sure such an application even needs a caching
daemon. All it does is relay messages.
*--*
*Tyler Romeo*
Stevens Institute of Technology, Class of 2015
Major in Computer Science
www.whizkidztech.com | tylerromeo(a)gmail.com