News for hackers. Stuff that matters.
Re:SQLite 3.8.0 Release with next-generation query planner by acmecorps on Monday August 26, 2013 @09:54PM (#6281005)
Really? I thought SQLite is for development purpose only. but 1000posts/day? Wow..
Re:SQLite 3.8.0 Release with next-generation query planner by onedognight on Monday August 26, 2013 @11:22PM (#6281279)
> but 1000posts/day? Wow..

While a forum that gets 1000 posts/day is quite active, a database that does an INSERT ever 80s is not even moving.

Re:SQLite 3.8.0 Release with next-generation query planner by vidarh on Tuesday August 27, 2013 @05:28AM (#6282392)
For comparison, 8 years ago I wrote a queuing system that did either in-memory queues, or wrote to sqlite for durability. With a little bit of tuning, the Sqlite queues could handle at the very least hundreds of thousands of messages a day - we never pushed it to it's limit.
Re:SQLite 3.8.0 Release with next-generation query planner by eurleif on Tuesday August 27, 2013 @04:08AM (#6282121)
Presumably there were many SELECTs for every INSERT.
Re:SQLite 3.8.0 Release with next-generation query planner by eksith on Tuesday August 27, 2013 @04:48AM (#6282252)
Yes. Yes there were. :)

We always limited transactions for UPDATES and INSERTs that involved more than one table.

It was quite the learning experience since you do have to think of different ways of working with data. You get to learn very quickly the difference between what like to store vs. what you actually need to store to get a particular functionality. But that turned to being a boon in the end because we got a much simpler forum as a result. Fewer bells and whistles meant users focused on actual discussion and not ancillary, shiny bits and bobs.

Re:SQLite 3.8.0 Release with next-generation query planner by vidarh on Tuesday August 27, 2013 @05:22AM (#6282372)
But on a machine with 2GB of RAM running a forum that small, pretty much none of those selects should ever need to hit disk - it should all pretty much be in the buffer cache, unless there were lots of full text searches of the entire posting history.

EDIT: And that is without any app specific caching.

Re:SQLite 3.8.0 Release with next-generation query planner by Groxx on Tuesday August 27, 2013 @02:20AM (#6281792)
Put simply, you thought wrong. SQLite is one of the most-used pieces of software out there, absolutely including production software. http://www.sqlite.org/mostdeployed.html
Re:SQLite 3.8.0 Release with next-generation query planner by eksith on Monday August 26, 2013 @10:02PM (#6281030)
I should add, that we ran nothing else on the box. Just the forum and it was text only (no image uploads etc...).

Backups were pretty easy. ;)

Re:SQLite 3.8.0 Release with next-generation query planner by corresation on Monday August 26, 2013 @10:08PM (#6281045)
Please clarify "for development purpose only"? SQLite is used in a lot of production software you rely upon daily, and is one of the most robust, useful pieces of code going.

http://www.sqlite.org/famous.html

Now it's an embedded database, which is why leokun's comment is out of place. However you can absolutely drop a queue in front of it, for instance, and serve many "simultaneous" users for a purpose such as a web forum.