linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* creating live virtual files by concatenation
@ 2006-02-25 14:37 Maciej Soltysiak
  2006-02-25 15:30 ` Jan Engelhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Maciej Soltysiak @ 2006-02-25 14:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: reiserfs-list

Hello!

I have this idea about creating sort of a virtual file.

Let us say I have three text files that contain javascript code:
tooltip.js
banner.js
foo.js

Now let us say I am creating sort of a virtual text file (code.js)
that is a live-concatenation of these files:
# concatenate tooltip.js banner.js foo.js code.js

Note I am not talking about the cat(1) utility. I am thinking of
code.js be always a live concatenated version of these three, so when
I modify one file, the live-version is also modified.

What puprose I might have? Network-related. Say, I have an HTML file
that includes these three files in its code.

When a browser downloads the HTML file it will then create three threads
to download each of those javascript files.

If I had a live-concatenated file, I could reference it in the HTML file
so that the browser does not have to download three files but just one.

This would surely reduce network overhead of downloading the same amount
of data but within just one connection, reduce resource usage on the client
and possibly (depending on implementation) reduce the cost of accessing
three individual files on the server.

I am CC'ing reiserfs-list because Reiser4 would seem to be the most
robust filesystem that could have it done.

Any thoughts about the idea itself?
Would be nice if this idea could inspire some talented hackers here and there.

Best Regards,
Maciej



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-02-27 20:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-25 14:37 creating live virtual files by concatenation Maciej Soltysiak
2006-02-25 15:30 ` Jan Engelhardt
2006-02-27 19:52   ` Yoanis Gil Delgado
2006-02-25 15:35 ` Jesper Juhl
2006-02-25 17:15   ` Maciej Soltysiak
2006-02-25 18:40     ` Rik van Riel
2006-02-25 18:52       ` Jesper Juhl
2006-02-25 19:33         ` Re[2]: " Maciej Soltysiak
2006-02-25 22:30           ` Peter Foldiak
2006-02-25 22:38             ` Rik van Riel
2006-02-25 23:23               ` Peter Foldiak
2006-02-27 20:43               ` Hans Reiser
2006-02-27 20:39           ` Hans Reiser
2006-02-27 20:45             ` Jesper Juhl
2006-02-25 17:40 ` Peter Foldiak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).