]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2005/004786.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2005 / 004786.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Database WAS: out of buffer?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20Database%20WAS%3A%20out%20of%20buffer%3F&In-Reply-To=41F931CE.9090807%40ix.netcom.com">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="004785.html">
11 <LINK REL="Next" HREF="004769.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Database WAS: out of buffer?</H1>
15 <B>Craig McLure</B>
16 <A HREF="mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20Database%20WAS%3A%20out%20of%20buffer%3F&In-Reply-To=41F931CE.9090807%40ix.netcom.com"
17 TITLE="[IRCServices] Database WAS: out of buffer?">Craig at frostycoolslug.com
18 </A><BR>
19 <I>Thu Jan 27 11:05:07 PST 2005</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="004785.html">[IRCServices] Database WAS: out of buffer?
22 </A></li>
23 <LI>Next message: <A HREF="004769.html">[IRCServices] Problem on IRCservices
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#4786">[ date ]</a>
27 <a href="thread.html#4786">[ thread ]</a>
28 <a href="subject.html#4786">[ subject ]</a>
29 <a href="author.html#4786">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>As a note, a 'fairly large userbase' would have to be something like
35 15,000 users.. Our database updates very quickly, and we have over 7,000
36 nicknames registered.
37
38 If you are looking for implementation into a website, we have created
39 code to do just that, but rather than porting the database to MySQL, we
40 have created a 'go-between' between the services structs, and a php
41 script. The pseudoclient opens a socket on 127.0.0.1, and any
42 connections made to it start with an A token, for example, A NICK
43 PASSWORD, the service will then query the users struct, return A OK /
44 FORBIDDEN / INVALID, based on what it finds there :)
45
46 Its a simple system, but works well for us :)
47
48 This may not be what you use XML exporting for, but a lot of people ask
49 about using seperate database archetectures(sp) for services, to make it
50 easier for manipulation from the 'outside', maybe concider coding a
51 pseudo like we have that makes the task easier :)
52
53
54 /****************************************
55 * Craig &quot;FrostyCoolSlug&quot; McLure
56 * <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">Craig at FrostyCoolSlug.com</A>
57 * InspIRCd - <A HREF="http://www.inspircd.org">http://www.inspircd.org</A>
58 * ChatSpike - <A HREF="http://www.chatspike.net">http://www.chatspike.net</A>
59 ****************************************/
60
61 Everett B. Simonds wrote:
62 &gt;<i> I don't really for see the need to embed a whole SQL engine into
63 </I>&gt;<i> services. I have looked at some of the database code in there and I'm
64 </I>&gt;<i> wondering if the system would benefit from having some sort of write
65 </I>&gt;<i> behind log so that services doesn't burn time rewriting the whole
66 </I>&gt;<i> database every time it flushes them out to disk. This would certainly
67 </I>&gt;<i> help those who have a significantly sized user base. This would also
68 </I>&gt;<i> eliminate the need to have two copies of the database on disk while it
69 </I>&gt;<i> writes it out, good for those who might be strapped for disk space.
70 </I>&gt;<i>
71 </I>&gt;<i> If you're going to embed any sort of database option into services, you
72 </I>&gt;<i> might as well use the Berkeley DB system from Sleepy Cat. No need to
73 </I>&gt;<i> get fancy with an SQL parser/optimizer for something like this,
74 </I>&gt;<i> especially when all you're doing is a simple SELECT or INSERT/UPDATE
75 </I>&gt;<i> with no joins.
76 </I>&gt;<i>
77 </I>&gt;<i> Though I'm all for a nice home grown solution as well.
78 </I>&gt;<i>
79 </I>&gt;<i> Kelmar K. Firesun (Bryce Simonds)
80 </I>&gt;<i> Co-admin: dream.esper.net
81 </I>&gt;<i>
82 </I>&gt;<i> Anton Wolkov wrote:
83 </I>&gt;<i>
84 </I>&gt;&gt;<i> a nice feature would be a module (like database/exportxml) that would
85 </I>&gt;&gt;<i> have a parameter, how many minutes to wait between an xml export and a
86 </I>&gt;&gt;<i> parameter for target filename, that would eliminate the need for
87 </I>&gt;&gt;<i> crontab.
88 </I>&gt;&gt;<i> also if your into innovation and all, consider implementing sqlite to
89 </I>&gt;&gt;<i> ircservices, it's so much more expandable and would also make services
90 </I>&gt;&gt;<i> fly on select operations.
91 </I>&gt;&gt;<i> the httpd module is not most frequently used mainly because of it's
92 </I>&gt;&gt;<i> stability issues, it may be a good idea to have an export module for
93 </I>&gt;&gt;<i> html pages and then to serve them over apache, this would also provide
94 </I>&gt;&gt;<i> more options to integrate services to existing websites.
95 </I>&gt;&gt;<i> other nice feature i think would be widely used is the vhost parameter
96 </I>&gt;&gt;<i> for nickserv, it is supported by many popular protocols.
97 </I>&gt;&gt;<i> --
98 </I>&gt;&gt;<i> PHANTOm
99 </I>&gt;&gt;<i> <A HREF="http://www.irc.nix.co.il/">http://www.irc.nix.co.il/</A> -- irc.nix.co.il
100 </I>&gt;&gt;<i> ------------------------------------------------------------------
101 </I>&gt;&gt;<i> To unsubscribe or change your subscription options, visit:
102 </I>&gt;&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
103 </I>&gt;&gt;<i>
104 </I>&gt;<i> ------------------------------------------------------------------
105 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
106 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
107 </I>&gt;<i>
108 </I></PRE>
109
110 <!--endarticle-->
111 <HR>
112 <P><UL>
113 <!--threads-->
114 <LI>Previous message: <A HREF="004785.html">[IRCServices] Database WAS: out of buffer?
115 </A></li>
116 <LI>Next message: <A HREF="004769.html">[IRCServices] Problem on IRCservices
117 </A></li>
118 <LI> <B>Messages sorted by:</B>
119 <a href="date.html#4786">[ date ]</a>
120 <a href="thread.html#4786">[ thread ]</a>
121 <a href="subject.html#4786">[ subject ]</a>
122 <a href="author.html#4786">[ author ]</a>
123 </LI>
124 </UL>
125
126 </body></html>