New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Yes with much lower memory consumption.
Yes. Hostgator shared hosting allow upto 250k inode limits. But moving to another host is very simple if its flat-file based.
Well interesting discussion here http://serverfault.com/questions/98235/how-many-files-in-a-directory-is-too-many-downloading-data-from-net
I always know the filename and not doing glob every time since we use an index file.
Interested to know how you implement the search? Do you use a web service, or a web app?
This is the biggest weakness being flat-file based, currently it only can search the title and the tags for performance reason. Currently if we need content search as well, we need to use third-party services like Google CSE.
But perhaps we can implemented content search as well in the future. How? example: when saving the content as .md it should also save the content to some kind of json encoded file, and use the filename as the key etc. later we just need to search those file. But it will take more server resources.
Thanks for sharing that.
Search is hard, not only the corpus needs to be tokenized, stemmed, you may want to search by synonyms, support exclusion, various strategy for the rank. That is why Lucene/Solr/ElasticSearch are invented to do that.
My colleague uses SwiftType, and quite happy about its performance and accuracy.
Yes but for flat-file based we just need simple searching. Swiftype? thanks, will look into it.
If they use CentOS 7 (and follow cPanel's configuration recommendations), inode limits aren't a concern.
Otherwise, default limit is 100k inodes.
Take a look: https://www.petekeen.net/full-text-search-with-whistlepig
Any flt file blog based on BASH? :P
you're*
You could use socat to open a listener and process requests using bash, should be fast as hell. But you can write apps using bash as CGI too.
flat file*
@spellcheckguy Hey thanks dic!
You know, I like small things :P
I may work on something as stupid as that on weekends :P
I thought the same...
bashblog?
Cool but it is a static site generator. I think that @netomx was talking about a dynamic blog with processing being made using bash and with flat files as a database. Something good to host on a small router without loosing dynamic capabilities and keeping the resource usage pretty low.
Thanks, will check it out.