]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000879.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2000 / 000879.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] cheers. ideas.
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20cheers.%20ideas.&In-Reply-To=000401c036bd%2411e3e240%240100a8c0%40sunnyline.co.za">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000877.html">
11 <LINK REL="Next" HREF="000881.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] cheers. ideas.</H1>
15 <B>&amp;quot</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20cheers.%20ideas.&In-Reply-To=000401c036bd%2411e3e240%240100a8c0%40sunnyline.co.za"
17 TITLE="[IRCServices] cheers. ideas.">&amp;quot
18 </A><BR>
19 <I>Sun Oct 15 10:15:11 PDT 2000</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000877.html">[IRCServices] cheers. ideas.
22 </A></li>
23 <LI>Next message: <A HREF="000881.html">[IRCServices] cheers. ideas.
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#879">[ date ]</a>
27 <a href="thread.html#879">[ thread ]</a>
28 <a href="subject.html#879">[ subject ]</a>
29 <a href="author.html#879">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i> &gt; Services is a READ ONCE, WRITE MANY application. If you make changes to
35 </I>&gt;<i> the
36 </I>&gt;<i> &gt; data in the underlying datastore, be it a database, binary file or text
37 </I>&gt;<i> &gt; file, the changes would be lost at the next database save.
38 </I>&gt;<i>
39 </I>&gt;<i> *shrugs*. Andrew, it will be lost because of the way data is CURRENTLY
40 </I>&gt;<i> saved in the database. Do you mean to tell me now that if I have a SQL
41 </I>&gt;<i> database, access the database from two applications, and update the
42 </I>&gt;<i> information from one. Do you want to tell me the information
43 </I>&gt;<i> change is not
44 </I>&gt;<i> going to reflect in the second application? Maybe not if you dont ask for
45 </I>&gt;<i> it again, but SURE the information IS going to be there at the next SELECT
46 </I>&gt;<i> from the database. Which is more than adequate in the way
47 </I>&gt;<i> Services needs to
48 </I>&gt;<i> retrieve its information from the databases.
49 </I>
50 I was referring to the question/suggestion of allowing other applications to
51 update the database themselves. Those changes would be lost.
52
53 &gt;<i> &gt; Services would require a lot of work to make it support proper
54 </I>&gt;<i> querying of
55 </I>&gt;<i> a
56 </I>&gt;<i> &gt; database. The performance hit services would take would outweigh the
57 </I>&gt;<i> benefit
58 </I>&gt;<i> &gt; imho. If one were to do it properly, with multiple threads loading only
59 </I>&gt;<i> the
60 </I>&gt;<i> &gt; information needed to service the users and channels currently online,
61 </I>&gt;<i> &gt; things would definately be better. However, let's be honest,
62 </I>&gt;<i> this requires
63 </I>&gt;<i> a
64 </I>&gt;<i> &gt; lot of developement, skills and time.
65 </I>&gt;<i>
66 </I>&gt;<i> Once again. How can you talk about the performance WITHOUT bothering to
67 </I>&gt;<i> test this? Don't rub of a suggestion / idea just because you are
68 </I>&gt;<i> not sure.
69 </I>&gt;<i> I made my first post, I've shown you my results. I ask again, do you have
70 </I>&gt;<i> similar results for the databases currently in use? No, I didn't
71 </I>&gt;<i> think so.
72 </I>
73 I'm talking from indirect experience with other systems that use this
74 approach. If you're so sure of the benefits, please feel free to implement
75 them. I'm just stating what I think with regard to the time and resources at
76 my disposal.
77
78 &gt;<i> &gt; What we should focus on is writing an interface for Services that allows
79 </I>&gt;<i> &gt; external apps to communicate with it.
80 </I>&gt;<i>
81 </I>&gt;<i> What we should be focusing on, is to analyse services, and find
82 </I>&gt;<i> out EXACTLY
83 </I>&gt;<i> WHAT and WHERE the bottlenecks in services are. Sure, the databases might
84 </I>&gt;<i> be one of them, but wouldn't it be ALLOT easier if we know WHERE in the
85 </I>&gt;<i> databases the problem lies? For one, what would happen if you created an
86 </I>&gt;<i> index on the databases for one thing....
87 </I>
88 I have already done profiling on a 10'000 user network. Improving findnick()
89 would make a huge difference in terms of performance. I hope to make these
90 changes in the near future - again, as time permits.
91
92 &gt;<i> &gt; Back to your point about Brasnet, 98MB is a lot. However, it's
93 </I>&gt;<i> not totally
94 </I>&gt;<i> &gt; unreasonable. The thing I'd guess that is really taking a hit
95 </I>&gt;<i> is the CPU.
96 </I>&gt;<i> &gt; The algorithms were never meant to handle so much data. I am definately
97 </I>&gt;<i> &gt; looking to improve the key ones.
98 </I>&gt;<i>
99 </I>&gt;<i> &gt;From a SQL based view, its bizzare, sorry. Once again aswell,
100 </I>&gt;<i> it wont be a
101 </I>&gt;<i> bottle neck on the CPU either. But hey, what do I know...
102 </I>
103 But the fact is that we currently have a flatfile database and that
104 improving the lookup functions currently in use would require a lot less
105 effort and time than implementing proper RDMBS support.
106
107 Andrew
108
109
110 ---------------------------------------------------------------
111 To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
112 with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
113
114
115 </PRE>
116
117 <!--endarticle-->
118 <HR>
119 <P><UL>
120 <!--threads-->
121 <LI>Previous message: <A HREF="000877.html">[IRCServices] cheers. ideas.
122 </A></li>
123 <LI>Next message: <A HREF="000881.html">[IRCServices] cheers. ideas.
124 </A></li>
125 <LI> <B>Messages sorted by:</B>
126 <a href="date.html#879">[ date ]</a>
127 <a href="thread.html#879">[ thread ]</a>
128 <a href="subject.html#879">[ subject ]</a>
129 <a href="author.html#879">[ author ]</a>
130 </LI>
131 </UL>
132
133 </body></html>