tiddlywiki with lot of node and heavy load.

25 views
Skip to first unread message

gte...@gmail.com

unread,
Sep 18, 2007, 4:51:55 PM9/18/07
to TiddlyWiki
Hi, I recently found out about tiddlywiki when I searching for a Wiki
engine for my company.

After checking out other wiki engine, I am very impress with the speed
and ease of use of tiddlywiki. However. I have 1 major question.

* Can tiddlywiki handle thousand of node? or does anyone have any
experience with a tiddlywiki that have thousand of node? what will be
the filesize in order for tiddlywiki to slow down?

Thanks.
GT

Dave Gifford - http://www.giffmex.org/

unread,
Sep 18, 2007, 5:40:25 PM9/18/07
to TiddlyWiki
GT

I have a TW with 3300 entries (a small Mexican seminary library). What
slows down is the generation of large foreachtiddler indexes. But data
entry and use doesn't slow down that I have noticed.

On my tutorial I have tips to reduce the possibility of slowness on
large files:
http://www.giffmex.org/twfortherestofus.html#%5B%5BTips%20for%20speeding%20up%20performance%20on%20large%20TiddlyWikis%5D%5D

HTH

Dave Gifford

gtpek

unread,
Sep 19, 2007, 1:33:35 AM9/19/07
to TiddlyWiki
Hi Dave,
Super thank for your reply.

Can I check, for your database with 3300 entries, around how big is
the file and also, I am assuming have attachment (or picture). In
total around how big is your database?

Just need to have a feel before committing it as a wiki engine. I am
using dokuwiki now. Seem good. but I super love the interface of
tiddlywiki. If the back engine is able to handle higher load, then
tiddlywiki is my choice.

Thanks again for your help.
GT

On Sep 19, 5:40 am, "Dave Gifford - http://www.giffmex.org/"


<g...@giffmex.org> wrote:
> GT
>
> I have a TW with 3300 entries (a small Mexican seminary library). What
> slows down is the generation of large foreachtiddler indexes. But data
> entry and use doesn't slow down that I have noticed.
>
> On my tutorial I have tips to reduce the possibility of slowness on

> large files:http://www.giffmex.org/twfortherestofus.html#%5B%5BTips%20for%20speed...
>
> HTH
>
> Dave Gifford

schilke

unread,
Sep 19, 2007, 4:56:24 AM9/19/07
to TiddlyWiki
> also, I am assuming have attachment (or picture)

if you mean "included binary files": there's a possibility to include
binaries directly into the file - but AFAIK this only makes sense for
very small files.
Usually you would either link to or embed attachments, images and
media like you would with regular HTML (TW is a html file in the
end...)

> If the back engine is able to handle higher load, then
> tiddlywiki is my choice

you could consider using Udo Borkowski's "IncludePlugin"
http://tiddlywiki.abego-software.de/#IncludePlugin
which lets you use a "main" TW and include other TW's (local and/or
remote). This will improve performance dramatically - downside: you
can't edit tiddlers of included files. You would have to open them
seperately for editing/deleting contents.

HTH

--
schilke

Udo Borkowski

unread,
Sep 19, 2007, 5:53:37 AM9/19/07
to Tiddl...@googlegroups.com
you could consider using Udo Borkowski's "IncludePlugin"
http://tiddlywiki.abego-software.de/#IncludePlugin
which lets you use a "main" TW and include other TW's (local and/or
remote). This will improve performance dramatically - downside: you
can't edit tiddlers of included files. You would have to open them
seperately for editing/deleting contents.

Just an addition: for easier editing included tiddlers you may try out the editIncludedTiddler command (located at http://tiddlywiki.abego-software.de/experimental/abego.editIncludedTiddlerCommand-src.js)

To use it copy the text of the file into a new "systemConfig" tiddler. Then edit your ViewTemplate tiddler and add "editIncludedTiddler" to the toolbar definition:

<div class='toolbar' macro='toolbar closeTiddler closeOthers +editTiddler editIncludedTiddler permalink references jump'></div>

This will add a "goto" command to the toolbar above the tiddler. When you click the "goto" button you can then be edit the included tiddlers directly (in a separate browser tab/window).


Udo

----------
Udo Borkowski
http://www.abego-software.de

schilke

unread,
Sep 19, 2007, 6:35:02 AM9/19/07
to TiddlyWiki
> for easier editing included tiddlers you may try out the
> editIncludedTiddler command

huh, nice ;)
I recently wanted to ask about that because without any tweaks it's
not easy to find out which file the tiddler resides in (if you use
more than one included file).
However there's one question left I wanted to ask: is it possible to
display the corresponding file name inside the tiddler? Be aware that
I might ask further questions if you say yes... (e.g. how to create a
toolbar macro to launch the file in an external application...)

thanks.

--
schilke

Udo Borkowski

unread,
Sep 20, 2007, 3:46:26 PM9/20/07
to Tiddl...@googlegroups.com


... is it possible to

display the corresponding file name inside the tiddler?

Yes.

You may edit your ViewTemplate and add a line like this:
<div class='subtitle' macro='view includeURL'></div>
(e.g. below the "title" line)


Be aware that
I might ask further questions if you say yes... (e.g. how to create a
toolbar macro to launch the file in an external application...)

You can refer to the property "includeURL" of the Tiddler object. It holds the URL to the TiddlyWiki that contains the included Tiddler.

If you want to call an external application to edit the Tiddler I suggest you have a look at the code of the "editIncludedTiddler" command I mentioned above.

Mrown

unread,
Sep 27, 2007, 1:10:35 PM9/27/07
to TiddlyWiki
Hi Udo,
I've successfully used your IncludePlugin to import other
TiddlyWikis. However, when trying to use:

<div class='toolbar' macro='toolbar closeTiddler closeOthers
+editTiddlereditIncludedTiddlerpermalink references jump'></div>

to allow editing, it stops working. Are you sure that this is the
correct line to be added? Thanks.

On Sep 19, 12:53 pm, "Udo Borkowski" <udo.borkow...@googlemail.com>
wrote:


> > you could consider using Udo Borkowski's "IncludePlugin"
> >http://tiddlywiki.abego-software.de/#IncludePlugin
> > which lets you use a "main" TW and include other TW's (local and/or
> > remote). This will improve performance dramatically - downside: you
> > can't edit tiddlers of included files. You would have to open them
> > seperately for editing/deleting contents.
>
> Just an addition: for easier editing included tiddlers you may try out the

> editIncludedTiddler command (located athttp://tiddlywiki.abego-software.de/experimental/abego.editIncludedTi...


> )
>
> To use it copy the text of the file into a new "systemConfig" tiddler. Then
> edit your ViewTemplate tiddler and add "editIncludedTiddler" to the toolbar
> definition:
>
> <div class='toolbar' macro='toolbar closeTiddler closeOthers

> +editTiddlereditIncludedTiddlerpermalink references jump'></div>


>
> This will add a "goto" command to the toolbar above the tiddler. When you
> click the "goto" button you can then be edit the included tiddlers directly
> (in a separate browser tab/window).
>
> Udo
>
> ----------
> Udo Borkowskihttp://www.abego-software.de
>

Udo Borkowski

unread,
Sep 28, 2007, 4:57:40 AM9/28/07
to Tiddl...@googlegroups.com
when trying to use:

<div class='toolbar' macro='toolbar closeTiddler closeOthers
+editTiddlereditIncludedTiddlerpermalink references jump'></div>

to allow editing, it stops working.

It looks like GoggleGroups dropped some spaces here.


Have a look at
    http://tiddlywiki.abego-software.de/index.html#ViewTemplate

This contains the command I suggested. It also contains the line

    <div class='subtitle' macro='view includeURL'></div>

to display the URL of the included TiddlyWiki below the tiddler title, (see http://tiddlywiki.abego-software.de/images/includedURLinViewTemplate.jpg for a screenshot).



If you like you may also display the name of the TW containing the included tiddler in the YourSearch result:

         in the "YourSearchItemTemplate" (shadow) tiddler add:

             <span macro='foundTiddler field includeURL'/></span>&nbsp;-&nbsp;
 
        (e.g. behind the "title" span)

(See http://tiddlywiki.abego-software.de/images/includedURLinYourSearch.jpg for a screenshot and http://tiddlywiki.abego-software.de/index.html#YourSearchItemTemplate for a sample)



Udo

----------
Udo Borkowski
http://www.abego-software.de



Reply all
Reply to author
Forward
0 new messages